feat: 重构流程定义和流程实例模块,更新API命名,增强用户选择弹窗功能,支持多用户选择,优化流程实例创建界面。

feat: 完善流程定义模块、完善流程实例模块
feat: 完善OA请假模块
feat: 完善审批中心、发起流程、查看流程、工作流整体进度 40%
This commit is contained in:
ziye
2025-05-12 00:53:48 +08:00
parent 730786b61e
commit 2705fb7a4d
18 changed files with 2065 additions and 530 deletions

View File

@@ -1,7 +1,7 @@
import type { PageParam, PageResult } from '@vben/request';
import type { BpmModelApi } from '#/api/bpm/model';
import type { CandidateStrategyEnum, NodeTypeEnum } from '#/utils';
import type { BpmCandidateStrategyEnum, BpmNodeTypeEnum } from '#/utils';
import { requestClient } from '#/api/request';
@@ -29,12 +29,12 @@ export namespace BpmProcessInstanceApi {
// 审批节点信息
export type ApprovalNodeInfo = {
candidateStrategy?: CandidateStrategyEnum;
candidateStrategy?: BpmCandidateStrategyEnum;
candidateUsers?: User[];
endTime?: Date;
id: number;
name: string;
nodeType: NodeTypeEnum;
nodeType: BpmNodeTypeEnum;
startTime?: Date;
status: number;
tasks: ApprovalTaskInfo[];