|
@@ -91,6 +91,7 @@
|
|
|
<script>
|
|
|
import { Reports } from "@/config/api.js";
|
|
|
import statement from "@/reportPages/components/statement.vue";
|
|
|
+import { Throttle } from "@/config/util.js";
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -140,7 +141,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 锚点
|
|
|
- async positionSubject(item) {
|
|
|
+ positionSubject: Throttle(function (item) {
|
|
|
let className = `#subject${item.IndustrialSubjectId}`;
|
|
|
uni
|
|
|
.createSelectorQuery()
|
|
@@ -160,11 +161,11 @@ export default {
|
|
|
.exec();
|
|
|
})
|
|
|
.exec();
|
|
|
- const res = await Reports.reportClickHistory({
|
|
|
+ const res = Reports.reportClickHistory({
|
|
|
ArticleId: this.reportDetail.ArticleId,
|
|
|
IndustrialSubjectId: item.IndustrialSubjectId,
|
|
|
});
|
|
|
- },
|
|
|
+ }),
|
|
|
// 公司综述报告请
|
|
|
goArticle(id) {
|
|
|
this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + id);
|