feat: There is no way the, 56562 所有流程 查看流程数据 第二次进入的时候 全部都丢失数据

This commit is contained in:
396572590@qq.com
2022-07-14 17:50:10 +08:00
parent d8a31ef97e
commit 63ae1c6285
@@ -36,12 +36,23 @@ export default {
methods: { methods: {
handleBack() { handleBack() {
if (this.$store.state.detailMap !== '') { if (this.$store.state.detailMap !== '') {
this.$router.push({ let queryParam = {}
path: this.$store.state.detailMap, if(this.$route.query.bpnId){
query: { queryParam = {
bpnId: this.$route.query.bpnId,
prcNum: this.$store.getters.getHandleInfo.prcNum || '', prcNum: this.$store.getters.getHandleInfo.prcNum || '',
tabsName: this.$store.getters.getHandleInfo.tabsName || '' 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', '') this.$store.commit('setDetailMap', '')
} else { } else {