浏览代码

【功能优化】BPM:流程模型的列表,增加 type 字典

YunaiV 5 月之前
父节点
当前提交
21b65324a7
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/views/bpm/model/CategoryDraggableModel.vue

+ 6 - 0
src/views/bpm/model/CategoryDraggableModel.vue

@@ -113,6 +113,11 @@
             </el-text>
           </template>
         </el-table-column>
+        <el-table-column label="流程类型" prop="modelType" min-width="120">
+          <template #default="{ row }">
+            <dict-tag :value="row.type" :type="DICT_TYPE.BPM_MODEL_TYPE" />
+          </template>
+        </el-table-column>
         <el-table-column label="表单信息" prop="formType" min-width="150">
           <template #default="scope">
             <el-button
@@ -260,6 +265,7 @@
 </template>
 
 <script lang="ts" setup>
+import { DICT_TYPE } from '@/utils/dict'
 import { CategoryApi, CategoryVO } from '@/api/bpm/category'
 import Sortable from 'sortablejs'
 import { formatDate } from '@/utils/formatTime'