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
74d560a1
authored
Feb 26, 2025
by
lizhixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review: 调整字段名称
parent
d7664c92
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
+7
-7
No files found.
src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
View file @
74d560a1
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
label=
"选择下一个节点的审批人"
label=
"选择下一个节点的审批人"
prop=
"
selectApproveUser
"
prop=
"
nextAssignees
"
v-if=
"dialogVisibleSelectApproveUser"
v-if=
"dialogVisibleSelectApproveUser"
>
>
<ProcessInstanceTimeline
<ProcessInstanceTimeline
...
@@ -573,7 +573,7 @@ const approveSignFormRef = ref()
...
@@ -573,7 +573,7 @@ const approveSignFormRef = ref()
const
approveReasonForm
=
reactive
({
const
approveReasonForm
=
reactive
({
reason
:
''
,
reason
:
''
,
signPicUrl
:
''
,
signPicUrl
:
''
,
selectApproveUser
:
{}
nextAssignees
:
{}
})
})
const
approveReasonRule
=
computed
(()
=>
{
const
approveReasonRule
=
computed
(()
=>
{
return
{
return
{
...
@@ -581,7 +581,7 @@ const approveReasonRule = computed(() => {
...
@@ -581,7 +581,7 @@ const approveReasonRule = computed(() => {
{
required
:
reasonRequire
.
value
,
message
:
nodeTypeName
+
'意见不能为空'
,
trigger
:
'blur'
}
{
required
:
reasonRequire
.
value
,
message
:
nodeTypeName
+
'意见不能为空'
,
trigger
:
'blur'
}
],
],
signPicUrl
:
[{
required
:
true
,
message
:
'签名不能为空'
,
trigger
:
'change'
}],
signPicUrl
:
[{
required
:
true
,
message
:
'签名不能为空'
,
trigger
:
'change'
}],
selectApproveUser
:
[{
required
:
true
,
message
:
'审批人不能为空'
,
trigger
:
'change
'
}]
nextAssignees
:
[{
required
:
true
,
message
:
'审批人不能为空'
,
trigger
:
'blur
'
}]
}
}
})
})
// 拒绝表单
// 拒绝表单
...
@@ -681,9 +681,9 @@ watch(
...
@@ -681,9 +681,9 @@ watch(
}
}
)
)
/** 选择
发起
人 */
/** 选择
下一个节点的审批
人 */
const
selectUserConfirm
=
(
id
:
string
,
userList
:
any
[])
=>
{
const
selectUserConfirm
=
(
id
:
string
,
userList
:
any
[])
=>
{
approveReasonForm
.
selectApproveUser
[
id
]
=
userList
?.
map
((
item
:
any
)
=>
item
.
id
)
approveReasonForm
.
nextAssignees
[
id
]
=
userList
?.
map
((
item
:
any
)
=>
item
.
id
)
}
}
/** 弹出气泡卡 */
/** 弹出气泡卡 */
...
@@ -766,7 +766,7 @@ const handleAudit = async (pass: boolean, formRef: FormInstance | undefined) =>
...
@@ -766,7 +766,7 @@ const handleAudit = async (pass: boolean, formRef: FormInstance | undefined) =>
// 如果需要自选审批人,则校验自选审批人
// 如果需要自选审批人,则校验自选审批人
if
(
if
(
dialogVisibleSelectApproveUser
.
value
&&
dialogVisibleSelectApproveUser
.
value
&&
Object
.
keys
(
approveReasonForm
.
selectApproveUser
).
length
===
0
Object
.
keys
(
approveReasonForm
.
nextAssignees
).
length
===
0
)
{
)
{
message
.
warning
(
'下一个节点的审批人不能为空!'
)
message
.
warning
(
'下一个节点的审批人不能为空!'
)
return
return
...
@@ -777,7 +777,7 @@ const handleAudit = async (pass: boolean, formRef: FormInstance | undefined) =>
...
@@ -777,7 +777,7 @@ const handleAudit = async (pass: boolean, formRef: FormInstance | undefined) =>
id
:
runningTask
.
value
.
id
,
id
:
runningTask
.
value
.
id
,
reason
:
approveReasonForm
.
reason
,
reason
:
approveReasonForm
.
reason
,
variables
,
// 审批通过, 把修改的字段值赋于流程实例变量
variables
,
// 审批通过, 把修改的字段值赋于流程实例变量
startUserSelectAssignees
:
approveReasonForm
.
selectApproveUser
// 下个自选节点选择的审批人信息
nextAssignees
:
approveReasonForm
.
nextAssignees
// 下个自选节点选择的审批人信息
}
}
// 签名
// 签名
if
(
runningTask
.
value
.
signEnable
)
{
if
(
runningTask
.
value
.
signEnable
)
{
...
...
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