Просмотр исходного кода

产品列表去下单添加埋点

zhujindu 1 месяц назад
Родитель
Сommit
6b72f7066e

+ 1 - 0
src/views/deviceOutside/index.vue

@@ -954,6 +954,7 @@ export default {
           detilId: 'a',
           from: 'outPlan',
           storeCode: val.storeCode,
+          storeName: val.storeName,
           showOrderButton: val.showOrderButton,
         },
       });

+ 5 - 5
src/views/deviceOutside/productItem.vue

@@ -160,12 +160,12 @@ export default {
       this.list = this.tabVal == '0' ? this.detail.threeMonthItemList : this.detail.adviceItemList;
     },
     placeOrderFn() {
-      buryingPoint({
-        systemModel: '门店列表',
-        buryingPointType: 6,
-        buryingPointValue: '门店拜访-下单SKU数',
+      this.buryingPoint({
+        systemModel: this.$route.query.from == 'outPlan' ? '计划外' : '计划内',
+        buryingPointType: 1,
+        buryingPointValue: this.$route.query.storeName + '(' + this.$route.query.storeCode + ')',
         buryingPointName: '去下单',
-        buryingPointPosition: '门店ICON',
+        buryingPointPosition: this.$route.query.from == 'outPlan' ? '计划外' : '计划内',
       });
       let loading1 = this.$toast.loading({
         duration: 0,

+ 1 - 0
src/views/deviceWithin/index.vue

@@ -643,6 +643,7 @@ export default {
           detilId: 'a',
           from: 'inPlan',
           storeCode: val.storeCode,
+          storeName: val.storeName,
           showOrderButton: val.showOrderButton,
         },
       });