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
0fba0d9a
authored
Sep 25, 2023
by
youkehai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 对齐后端-工作流委派的参数
parent
2aeba127
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/views/bpm/processInstance/detail/TaskDelegateForm.vue
+5
-5
No files found.
src/views/bpm/processInstance/detail/TaskDelegateForm.vue
View file @
0fba0d9a
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
:rules=
"formRules"
:rules=
"formRules"
label-width=
"110px"
label-width=
"110px"
>
>
<el-form-item
label=
"接收人"
prop=
"
receive
Id"
>
<el-form-item
label=
"接收人"
prop=
"
delegateUser
Id"
>
<el-select
v-model=
"formData.
receive
Id"
clearable
style=
"width: 100%"
>
<el-select
v-model=
"formData.
delegateUser
Id"
clearable
style=
"width: 100%"
>
<el-option
<el-option
v-for=
"item in userList"
v-for=
"item in userList"
:key=
"item.id"
:key=
"item.id"
...
@@ -37,10 +37,10 @@ const dialogVisible = ref(false) // 弹窗的是否展示
...
@@ -37,10 +37,10 @@ const dialogVisible = ref(false) // 弹窗的是否展示
const
formLoading
=
ref
(
false
)
// 表单的加载中
const
formLoading
=
ref
(
false
)
// 表单的加载中
const
formData
=
ref
({
const
formData
=
ref
({
id
:
''
,
id
:
''
,
receive
Id
:
undefined
delegateUser
Id
:
undefined
})
})
const
formRules
=
ref
({
const
formRules
=
ref
({
receive
Id
:
[{
required
:
true
,
message
:
'接收人不能为空'
,
trigger
:
'change'
}]
delegateUser
Id
:
[{
required
:
true
,
message
:
'接收人不能为空'
,
trigger
:
'change'
}]
})
})
const
formRef
=
ref
()
// 表单 Ref
const
formRef
=
ref
()
// 表单 Ref
...
@@ -79,7 +79,7 @@ const submitForm = async () => {
...
@@ -79,7 +79,7 @@ const submitForm = async () => {
const
resetForm
=
()
=>
{
const
resetForm
=
()
=>
{
formData
.
value
=
{
formData
.
value
=
{
id
:
''
,
id
:
''
,
receive
Id
:
undefined
delegateUser
Id
:
undefined
}
}
formRef
.
value
?.
resetFields
()
formRef
.
value
?.
resetFields
()
}
}
...
...
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