zhujindu 8 mēneši atpakaļ
vecāks
revīzija
1cab48857b

+ 9 - 1
src/views/agentList/visitHistoryDetail.vue

@@ -295,7 +295,15 @@ export default {
       sessionStorage.setItem('collectionItemList', JSON.stringify(val.collectionItemList));
     },
     onClickLeft() {
-      this.$router.go(-1);
+      // 从代办消息列表来-返回拜访历史列表
+      if (this.$route.query.loginName) {
+        this.$router.push({
+          path: '/infoHistorVisit',
+        });
+      } else {
+        // 从哪里来回哪里去
+        this.$router.go(-1);
+      }
     },
   },
 };

+ 4 - 1
src/views/info/infoHistorVisit.vue

@@ -346,7 +346,10 @@ export default {
       this.onSearch();
     },
     onClickLeft() {
-      this.$router.go(-1);
+      // 有直接从其他系统进入列表,返回时不能上一页
+      this.$router.push({
+        path: '/info',
+      });
     },
     onSearch() {
       this.pageNum = 1;