Skip to content

Commit d8e540e

Browse files
committed
流程模型 流程分类显示问题
1 parent f90c9a0 commit d8e540e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/views/bpm/model/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
<template #name_default="{ row }">
2525
<XTextButton :title="row.name" @click="handleBpmnDetail(row.id)" />
2626
</template>
27+
<!-- 流程分类 -->
28+
<template #category_default="{ row }">
29+
<DictTag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="Number(row?.category)" />
30+
</template>
2731
<!-- 表单信息 -->
2832
<template #formId_default="{ row }">
2933
<XTextButton

src/views/bpm/model/model.data.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ const crudSchemas = reactive<VxeCrudSchema>({
4444
field: 'category',
4545
dictType: DICT_TYPE.BPM_MODEL_CATEGORY,
4646
dictClass: 'number',
47-
isSearch: true
47+
isSearch: true,
48+
table: {
49+
slots: {
50+
default: 'category_default'
51+
}
52+
}
4853
},
4954
{
5055
title: '表单信息',

0 commit comments

Comments
 (0)