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: {
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 {