update 流程校验调整

This commit is contained in:
赵霄
2023-12-20 17:35:42 +08:00
parent 54810fa7b3
commit e2a4399f82
4 changed files with 33 additions and 3 deletions
@@ -372,11 +372,18 @@ export default {
approvalInfo.taskId = approvalInfo.taskId || this.$route.query.taskId
} else {
flag = false
this.$message.warning(this.$t('pleaseEnterRemarks'))
}
})
const baseFlag = flag
// 人员信息
const userInfo = this.$refs.personnelInfo.getDataObjVerify()
userInfoMap = userInfo ? userInfo : flag = false
if (!flag && !baseFlag) {
this.switchValue = 'base'
} else if (!flag && !userInfo) {
this.switchValue = 'user'
}
}
formData = {
basicProcessInfoDTO: processInfo,