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
5785d741
authored
Dec 07, 2024
by
LesanOuO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 多实例默认选中SEQUENTIAL_APPROVE
parent
e5204987
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue
+8
-1
No files found.
src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue
View file @
5785d741
...
...
@@ -301,13 +301,20 @@ const approveMethod = ref()
const
approveRatio
=
ref
(
100
)
const
otherExtensions
=
ref
()
const
getElementLoopNew
=
()
=>
{
const
extensionElements
=
bpmnElement
.
value
.
businessObject
?.
extensionElements
??
bpmnInstances
().
moddle
.
create
(
'bpmn:ExtensionElements'
,
{
values
:
[]
})
const
extensionElements
=
bpmnElement
.
value
.
businessObject
?.
extensionElements
??
bpmnInstances
().
moddle
.
create
(
'bpmn:ExtensionElements'
,
{
values
:
[]
})
approveMethod
.
value
=
extensionElements
.
values
.
filter
(
(
ex
)
=>
ex
.
$type
===
`
${
prefix
}
:ApproveMethod`
)?.[
0
]?.
value
otherExtensions
.
value
=
extensionElements
.
values
.
filter
((
ex
)
=>
ex
.
$type
!==
`
${
prefix
}
:ApproveMethod`
)
??
[]
if
(
!
approveMethod
.
value
)
{
approveMethod
.
value
=
ApproveMethodType
.
SEQUENTIAL_APPROVE
updateLoopCharacteristics
()
}
}
const
onApproveMethodChange
=
()
=>
{
approveRatio
.
value
=
100
...
...
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