流程模型 流程分类显示问题

This commit is contained in:
gexinzhineng/gxzn27 2023-02-28 10:50:23 +08:00
parent f90c9a0c77
commit d8e540ee54
2 changed files with 10 additions and 1 deletions

View File

@ -24,6 +24,10 @@
<template #name_default="{ row }"> <template #name_default="{ row }">
<XTextButton :title="row.name" @click="handleBpmnDetail(row.id)" /> <XTextButton :title="row.name" @click="handleBpmnDetail(row.id)" />
</template> </template>
<!-- 流程分类 -->
<template #category_default="{ row }">
<DictTag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="Number(row?.category)" />
</template>
<!-- 表单信息 --> <!-- 表单信息 -->
<template #formId_default="{ row }"> <template #formId_default="{ row }">
<XTextButton <XTextButton

View File

@ -44,7 +44,12 @@ const crudSchemas = reactive<VxeCrudSchema>({
field: 'category', field: 'category',
dictType: DICT_TYPE.BPM_MODEL_CATEGORY, dictType: DICT_TYPE.BPM_MODEL_CATEGORY,
dictClass: 'number', dictClass: 'number',
isSearch: true isSearch: true,
table: {
slots: {
default: 'category_default'
}
}
}, },
{ {
title: '表单信息', title: '表单信息',