瀏覽代碼

计划外列表页面刷新优化

zhujindu 10 月之前
父節點
當前提交
08e2bbaa9b
共有 1 個文件被更改,包括 6 次插入5 次删除
  1. 6 5
      src/views/deviceOutside/index.vue

+ 6 - 5
src/views/deviceOutside/index.vue

@@ -1501,11 +1501,12 @@ export default {
         accuracy: res.accuracy,
       });
       // 进入拜访之前先刷新页面
-      if (this.tabVal == 1) {
-        this.getUserOutPlaListFun();
-      } else {
-        this.getUserOrgStoreList();
-      }
+      store.dispatch('setDeviceOutsidePage', true);
+      // if (this.tabVal == 1) {
+      //   this.getUserOutPlaListFun();
+      // } else {
+      //   this.getUserOrgStoreList();
+      // }
       this.$router.push({
         path: '/suishenbangOutstoreVisit',
         query: {