ソースを参照

门店列表-进入拜访删除visitSource字段判断

zhujindu 1 年間 前
コミット
7b30e27023

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

@@ -1471,7 +1471,7 @@ export default {
               this.timer = setTimeout(() => {
                 this.flag = true;
               }, 2000);
-              if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
+              if (val.stateString.indexOf('拜访中') != -1) {
                 localStorage.setItem('startTime', new Date());
                 localStorage.setItem('ORGName', val.deptName);
                 localStorage.setItem('chainNameR', val.storeName);
@@ -1735,7 +1735,7 @@ export default {
           this.timer = setTimeout(() => {
             this.flag = true;
           }, 2000);
-          if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
+          if (val.stateString.indexOf('拜访中') != -1) {
             localStorage.setItem('startTime', new Date());
             localStorage.setItem('ORGName', val.deptName);
             localStorage.setItem('chainNameR', val.storeName);

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

@@ -1609,7 +1609,7 @@ export default {
               this.timer = setTimeout(() => {
                 this.flag = true;
               }, 2000);
-              if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
+              if (val.stateString.indexOf('拜访中') != -1) {
                 localStorage.setItem('startTime', new Date());
                 localStorage.setItem('ORGName', val.deptName);
                 localStorage.setItem('chainNameR', val.storeName);

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

@@ -1447,7 +1447,7 @@ export default {
               this.timer = setTimeout(() => {
                 this.flag = true;
               }, 2000);
-              if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
+              if (val.stateString.indexOf('拜访中') != -1) {
                 localStorage.setItem('startTime', new Date());
                 localStorage.setItem('ORGName', val.deptName);
                 localStorage.setItem('chainNameR', val.storeName);
@@ -1880,7 +1880,7 @@ export default {
           this.timer = setTimeout(() => {
             this.flag = true;
           }, 2000);
-          if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
+          if (val.stateString.indexOf('拜访中') != -1) {
             localStorage.setItem('startTime', new Date());
             localStorage.setItem('ORGName', val.deptName);
             localStorage.setItem('chainNameR', val.storeName);

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

@@ -749,7 +749,7 @@ export default {
               that.timer = setTimeout(() => {
                 that.flag = true;
               }, 2000);
-              if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
+              if (val.stateString.indexOf('拜访中') != -1) {
                 that.$router.push({
                   path: '/storeVisitpage',
                   query: {
@@ -1176,7 +1176,7 @@ export default {
           this.timer = setTimeout(() => {
             this.flag = true;
           }, 2000);
-          if (val.stateString.indexOf('拜访中') != -1 && val.visitSource == 1) {
+          if (val.stateString.indexOf('拜访中') != -1) {
             localStorage.setItem('startTime', new Date());
             localStorage.setItem('ORGName', val.deptName);
             localStorage.setItem('chainNameR', val.storeName);