fix sub_process node open sub_task show empty page (#6522)

This commit is contained in:
Kerwin 2021-10-13 19:03:43 +08:00 committed by GitHub
parent 72234693dd
commit f28faaeabb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -452,7 +452,7 @@
query = { subProcessIds: ids.join(',') }
}
let $name = this.$route.name.split('-')
this.$router.push({ path: `/${$name[0]}/${$name[1]}/list/${id}`, query: query })
this.$router.push({ path: `/${$name[0]}/${this.projectId}/${$name[1]}/list/${id}`, query: query })
},
/**
* Subprocess processing
@ -469,7 +469,7 @@
subProcessIds.push(this.urlParam.id)
}
let $name = this.$route.name.split('-')
this.$router.push({ path: `/${$name[0]}/${$name[1]}/list/${subProcessId}`, query: { subProcessIds: subProcessIds.join(',') } })
this.$router.push({ path: `/${$name[0]}/${this.projectId}/${$name[1]}/list/${subProcessId}`, query: { subProcessIds: subProcessIds.join(',') } })
},
/**
* Refresh data