feat: [bpm] 审批详情操作按钮

This commit is contained in:
jason
2026-01-09 14:23:37 +08:00
parent 17d014421a
commit 51c593f319
5 changed files with 236 additions and 52 deletions

View File

@@ -11,6 +11,10 @@ export interface TaskUser {
deptName?: string
}
export interface OperationButtonSetting {
displayName: string // 按钮名称
enable: boolean // 是否启用
}
/** 流程任务 */
export interface Task {
id: string
@@ -24,6 +28,8 @@ export interface Task {
ownerUser?: TaskUser
processInstanceId?: string // 流程实例 ID
processInstance: ProcessInstance
reasonRequire?: boolean // 是否填写审批意见
buttonsSetting?: Record<number, OperationButtonSetting> // 按钮设置
}
/** 查询待办任务分页列表 */