zhujindu 5 дней назад
Родитель
Сommit
0a7c3edf57
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      src/views/deviceWithin/storeVisit.vue

+ 5 - 0
src/views/deviceWithin/storeVisit.vue

@@ -253,6 +253,7 @@ export default {
     next();
   },
   activated() {
+    console.log(11111);
     // 是否请求任务列表接口
     let getRequestFlage = localStorage.getItem('getRequestFlage');
     if (getRequestFlage != 'true') return;
@@ -391,6 +392,7 @@ export default {
       return Math.round((arrtime2 - arrtime1) / 1000);
     },
     addVisits() {
+      console.log(222);
       var that = this;
       var insert = '';
       var postType = localStorage.getItem('postType');
@@ -472,6 +474,7 @@ export default {
             });
             that.list = [];
             getVisitTasks(params).then((res) => {
+              console.log(333);
               loading2.clear();
               if (res.code == 200) {
                 that.notes = res.data.notes;
@@ -529,6 +532,7 @@ export default {
               forbidClick: true,
             });
             that.list = [];
+            console.log(444);
             getVisitTasks(params).then((res) => {
               loading2.clear();
               if (res.code == 200) {
@@ -561,6 +565,7 @@ export default {
           }
         },
         function (err) {
+          console.log(555);
           if (that.$route.query.type == 'edit') {
             var params = {
               storeId: that.storeId,