【功能修复】审批详情页,审批通过后,bpmn 不会重新渲染高亮的问题
parent
a097560f81
commit
3202378b04
|
@ -24,6 +24,11 @@ const view = ref({
|
||||||
watch(
|
watch(
|
||||||
() => props.loading,
|
() => props.loading,
|
||||||
async (value) => {
|
async (value) => {
|
||||||
|
// 重置
|
||||||
|
view.value = {
|
||||||
|
bpmnXml: ''
|
||||||
|
}
|
||||||
|
// 加载最新
|
||||||
if (value && props.id) {
|
if (value && props.id) {
|
||||||
view.value = await ProcessInstanceApi.getProcessInstanceBpmnModelView(props.id)
|
view.value = await ProcessInstanceApi.getProcessInstanceBpmnModelView(props.id)
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,13 +76,19 @@
|
||||||
<el-tab-pane label="流程图" name="diagram">
|
<el-tab-pane label="流程图" name="diagram">
|
||||||
<div class="form-scroll-area">
|
<div class="form-scroll-area">
|
||||||
<ProcessInstanceSimpleViewer
|
<ProcessInstanceSimpleViewer
|
||||||
v-show="processDefinition.modelType && processDefinition.modelType === BpmModelType.SIMPLE"
|
v-show="
|
||||||
|
processDefinition.modelType && processDefinition.modelType === BpmModelType.SIMPLE
|
||||||
|
"
|
||||||
:id="`${id}`"
|
:id="`${id}`"
|
||||||
:loading="processInstanceLoading"
|
:loading="processInstanceLoading"
|
||||||
/>
|
/>
|
||||||
<ProcessInstanceBpmnViewer
|
<ProcessInstanceBpmnViewer
|
||||||
v-show="processDefinition.modelType && processDefinition.modelType === BpmModelType.BPMN"
|
v-show="
|
||||||
:id="`${id}`" :loading="processInstanceLoading" />
|
processDefinition.modelType && processDefinition.modelType === BpmModelType.BPMN
|
||||||
|
"
|
||||||
|
:id="`${id}`"
|
||||||
|
:loading="processInstanceLoading"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue