feat:【antd】bpm task 的部分迁移
This commit is contained in:
@@ -19,13 +19,22 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
allowClear: true,
|
||||
},
|
||||
},
|
||||
// TODO @AI:是不是直接 import 下,不要动态;
|
||||
{
|
||||
fieldName: 'processDefinitionId',
|
||||
fieldName: 'processDefinitionKey',
|
||||
label: '所属流程',
|
||||
component: 'Input',
|
||||
component: 'ApiSelect',
|
||||
componentProps: {
|
||||
placeholder: '请输入流程定义的编号',
|
||||
placeholder: '请选择流程定义',
|
||||
allowClear: true,
|
||||
api: async () => {
|
||||
const { getSimpleProcessDefinitionList } = await import(
|
||||
'#/api/bpm/definition'
|
||||
);
|
||||
return await getSimpleProcessDefinitionList();
|
||||
},
|
||||
labelField: 'name',
|
||||
valueField: 'key',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -91,6 +100,12 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
|
||||
title: '发起人',
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
field: 'processInstance.createTime',
|
||||
title: '发起时间',
|
||||
minWidth: 180,
|
||||
formatter: 'formatDateTime',
|
||||
},
|
||||
{
|
||||
field: 'name',
|
||||
title: '当前任务',
|
||||
|
||||
Reference in New Issue
Block a user