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
59842b09
authored
Feb 06, 2025
by
zws
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 解决 设计器审批节点设置历史数据无监听器报错问题
parent
9c261985
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/components/SimpleProcessDesignerV2/src/nodes-config/UserTaskNodeConfig.vue
+6
-6
No files found.
src/components/SimpleProcessDesignerV2/src/nodes-config/UserTaskNodeConfig.vue
View file @
59842b09
...
...
@@ -760,22 +760,22 @@ const showUserTaskNodeConfig = (node: SimpleFlowNode) => {
getNodeConfigFormFields
(
node
.
fieldsPermission
)
// 5. 监听器
// 5.1 创建任务
configForm
.
value
.
taskCreateListenerEnable
=
node
.
taskCreateListener
!
.
enable
configForm
.
value
.
taskCreateListenerPath
=
node
.
taskCreateListener
!
.
path
configForm
.
value
.
taskCreateListenerEnable
=
node
.
taskCreateListener
?
.
enable
configForm
.
value
.
taskCreateListenerPath
=
node
.
taskCreateListener
?
.
path
configForm
.
value
.
taskCreateListener
=
{
header
:
node
.
taskCreateListener
?.
header
??
[],
body
:
node
.
taskCreateListener
?.
body
??
[]
}
// 5.2 指派任务
configForm
.
value
.
taskAssignListenerEnable
=
node
.
taskAssignListener
!
.
enable
configForm
.
value
.
taskAssignListenerPath
=
node
.
taskAssignListener
!
.
path
configForm
.
value
.
taskAssignListenerEnable
=
node
.
taskAssignListener
?
.
enable
configForm
.
value
.
taskAssignListenerPath
=
node
.
taskAssignListener
?
.
path
configForm
.
value
.
taskAssignListener
=
{
header
:
node
.
taskAssignListener
?.
header
??
[],
body
:
node
.
taskAssignListener
?.
body
??
[]
}
// 5.3 完成任务
configForm
.
value
.
taskCompleteListenerEnable
=
node
.
taskCompleteListener
!
.
enable
configForm
.
value
.
taskCompleteListenerPath
=
node
.
taskCompleteListener
!
.
path
configForm
.
value
.
taskCompleteListenerEnable
=
node
.
taskCompleteListener
?
.
enable
configForm
.
value
.
taskCompleteListenerPath
=
node
.
taskCompleteListener
?
.
path
configForm
.
value
.
taskCompleteListener
=
{
header
:
node
.
taskCompleteListener
?.
header
??
[],
body
:
node
.
taskCompleteListener
?.
body
??
[]
...
...
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