bding 2 months ago
parent
commit
e7c08fcda9
1 changed files with 5 additions and 4 deletions
  1. 5 4
      reportPages/keyCompany/keyCompany.vue

+ 5 - 4
reportPages/keyCompany/keyCompany.vue

@@ -36,7 +36,7 @@
                     :class="['subject-item', 'text_oneLine', item.ListSubject.length < 3 && 'subject-item-top-border']"
                     @click="positionSubject(key)"
                     v-for="key in item.ListSubject"
-                    :key="key.IndustrialSubjectId"
+                    :key="key.Md5String"
                   >
                     {{ key.SubjectName }}
                     <image v-if="key.IsNew" class="icon_subject" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/new_subject.png"></image>
@@ -53,9 +53,9 @@
                 <mp-html :content="strFontSize(item.BodyChartSummary)" />
                 <view class="li-list">
                   <view class="li-item" v-for="key in item.List" :key="key.IndustrialSubjectId">
-                    <view :id="'subject' + key.IndustrialSubjectId" class="li-subject">
+                    <view :id="'subject' + key.Md5String" class="li-subject">
                       <view class="item-name">
-                        <text style="display: inline-block; vertical-align: middle; font-weight: 600">{{ key.SubjectName }}</text>
+                        <text style="display: inline-block; vertical-align: middle; font-weight: 600">{{ key.ShowName }}</text>
                         <image v-if="key.IsNew" src="https://hzstatic.hzinsights.com/cygx/icon/new_report.png"></image>
                       </view>
                       <text class="itel-label" v-for="val in key.CompanyLabel" :key="val"># {{ val }}</text>
@@ -162,7 +162,7 @@ export default {
     },
     // 锚点
     positionSubject: Throttle(function (item) {
-      let className = `#subject${item.IndustrialSubjectId}`;
+      let className = `#subject${item.Md5String}`;
       uni
         .createSelectorQuery()
         .select(className)
@@ -184,6 +184,7 @@ export default {
       const res = Reports.reportClickHistory({
         ArticleId: this.reportDetail.ArticleId,
         IndustrialSubjectId: item.IndustrialSubjectId,
+        IndustrialManagementId: item.IndustrialManagementId,
       });
     }),
     // 公司综述报告请