update 流程校验调整
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user