From eb98dfe9975b6dffbe31971285ba7dc1cb513484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Tue, 20 Jun 2023 15:40:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=88=A0=E9=99=A4=E5=90=8E=E4=B8=8D=E8=83=BD=E5=86=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/views/phoneView/documentDetails.vue | 10 ++++++++-- .../src/views/phoneView/problemKnowledgeBase.vue | 8 +++++++- jero-web/src/views/phoneView/searchList.vue | 14 +++++++++----- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/jero-web/src/views/phoneView/documentDetails.vue b/jero-web/src/views/phoneView/documentDetails.vue index 38bf80073..54f55a5da 100644 --- a/jero-web/src/views/phoneView/documentDetails.vue +++ b/jero-web/src/views/phoneView/documentDetails.vue @@ -148,7 +148,13 @@ }, methods: { iconClick() { - this.$router.go(-1) + if (this.$route.query.goRouter) { + this.$router.push({ + path: this.$route.query.goRouter + }) + } else { + this.$router.go(-1) + } }, getWdkCollectAndSubscribeInfoByUser() { getAction('/phone/search/getWdkCollectAndSubscribeInfoByUser', { id: this.$route.query.id }).then((res) => { @@ -528,6 +534,6 @@ } .header-right-text-color { - color: #01A0AC!important; + color: #01A0AC !important; } \ No newline at end of file diff --git a/jero-web/src/views/phoneView/problemKnowledgeBase.vue b/jero-web/src/views/phoneView/problemKnowledgeBase.vue index eb75acd8f..586df8389 100644 --- a/jero-web/src/views/phoneView/problemKnowledgeBase.vue +++ b/jero-web/src/views/phoneView/problemKnowledgeBase.vue @@ -207,7 +207,13 @@ } }, iconClick() { - this.$router.go(-1) + if (this.$route.query.goRouter) { + this.$router.push({ + path: this.$route.query.goRouter + }) + } else { + this.$router.go(-1) + } }, viewAdd() { let query = { diff --git a/jero-web/src/views/phoneView/searchList.vue b/jero-web/src/views/phoneView/searchList.vue index 1de911054..ed702c677 100644 --- a/jero-web/src/views/phoneView/searchList.vue +++ b/jero-web/src/views/phoneView/searchList.vue @@ -16,7 +16,7 @@ -
+