From bb4d94b34738ef34edbe96721db730706382d6eb Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Mon, 13 May 2024 16:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=94=BF=E7=AD=96?= =?UTF-8?q?=E6=B3=95=E8=A7=84=E5=BA=93=E2=80=94=E2=80=94=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E9=A1=B9=E7=AE=A1=E6=8E=A7=20=E4=BA=8B=E4=B8=9A=E9=83=A8?= =?UTF-8?q?=E3=80=81=E4=BA=A7=E5=93=81=E8=A7=84=E5=88=92=E9=83=A8=20?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E8=BF=94=E5=9B=9E=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/policyRegulation/problemControl/index.vue | 4 ++++ .../nonConfomity/pages/businessDetails.vue | 7 ++----- .../nonConfomity/pages/productDetails.vue | 9 ++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/policyRegulation/problemControl/index.vue b/src/pages/policyRegulation/problemControl/index.vue index 46e2c122b..aec9b53db 100644 --- a/src/pages/policyRegulation/problemControl/index.vue +++ b/src/pages/policyRegulation/problemControl/index.vue @@ -48,6 +48,10 @@ export default { // this.getActiveName() }, mounted () { + if (this.$route.query.keynoteActiveName) { + this.keynoteActiveName = this.$route.query.keynoteActiveName + this.$router.replace({ query: null }) + } var list = []; const menuList = this.$store.getters.getMenuList; let menuData = []; diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue b/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue index 07f5ea2a8..1db768bb8 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue @@ -381,11 +381,8 @@ export default { this.searchSarAccess() }, back() { - this.$router.push({ - name: 'NonConfomity', - query:{ - activeName:'keynote' - } + this.$router.replace({ + name: 'ProblemControl' }) }, // 清空 查询条件 diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/productDetails.vue b/src/pages/regulatoryRepository/nonConfomity/pages/productDetails.vue index 9ae10eee6..e8dffdbc7 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/productDetails.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/productDetails.vue @@ -567,11 +567,10 @@ export default { this.getTableBtn() }, back () { - this.$router.push({ - name: 'NonConfomity', - query:{ - activeName:'keynote', - keynoteActiveName:'product' + this.$router.replace({ + name: 'ProblemControl', + query: { + keynoteActiveName: 'product' } }) },