流程优化

This commit is contained in:
陈裕财
2025-04-09 23:36:39 +08:00
parent 615c26ad9c
commit ca6e7027fd
6 changed files with 18 additions and 18 deletions

View File

@@ -1,9 +1,9 @@
<template>
<el-row :gutter="20">
<el-col :span="6">
<MdpCateTree ref="cateTree"/>
</el-col>
<el-col :span="18">
<mdp-lr-box :expand="false">
<template #left>
<MdpCateTree ref="cateTree"/>
</template>
<ContentWrap>
<el-space wrap>
@@ -135,7 +135,7 @@
</el-table-column>
<el-table-column prop="id" label="编号" min-width="120" show-overflow-tooltip col-type="String" v-if="showCol('id')"/>
<el-table-column label="操作" :width="currOpType=='mng'?200:200" fixed="right">
<el-table-column label="操作" :width="currOpType=='mng'?150:150" fixed="right">
<template #default="scope" v-if="currOpType=='mng'" >
<el-button :disabled=" disBtn('editBtn') || !checkBtnQx('editBtn',menuDefId) " type="primary" @click="openForm({parentOpType:currOpType,subOpType:'edit',formData:scope.row,title:'任务详情'})" icon="edit" title="修改一条数据"/>
<el-button :disabled=" disBtn('delBtn') || !checkBtnQx('delBtn',menuDefId) " type="danger" @click="handleDel(scope.row,scope.$index)" icon="delete" title="删除一条数据"/>
@@ -160,10 +160,10 @@
:total="pageInfo.total"
/>
</el-col>
</el-row>
</mdp-lr-box>
<!--新增修改明细 Procinst act_hi_procinst界面-->
<mdp-dialog :ref="refId+'FormDialog'" width="80%">
<mdp-dialog :ref="refId+'FormDialog'" fullscreen>
<template #default="{visible,data,dialog}">
<procinst-parames-execution-set v-if="data.formData"
:taskInfo="data.formData" :procDefId="data.formData.procDefId" :procInstId="data.formData.procInstId"

View File

@@ -130,7 +130,7 @@
prop="id" label="编号" min-width="120" show-overflow-tooltip col-type="String"
v-if="showCol('id')"/>
<el-table-column label="操作" :width="currOpType=='mng'?200:200" fixed="right">
<el-table-column label="操作" :width="currOpType=='mng'?150:150" fixed="right">
<template #header>
</template>
<template #default="scope" v-if="currOpType=='mng'">

View File

@@ -128,7 +128,7 @@
</template>
</mdp-dialog>
<mdp-dialog ref="diagramDialog">
<mdp-dialog ref="diagramDialog" fullscreen>
<template #default="{visible,data}">
<el-image v-if="visible" :fit="'contain'" :src="data.diagramUrl">
<template #placeholder>

View File

@@ -278,7 +278,7 @@
</mdp-lr-box>
<!--新增修改明细 Procdef act_re_procdef界面-->
<mdp-dialog :ref="refId+'FormDialog'">
<mdp-dialog :ref="refId+'FormDialog'" fullscreen>
<template #default="{visible,data}">
<procdef-form
:ref="refId+'Form'" :visible="visible" :parent-op-type="currOpType"
@@ -287,7 +287,7 @@
</template>
</mdp-dialog>
<!--流程图界面-->
<mdp-dialog ref="diagramDialog">
<mdp-dialog ref="diagramDialog" fullscreen>
<template #default="{visible,data}">
<el-image v-if="visible" :fit="'contain'" :src="data.diagramUrl">
<div ref="error" class="image-slot">
@@ -332,7 +332,7 @@
<mdp-dialog
ref="bizModelFormDialog"
title="绑定流程"
width="80%"
fullscreen
>
<template #default="{visible,dialog}">
<biz-model-form

View File

@@ -287,7 +287,7 @@
<el-table-column prop="id" label="编号" min-width="120" show-overflow-tooltip col-type="String"
v-if="showCol('id')" />
<el-table-column label="操作" :width="currOpType == 'mng' ? 280 : 280" fixed="right">
<el-table-column label="操作" :width="currOpType == 'mng' ? 200 : 200" fixed="right">
<template #header>
</template>
<template #default="scope" v-if="currOpType == 'mng'">
@@ -349,7 +349,7 @@
</mdp-lr-box>
<!--新增修改明细 Execution act_ru_execution界面-->
<mdp-dialog :ref="refId + 'FormDialog'" width="80%">
<mdp-dialog :ref="refId + 'FormDialog'" fullscreen>
<template #default="{ visible, data, dialog }">
<procinst-parames-execution-set v-if="data.formData" :taskInfo="data.formData" :procDefId="data.formData.procDefId"
:procInstId="data.formData.procInstId" :visible="visible" @cancel="dialog.close()" @submit="afterEditSubmit" />
@@ -366,7 +366,7 @@
:visible="visible" @cancel="dialog.close()" />
</template>
</mdp-dialog>
<mdp-dialog width="80%" ref="calDialog">
<mdp-dialog ref="calDialog" fullscreen>
<template #default="{ data }">
<el-space wrap class="padding">
<el-tag v-for=" tag in data.tags" :key="tag.id">{{ tag.tagName + '(' + tag.count + ')' }}</el-tag>

View File

@@ -474,7 +474,7 @@
:visible="visible" @cancel="dialog.close()"/>
</template>
</mdp-dialog>
<mdp-dialog ref="calDialog" v-cloak width="70%">
<mdp-dialog ref="calDialog" v-cloak fullscreen>
<template #default="{data}">
<el-space wrap class="padding">
<el-tag v-for=" tag,index in data.tags" :key="index" :type="tagTypes[(index % 4)]">