Commit d8e540ee by gexinzhineng/gxzn27

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

parent f90c9a0c
...@@ -24,6 +24,10 @@ ...@@ -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
......
...@@ -44,7 +44,12 @@ const crudSchemas = reactive<VxeCrudSchema>({ ...@@ -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: '表单信息',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment