feat:【ele】bpm processInstance/manager 的迁移

This commit is contained in:
YunaiV
2025-10-21 12:52:31 +08:00
parent 1ed485fe3e
commit f488d7e414
4 changed files with 316 additions and 19 deletions

View File

@@ -5,6 +5,7 @@ import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { getCategorySimpleList } from '#/api/bpm/category';
import { getSimpleProcessDefinitionList } from '#/api/bpm/definition';
import { getSimpleUserList } from '#/api/system/user';
import { getRangePickerDefaultProps } from '#/utils';
@@ -35,10 +36,13 @@ export function useGridFormSchema(): VbenFormSchema[] {
{
fieldName: 'processDefinitionId',
label: '所属流程',
component: 'Input',
component: 'ApiSelect',
componentProps: {
placeholder: '请输入流程定义的编号',
placeholder: '请选择流程定义',
allowClear: true,
api: getSimpleProcessDefinitionList,
labelField: 'name',
valueField: 'id',
},
},
{