This commit is contained in:
yanran200730
2022-04-06 19:22:04 +08:00
parent 2e92a69c4d
commit b929880b7a
2 changed files with 8 additions and 3 deletions

View File

@@ -158,8 +158,8 @@ export default {
}
},
created() {
if (this.$route.query?.id) {
this.getDetail(this.$route.query?.id)
if (this.row.id) {
this.getDetail(this.row.id)
}
}
}

View File

@@ -184,7 +184,12 @@ export default {
},
changeCharge (e, i) {
this.$set(this.form.processNodeList[i], 'candidateList', e)
this.$set(this.form.processNodeList[i], 'candidateList', e.map(v => {
return {
...v,
candidate: v.id
}
}))
},
/**
* 添加流程