【修改】修改流程传参方式

This commit is contained in:
zhoulingpo
2023-04-25 20:31:14 +08:00
parent da201f9a55
commit 948e7181f5
9 changed files with 65 additions and 51 deletions
+9 -9
View File
@@ -201,11 +201,11 @@ export default {
}
this.handleReset()
}
if (this.$route.query.taskDefinitionKey == 'aid4') {
this.taskId = this.$route.query.taskId
this.prcNum = this.$route.query.prcNum
this.prcId = this.$route.query.prcId
this.prcName = this.$route.query.prcName
if (this.$store.getters.handleProcess.taskDefinitionKey == 'aid4') {
this.taskId = this.$store.getters.handleProcess.taskId
this.prcNum = this.$store.getters.handleProcess.prcNum
this.prcId = this.$store.getters.handleProcess.prcId
this.prcName = this.$store.getters.handleProcess.prcName
this.initShow = true
this.formControlname = true
@@ -221,10 +221,10 @@ export default {
})
}
if (this.$route.query.type == 'yiban') {
this.taskId = this.$route.query.taskId
this.prcNum = this.$route.query.prcNum
this.prcId = this.$route.query.prcId
this.prcName = this.$route.query.prcName
this.taskId = this.$store.getters.handleProcess.taskId
this.prcNum = this.$store.getters.handleProcess.prcNum
this.prcId = this.$store.getters.handleProcess.prcId
this.prcName = this.$store.getters.handleProcess.prcName
this.formControl = true
this.initShow = true
this.showTableD = true