[update] 企标流程联调

This commit is contained in:
lideqin
2023-11-23 15:48:59 +08:00
parent 33977f873c
commit edb1a3404e
6 changed files with 190 additions and 82 deletions
@@ -175,7 +175,7 @@ export default {
}
}
})
if (this.$route.query.taskId) {
if (this.$route.query.taskId && !this.$route.query.draftId) {
// 有流程id说明是从流程中心来的,需要初始化数据
this.getProcessData('todo', { taskId: this.$route.query.taskId })
}
@@ -341,6 +341,7 @@ export default {
this.approvalInfoForm.validateFields(async (approvalErr, approvalValues) => {
const data = await this.$refs.baseInfoRef.getDataValidate()
if (!err && !approvalErr && data) {
this.loading = true
const paramObj = {} // 需要传给后端的数据
paramObj.common = { ...values, ...approvalValues }
paramObj.flowUser = personnelObj