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
3202378b
authored
Nov 02, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能修复】审批详情页,审批通过后,bpmn 不会重新渲染高亮的问题
parent
a097560f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue
+5
-0
src/views/bpm/processInstance/detail/index.vue
+9
-3
No files found.
src/views/bpm/processInstance/detail/ProcessInstanceBpmnViewer.vue
View file @
3202378b
...
...
@@ -24,6 +24,11 @@ const view = ref({
watch
(
()
=>
props
.
loading
,
async
(
value
)
=>
{
// 重置
view
.
value
=
{
bpmnXml
:
''
}
// 加载最新
if
(
value
&&
props
.
id
)
{
view
.
value
=
await
ProcessInstanceApi
.
getProcessInstanceBpmnModelView
(
props
.
id
)
}
...
...
src/views/bpm/processInstance/detail/index.vue
View file @
3202378b
...
...
@@ -76,13 +76,19 @@
<el-tab-pane
label=
"流程图"
name=
"diagram"
>
<div
class=
"form-scroll-area"
>
<ProcessInstanceSimpleViewer
v-show=
"processDefinition.modelType && processDefinition.modelType === BpmModelType.SIMPLE"
v-show=
"
processDefinition.modelType && processDefinition.modelType === BpmModelType.SIMPLE
"
:id=
"`$
{id}`"
:loading="processInstanceLoading"
/>
<ProcessInstanceBpmnViewer
v-show=
"processDefinition.modelType && processDefinition.modelType === BpmModelType.BPMN"
:id=
"`$
{id}`" :loading="processInstanceLoading" />
v-show=
"
processDefinition.modelType && processDefinition.modelType === BpmModelType.BPMN
"
:id=
"`$
{id}`"
:loading="processInstanceLoading"
/>
</div>
</el-tab-pane>
...
...
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