update 流程校验调整
This commit is contained in:
+1
@@ -400,6 +400,7 @@ export default {
|
||||
approvalInfo = { ...this.approvalInfo, taskId: this.$route.query.taskId }
|
||||
} else {
|
||||
flag = false
|
||||
this.$message(this.$t('pleaseEnterRemarks'))
|
||||
}
|
||||
if (!flag) {
|
||||
return false
|
||||
|
||||
@@ -523,6 +523,7 @@ export default {
|
||||
approvalInfo = { ...this.approvalInfo }
|
||||
} else {
|
||||
flag = false
|
||||
this.$message(this.$t('pleaseEnterRemarks'))
|
||||
}
|
||||
}
|
||||
// 处理人员信息
|
||||
|
||||
@@ -295,6 +295,7 @@ export default {
|
||||
this.$refs.approvalForm.validate().then(() => {
|
||||
}).catch(() => {
|
||||
flag = false
|
||||
this.$message(this.$t('pleaseEnterRemarks'))
|
||||
}).finally(() => {
|
||||
resolve(flag)
|
||||
})
|
||||
|
||||
@@ -265,6 +265,7 @@ export default {
|
||||
const validateResult = await this.validateForm('approvalForm')
|
||||
if (!validateResult) {
|
||||
flag = false
|
||||
this.$message(this.$t('pleaseEnterRemarks'))
|
||||
}
|
||||
const userInfoMap = await this.$refs.personInfo.getDataObjVerify()
|
||||
if (!userInfoMap) {
|
||||
|
||||
Reference in New Issue
Block a user