Procházet zdrojové kódy

feature_20260514_二次拜访埋点-编辑-排面数保存

zhujindu před 2 týdny
rodič
revize
dee0484ee6

+ 11 - 0
src/views/historicalVisit/perfectStore.vue

@@ -295,6 +295,7 @@ import {
   getPhotoTypeList1,
   getPhotoTypeList1,
   insertVisitRemark,
   insertVisitRemark,
   getListHistoryList,
   getListHistoryList,
+  buryingPoint,
 } from '@/api/index';
 } from '@/api/index';
 import { getDictOption } from '@/api/index';
 import { getDictOption } from '@/api/index';
 import { ImagePreview } from 'vant';
 import { ImagePreview } from 'vant';
@@ -403,6 +404,15 @@ export default {
           } else {
           } else {
             LCshow = false;
             LCshow = false;
           }
           }
+          buryingPoint({
+            systemModel: '拜访页',
+            buryingPointType: 11,
+            buryingPointValue: `${this.list.storeName}(${
+              this.$route.query.storeCode || this.list.storeCode
+            })`,
+            buryingPointName: '编辑陈列照',
+            buryingPointPosition: '拜访页',
+          });
           this.$router.push({
           this.$router.push({
             path: '/storeVisitpage',
             path: '/storeVisitpage',
             query: {
             query: {
@@ -527,6 +537,7 @@ export default {
             storeGroupId: this.list.storeGroupId,
             storeGroupId: this.list.storeGroupId,
             insert: 0,
             insert: 0,
             source: 'historicalDetails',
             source: 'historicalDetails',
+            storeName: this.list.storeName,
           },
           },
         });
         });
       } else {
       } else {

+ 8 - 0
src/views/historicalVisit/perfectStoreTask.vue

@@ -214,6 +214,7 @@ import {
   getVisitsDetailPerfectStore,
   getVisitsDetailPerfectStore,
   getVisitsDetailPerfectStoreByTaskId,
   getVisitsDetailPerfectStoreByTaskId,
   updateDisplayRewardCaseSkuCount,
   updateDisplayRewardCaseSkuCount,
+  buryingPoint,
 } from '@/api/index';
 } from '@/api/index';
 import taskTips from '@/views/deviceWithin/taskTips';
 import taskTips from '@/views/deviceWithin/taskTips';
 import deleteUploadImg from '@/components/deleteUploadImgTaskPhoto';
 import deleteUploadImg from '@/components/deleteUploadImgTaskPhoto';
@@ -405,6 +406,13 @@ export default {
         updateDisplayRewardCaseSkuCount(this.editCountArr).then((res) => {
         updateDisplayRewardCaseSkuCount(this.editCountArr).then((res) => {
           if (res.code == 200) {
           if (res.code == 200) {
             this.$toast('修改成功');
             this.$toast('修改成功');
+            buryingPoint({
+              systemModel: '拜访页',
+              buryingPointType: 11,
+              buryingPointValue: `${this.$route.query.storeName}(${this.$route.query.storeCode})`,
+              buryingPointName: '修改排面数',
+              buryingPointPosition: '拜访页',
+            });
             this.getVisitsDetailFun();
             this.getVisitsDetailFun();
           } else {
           } else {
             this.$toast(res.message || '修改失败');
             this.$toast(res.message || '修改失败');