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
Unverified
Commit
99a44e8c
authored
Jan 24, 2025
by
芋道源码
Committed by
Gitee
Jan 24, 2025
Browse files
Options
Browse Files
Download
Plain Diff
!682 fix: 服务任务无法启动
Merge pull request !682 from Lesan/bugfix/bpm-服务任务
parents
7043dea3
0bbf4c91
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue
+10
-1
No files found.
src/components/bpmnProcessDesigner/package/penal/multi-instance/ElementMultiInstance.vue
View file @
99a44e8c
<
template
>
<
template
>
<div
class=
"panel-tab__content"
>
<div
class=
"panel-tab__content"
>
<el-radio-group
v-model=
"approveMethod"
@
change=
"onApproveMethodChange"
>
<el-radio-group
v-if=
"type === 'UserTask'"
v-model=
"approveMethod"
@
change=
"onApproveMethodChange"
>
<div
class=
"flex-col"
>
<div
class=
"flex-col"
>
<div
v-for=
"(item, index) in APPROVE_METHODS"
:key=
"index"
>
<div
v-for=
"(item, index) in APPROVE_METHODS"
:key=
"index"
>
<el-radio
:value=
"item.value"
:label=
"item.value"
>
<el-radio
:value=
"item.value"
:label=
"item.value"
>
...
@@ -23,6 +27,9 @@
...
@@ -23,6 +27,9 @@
</div>
</div>
</div>
</div>
</el-radio-group>
</el-radio-group>
<div
v-else
>
除了UserTask以外节点的多实例待实现
</div>
<!-- 与Simple设计器配置合并,保留以前的代码 -->
<!-- 与Simple设计器配置合并,保留以前的代码 -->
<el-form
label-width=
"90px"
style=
"display: none"
>
<el-form
label-width=
"90px"
style=
"display: none"
>
<el-form-item
label=
"快捷配置"
>
<el-form-item
label=
"快捷配置"
>
...
@@ -301,6 +308,7 @@ const approveMethod = ref()
...
@@ -301,6 +308,7 @@ const approveMethod = ref()
const
approveRatio
=
ref
(
100
)
const
approveRatio
=
ref
(
100
)
const
otherExtensions
=
ref
()
const
otherExtensions
=
ref
()
const
getElementLoopNew
=
()
=>
{
const
getElementLoopNew
=
()
=>
{
if
(
props
.
type
===
'UserTask'
)
{
const
extensionElements
=
const
extensionElements
=
bpmnElement
.
value
.
businessObject
?.
extensionElements
??
bpmnElement
.
value
.
businessObject
?.
extensionElements
??
bpmnInstances
().
moddle
.
create
(
'bpmn:ExtensionElements'
,
{
values
:
[]
})
bpmnInstances
().
moddle
.
create
(
'bpmn:ExtensionElements'
,
{
values
:
[]
})
...
@@ -315,6 +323,7 @@ const getElementLoopNew = () => {
...
@@ -315,6 +323,7 @@ const getElementLoopNew = () => {
approveMethod
.
value
=
ApproveMethodType
.
SEQUENTIAL_APPROVE
approveMethod
.
value
=
ApproveMethodType
.
SEQUENTIAL_APPROVE
updateLoopCharacteristics
()
updateLoopCharacteristics
()
}
}
}
}
}
const
onApproveMethodChange
=
()
=>
{
const
onApproveMethodChange
=
()
=>
{
approveRatio
.
value
=
100
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