Ver código fonte

日报分享添加埋点

zhujindu 4 meses atrás
pai
commit
3a62a66b25

+ 8 - 0
src/views/week/daily.vue

@@ -453,6 +453,7 @@ import {
   getReportInfo,
   getDetailById,
   tsContents,
+  buryingPoint,
 } from '@/api/index';
 import visitedRealTime from '@/views/componentsTarget/visitedRealTime';
 import createStoreBJ from '@/views/componentsTarget/createStoreBJ';
@@ -757,6 +758,13 @@ export default {
                     className: 'dailyShareBtn',
                   })
                   .then(() => {
+                    buryingPoint({
+                      systemModel: '日报审核',
+                      buryingPointType: 2,
+                      buryingPointValue: this.$route.query.reportId,
+                      buryingPointName: '日报分享',
+                      buryingPointPosition: '日报提交',
+                    });
                     // 跳转历史汇报详情 分享汇报
                     this.$router.replace({
                       path: 'dailyDetails',

+ 2 - 2
src/views/week/dailyDetails.vue

@@ -683,8 +683,8 @@ export default {
         systemModel: '日报审核',
         buryingPointType: 2,
         buryingPointValue: this.$route.query.reportId,
-        buryingPointName: '日报详情',
-        buryingPointPosition: '日报',
+        buryingPointName: '日报分享',
+        buryingPointPosition: '日报详情',
       });
       this.urlList = [];
       this.reportRemarksIndex = index;

+ 2 - 2
src/views/week/dailyHistoricalDetails.vue

@@ -737,8 +737,8 @@ export default {
         systemModel: '日报审核',
         buryingPointType: 2,
         buryingPointValue: this.$route.query.reportId,
-        buryingPointName: '日报详情',
-        buryingPointPosition: '日报',
+        buryingPointName: '日报分享',
+        buryingPointPosition: '日报详情',
       });
       this.urlList = [];
       this.reportRemarksIndex = index;