bding 2 yıl önce
ebeveyn
işleme
2abc6d6008

+ 2 - 0
activityPages/specialResearchPage/specialResearchPage.vue

@@ -204,6 +204,8 @@ export default {
     this.getActivityList();
   },
   onShow() {
+    this.$store.commit("setRouterReport", "专项调研列表");
+    this.$store.commit("setRouterActivity", "专项调研列表");
     this.$store.dispatch("checkHandle");
   },
   /* 触底 */

+ 2 - 2
mixin/index.js

@@ -55,9 +55,9 @@ export default {
       }
     },
     // 埋点
-    async getRecordTracking(PageRoter, payload = {}) {
+    async getRecordTracking(PageRouter, payload = {}) {
       const res = await User.getUserTracking({
-        PageRoter,
+        PageRouter,
         ...payload,
       });
     },

+ 2 - 1
pages/activity/activity.vue

@@ -329,9 +329,10 @@ export default {
     this.initNavBar();
   },
   async onShow() {
+    this.$store.commit("setRouterReport", "活动");
+    this.$store.commit("setRouterActivity", "活动");
     await this.$store.dispatch("checkHandle", "noGO");
     this.getRecordTracking("活动");
-
   },
   /** 用户点击分享 */
   onShareAppMessage: function (res) {

+ 7 - 7
pages/purchaser/purchaser.vue

@@ -24,7 +24,7 @@
       </view>
       <view class="theme-content">
         <view class="theme-ul" v-for="item in themeNewList" :key="item.IndustrialManagementId">
-          <text class="text_oneLine" @click="themeDetails(item)"> # {{ item.IndustryName }}</text>
+          <text class="text_oneLine" @click="themeDetails(item, '近期主题更新')"> # {{ item.IndustryName }}</text>
           <image v-if="item.IsHot" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/hot_report.png"></image>
         </view>
       </view>
@@ -48,7 +48,7 @@
             </text>
             <view>
               <text @click="goDetail(item)" style="display: inline">{{ item.Title }}</text>
-              <text class="li-industry" @click="themeDetails(item)"> # {{ item.IndustryName }} </text>
+              <text class="li-industry" @click="themeDetails(item, '月度收藏榜')"> # {{ item.IndustryName }} </text>
             </view>
           </view>
           <view class="li-item li-bottom" style="color: #999999">
@@ -75,7 +75,7 @@
       <view class="content-ul" v-if="hotList.length && tagActive == '主题'">
         <view class="hot-li" v-for="(item, index) in hotList" :key="item.IndustrialManagementId">
           <view class="li-item hot-item">
-            <view style="display: flex" class="text_oneLine hot-new" @click="themeDetails(item)">
+            <view style="display: flex" class="text_oneLine hot-new" @click="themeDetails(item, '主题热度榜')">
               <text class="li-serial serial-number" :style="{ background: serialBackground(index) }">
                 {{ index + 1 }}
               </text>
@@ -84,7 +84,7 @@
             </view>
             <text :class="item.IsFollw ? 'cancel-attention' : 'attention'" @click="isAttention(item, '主题')">{{ item.IsFollw ? "取消关注" : "+ 关注" }}</text>
           </view>
-          <view class="li-item read-more" @click="themeDetails(item)">
+          <view class="li-item read-more" @click="themeDetails(item, '主题热度榜')">
             <text class="text-box text_oneLine" v-for="val in item.IndustrialSubjectList" :key="val.IndustrialSubjectId">
               {{ val.SubjectName }}
             </text>
@@ -104,7 +104,7 @@
               </text>
               <text :class="item.IsFollw ? 'cancel-attention' : 'attention'" @click="isAttention(item, '专家')">{{ item.IsFollw ? "取消关注" : "+ 关注" }}</text>
             </view>
-            <text @click="themeDetails(val)" class="kol-text text_oneLine" v-for="val in item.List" :key="val.IndustrialManagementId"> # {{ val.IndustryName }} </text>
+            <text @click="themeDetails(val, 'KOL榜')" class="kol-text text_oneLine" v-for="val in item.List" :key="val.IndustrialManagementId"> # {{ val.IndustryName }} </text>
           </view>
         </view>
       </view>
@@ -294,8 +294,8 @@ export default {
       this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId);
     },
     //去往主题详情
-    themeDetails(item) {
-      this.$store.dispatch("checkHandle", "/reportPages/researchTheme/researchTheme?id=" + item.IndustrialManagementId +'&pageRouter=月度收藏榜');
+    themeDetails(item, source) {
+      this.$store.dispatch("checkHandle", "/reportPages/researchTheme/researchTheme?id=" + item.IndustrialManagementId + "&pageRouter=" + source);
     },
     //计算遍历的颜色
     serialBackground(index) {

+ 1 - 1
reportPages/recentPages/recentPages.vue

@@ -120,7 +120,7 @@ export default {
     },
     //去往主题详情
     themeDetails(item) {
-      this.$store.dispatch("checkHandle", "/reportPages/researchTheme/researchTheme?id=" + item.IndustrialManagementId);
+      this.$store.dispatch("checkHandle", "/reportPages/researchTheme/researchTheme?id=" + item.IndustrialManagementId + "&pageRouter=近期主题更新");
     },
   },
   onLoad(options) {