Commit 9f96c617 by YunaiV

【代码评审】BPM:feat:添加simple设计器,分支条件下拉框非必填字段提示

parent d9db5818
......@@ -749,12 +749,12 @@ const selectNextAssigneesConfirm = (id: string, userList: any[]) => {
}
/** 审批通过时,校验每个自选审批人的节点是否都已配置了审批人 */
const validateNextAssignees = () => {
if (Object.keys(nextAssigneesActivityNode.value).length === 0) return true
// 如果需要自选审批人,则校验自选审批人
// 校验每个节点是否都已配置审批人
if (Object.keys(nextAssigneesActivityNode.value).length === 0) {
return true
}
// 如果需要自选审批人,则校验每个节点是否都已配置审批人
for (const item of nextAssigneesActivityNode.value) {
if (isEmpty(approveReasonForm.nextAssignees[item.id])) {
console.log('下一个节点【' + item.name + '】的审批人不能为空!')
message.warning('下一个节点的审批人不能为空!')
return false
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment