From 63ae1c62857cde7d577197a52d6e37fbc87d4653 Mon Sep 17 00:00:00 2001 From: "396572590@qq.com" Date: Thu, 14 Jul 2022 17:50:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=2056562=20?= =?UTF-8?q?=E6=89=80=E6=9C=89=E6=B5=81=E7=A8=8B=20=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=95=B0=E6=8D=AE=20=E7=AC=AC=E4=BA=8C?= =?UTF-8?q?=E6=AC=A1=E8=BF=9B=E5=85=A5=E7=9A=84=E6=97=B6=E5=80=99=20?= =?UTF-8?q?=E5=85=A8=E9=83=A8=E9=83=BD=E4=B8=A2=E5=A4=B1=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/components/ProcessHeader.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/pages/processCenter/pages/components/ProcessHeader.vue b/src/pages/processCenter/pages/components/ProcessHeader.vue index 3aafff9df..510c6e2a4 100644 --- a/src/pages/processCenter/pages/components/ProcessHeader.vue +++ b/src/pages/processCenter/pages/components/ProcessHeader.vue @@ -36,12 +36,23 @@ export default { methods: { handleBack() { if (this.$store.state.detailMap !== '') { - this.$router.push({ - path: this.$store.state.detailMap, - query: { + let queryParam = {} + if(this.$route.query.bpnId){ + queryParam = { + bpnId: this.$route.query.bpnId, prcNum: this.$store.getters.getHandleInfo.prcNum || '', tabsName: this.$store.getters.getHandleInfo.tabsName || '' } + }else { + queryParam = { + bpnId: this.$route.query.bpnId, + prcNum: this.$store.getters.getHandleInfo.prcNum || '', + tabsName: this.$store.getters.getHandleInfo.tabsName || '' + } + } + this.$router.push({ + path: this.$store.state.detailMap, + query: queryParam }) this.$store.commit('setDetailMap', '') } else {