From f6ea543b3de9a770c1bf5db2baf3e8a5dc2c867a Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 30 十二月 2024 18:18:44 +0800 Subject: [PATCH] 10.88.4.131 --- src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue b/src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue index 86a1cf7..d2409ee 100644 --- a/src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue +++ b/src/components/bpmnProcessDesigner/package/penal/PropertiesPanel.vue @@ -1,5 +1,5 @@ <template> - <div class="process-panel__container" :style="{ width: `${width}px` }"> + <div class="process-panel__container" :style="{ width: `${width}px`, maxHeight: '700px' }"> <el-collapse v-model="activeTab"> <el-collapse-item name="base"> <!-- class="panel-tab__title" --> @@ -26,8 +26,10 @@ <template #title><Icon icon="ep:list" />表单</template> <element-form :id="elementId" :type="elementType" /> </el-collapse-item> - <el-collapse-item name="task" v-if="elementType.indexOf('Task') !== -1" key="task"> - <template #title><Icon icon="ep:checked" />任务(审批人)</template> + <el-collapse-item name="task" v-if="isTaskCollapseItemShow(elementType)" key="task"> + <template #title + ><Icon icon="ep:checked" />{{ getTaskCollapseItemName(elementType) }}</template + > <element-task :id="elementId" :type="elementType" /> </el-collapse-item> <el-collapse-item @@ -35,8 +37,12 @@ v-if="elementType.indexOf('Task') !== -1" key="multiInstance" > - <template #title><Icon icon="ep:help-filled" />多实例(会签配置)</template> - <element-multi-instance :business-object="elementBusinessObject" :type="elementType" /> + <template #title><Icon icon="ep:help-filled" />多人审批方式</template> + <element-multi-instance + :id="elementId" + :business-object="elementBusinessObject" + :type="elementType" + /> </el-collapse-item> <el-collapse-item name="listeners" key="listeners"> <template #title><Icon icon="ep:bell-filled" />执行监听器</template> @@ -54,6 +60,14 @@ <template #title><Icon icon="ep:promotion" />其他</template> <element-other-config :id="elementId" /> </el-collapse-item> + <el-collapse-item name="customConfig" key="customConfig"> + <template #title><Icon icon="ep:tools" />自定义配置</template> + <element-custom-config + :id="elementId" + :type="elementType" + :business-object="elementBusinessObject" + /> + </el-collapse-item> </el-collapse> </div> </template> @@ -68,6 +82,7 @@ import ElementProperties from './properties/ElementProperties.vue' // import ElementForm from './form/ElementForm.vue' import UserTaskListeners from './listeners/UserTaskListeners.vue' +import { getTaskCollapseItemName, isTaskCollapseItemShow } from './task/data' defineOptions({ name: 'MyPropertiesPanel' }) -- Gitblit v1.9.3