【功能修改】 新审批页面 v4 部分修改

This commit is contained in:
jason
2024-10-18 21:16:44 +08:00
parent 0f8522e306
commit 5267fe459f
6 changed files with 28 additions and 23 deletions

View File

@ -1,6 +1,6 @@
<template>
<el-card v-loading="loading" class="box-card">
<template #header>
<template #header v-if="showHeader">
<span class="el-icon-picture-outline">流程图</span>
</template>
<MyProcessViewer key="designer" :xml="view.bpmnXml" :view="view" class="h-700px" />
@ -16,7 +16,8 @@ defineOptions({ name: 'BpmProcessInstanceBpmnViewer' })
const props = defineProps({
loading: propTypes.bool.def(false), // 是否加载中
id: propTypes.string, // 流程实例的编号
bpmnXml: propTypes.string // BPMN XML
bpmnXml: propTypes.string, // BPMN XML
showHeader: propTypes.bool.def(true), // 是否显示头
})
const view = ref({