Pārlūkot izejas kodu

GZ:工装店铺 直接进入拜访

zhujindu 7 mēneši atpakaļ
vecāks
revīzija
fea0471d0e

+ 7 - 7
src/views/deviceOutside/index.vue

@@ -1337,13 +1337,13 @@ export default {
           location.lon
         ).toFixed(2);
         // GZ:工装店铺 直接进入拜访
-        if (localStorage.getItem('postType') == 'GZ') {
-          localStorage.setItem('startTime', new Date());
-          localStorage.setItem('ORGName', val.deptName);
-          localStorage.setItem('chainNameR', val.storeName);
-          this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
-          return;
-        }
+        // if (localStorage.getItem('postType') == 'GZ') {
+        //   localStorage.setItem('startTime', new Date());
+        //   localStorage.setItem('ORGName', val.deptName);
+        //   localStorage.setItem('chainNameR', val.storeName);
+        //   this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
+        //   return;
+        // }
         // 门店校验 地址不通过
         if (response.code != 200) {
           // updateAddress : ,1:同城AB+金牌,去修改地址;2:非金牌店铺,非同城店铺偏差过大不允许拜访,可以重置定位;0非金牌店铺,非同城店铺 位置信息不存在 可以继续拜访

+ 7 - 7
src/views/deviceOutside/rangeStore.vue

@@ -1824,13 +1824,13 @@ export default {
                                 .twoPointSum(location.lat, location.lon, location.lat, location.lon)
                                 .toFixed(2);
                               // GZ:工装店铺 直接进入拜访
-                              if (localStorage.getItem('postType') == 'GZ') {
-                                localStorage.setItem('startTime', new Date());
-                                localStorage.setItem('ORGName', val.deptName);
-                                localStorage.setItem('chainNameR', val.storeName);
-                                this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
-                                return;
-                              }
+                              // if (localStorage.getItem('postType') == 'GZ') {
+                              //   localStorage.setItem('startTime', new Date());
+                              //   localStorage.setItem('ORGName', val.deptName);
+                              //   localStorage.setItem('chainNameR', val.storeName);
+                              //   this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
+                              //   return;
+                              // }
                               // 门店编码校验门店地址不通过
                               if (response.code != 200) {
                                 // updateAddress : ,1:同城AB+金牌,去修改地址;2:非金牌店铺,非同城店铺偏差过大不允许拜访,可以重置定位;0非金牌店铺,非同城店铺 位置信息不存在 可以继续拜访

+ 7 - 7
src/views/deviceOutside/topStore.vue

@@ -1715,13 +1715,13 @@ export default {
           location.lon
         ).toFixed(2);
         // GZ:工装店铺 直接进入拜访
-        if (localStorage.getItem('postType') == 'GZ') {
-          localStorage.setItem('startTime', new Date());
-          localStorage.setItem('ORGName', val.deptName);
-          localStorage.setItem('chainNameR', val.storeName);
-          this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
-          return;
-        }
+        // if (localStorage.getItem('postType') == 'GZ') {
+        //   localStorage.setItem('startTime', new Date());
+        //   localStorage.setItem('ORGName', val.deptName);
+        //   localStorage.setItem('chainNameR', val.storeName);
+        //   this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
+        //   return;
+        // }
         // 门店校验 地址不通过
         if (response.code != 200) {
           // updateAddress : ,1:同城AB+金牌,去修改地址;2:非金牌店铺,非同城店铺偏差过大不允许拜访,可以重置定位;0非金牌店铺,非同城店铺 位置信息不存在 可以继续拜访

+ 7 - 7
src/views/deviceWithin/index.vue

@@ -868,13 +868,13 @@ export default {
           location.lon
         ).toFixed(2);
         // GZ:工装店铺 直接进入拜访
-        if (localStorage.getItem('postType') == 'GZ') {
-          localStorage.setItem('startTime', new Date());
-          localStorage.setItem('ORGName', val.deptName);
-          localStorage.setItem('chainNameR', val.storeName);
-          this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
-          return;
-        }
+        // if (localStorage.getItem('postType') == 'GZ') {
+        //   localStorage.setItem('startTime', new Date());
+        //   localStorage.setItem('ORGName', val.deptName);
+        //   localStorage.setItem('chainNameR', val.storeName);
+        //   this.toSuishenbangOutstoreVisit(res, val, location, PointSumval);
+        //   return;
+        // }
         // 门店校验 地址不通过
         if (response.code != 200) {
           // updateAddress : ,1:同城AB+金牌,去修改地址;2:非金牌店铺,非同城店铺偏差过大不允许拜访,可以重置定位;0非金牌店铺,非同城店铺 位置信息不存在 可以继续拜访

+ 7 - 7
src/views/home/hintTabPage/noVisit.vue

@@ -216,13 +216,13 @@ export default {
         this.TXisBD.lon
       ).toFixed(2);
       // GZ:工装店铺 直接进入拜访
-      if (localStorage.getItem('postType') == 'GZ') {
-        localStorage.setItem('startTime', new Date());
-        localStorage.setItem('ORGName', this.activatStoreVal.deptName);
-        localStorage.setItem('chainNameR', this.activatStoreVal.storeName);
-        this.toSuishenbangOutstoreVisit(PointSumval);
-        return;
-      }
+      // if (localStorage.getItem('postType') == 'GZ') {
+      //   localStorage.setItem('startTime', new Date());
+      //   localStorage.setItem('ORGName', this.activatStoreVal.deptName);
+      //   localStorage.setItem('chainNameR', this.activatStoreVal.storeName);
+      //   this.toSuishenbangOutstoreVisit(PointSumval);
+      //   return;
+      // }
       checkStoreAddressByStoreCode({
         storeCode: this.activatStoreVal.storeCode,
         lon: this.TXisBD.lon,