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
a6de16a0
authored
Dec 08, 2024
by
jason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能完善】流程发起时,增加流程表单的校验
parent
0b6af855
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue
+2
-0
No files found.
src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue
View file @
a6de16a0
...
@@ -179,6 +179,8 @@ const submitForm = async () => {
...
@@ -179,6 +179,8 @@ const submitForm = async () => {
if
(
!
fApi
.
value
||
!
props
.
selectProcessDefinition
)
{
if
(
!
fApi
.
value
||
!
props
.
selectProcessDefinition
)
{
return
return
}
}
// 流程表单校验
await
fApi
.
value
.
validate
()
// 如果有指定审批人,需要校验
// 如果有指定审批人,需要校验
if
(
startUserSelectTasks
.
value
?.
length
>
0
)
{
if
(
startUserSelectTasks
.
value
?.
length
>
0
)
{
for
(
const
userTask
of
startUserSelectTasks
.
value
)
{
for
(
const
userTask
of
startUserSelectTasks
.
value
)
{
...
...
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