Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9f96c617
authored
Mar 15, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码评审】BPM:feat:添加simple设计器,分支条件下拉框非必填字段提示
parent
d9db5818
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
+4
-4
No files found.
src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
View file @
9f96c617
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment