|
@@ -31,7 +31,6 @@
|
|
|
<view :class="['industry-subject', item.ListSubject.length < 3 && 'industry-top-border']">
|
|
|
<view
|
|
|
:class="['subject-item', 'text_oneLine', item.ListSubject.length < 3 && 'subject-item-top-border']"
|
|
|
- class=""
|
|
|
@click="positionSubject(key)"
|
|
|
v-for="key in item.ListSubject"
|
|
|
:key="key.IndustrialSubjectId"
|
|
@@ -121,9 +120,11 @@ export default {
|
|
|
});
|
|
|
if (res.Ret === 200) {
|
|
|
this.reportDetail = res.Data.Detail;
|
|
|
- this.haveData = true;
|
|
|
+ this.haveData = this.reportDetail ? true : false;
|
|
|
this.dataList = res.Data.List;
|
|
|
this.dataListSubject = res.Data.ListPermissionSubject;
|
|
|
+ } else {
|
|
|
+ this.haveData = false;
|
|
|
}
|
|
|
},
|
|
|
// 详细策略报告请
|
|
@@ -139,7 +140,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 锚点
|
|
|
- positionSubject(item) {
|
|
|
+ async positionSubject(item) {
|
|
|
let className = `#subject${item.IndustrialSubjectId}`;
|
|
|
uni
|
|
|
.createSelectorQuery()
|
|
@@ -159,6 +160,10 @@ export default {
|
|
|
.exec();
|
|
|
})
|
|
|
.exec();
|
|
|
+ const res = await Reports.reportClickHistory({
|
|
|
+ ArticleId: this.reportDetail.ArticleId,
|
|
|
+ IndustrialSubjectId: item.IndustrialSubjectId,
|
|
|
+ });
|
|
|
},
|
|
|
// 公司综述报告请
|
|
|
goArticle(id) {
|