mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 新增 '我发起的' 功能
This commit is contained in:
18
src/typings/api/workflow.api.d.ts
vendored
18
src/typings/api/workflow.api.d.ts
vendored
@ -141,7 +141,7 @@ declare namespace Api {
|
||||
type WorkflowActivityStatus = 0 | 1;
|
||||
|
||||
/** 流程实例 */
|
||||
type ProcessInstance = Common.CommonRecord<{
|
||||
type Instance = Common.CommonRecord<{
|
||||
/** 主键 */
|
||||
id: CommonType.IdType;
|
||||
/** 租户编号 */
|
||||
@ -194,15 +194,15 @@ declare namespace Api {
|
||||
}>;
|
||||
|
||||
/** 流程实例搜索参数 */
|
||||
type ProcessInstanceSearchParams = CommonType.RecordNullable<
|
||||
Pick<ProcessInstance, 'flowName' | 'flowCode' | 'businessId' | 'category' | 'nodeName'> &
|
||||
type InstanceSearchParams = CommonType.RecordNullable<
|
||||
Pick<Instance, 'flowName' | 'flowCode' | 'businessId' | 'category' | 'nodeName'> &
|
||||
Api.Common.CommonSearchParams & {
|
||||
startUserId: CommonType.IdType;
|
||||
createByIds: CommonType.IdType[];
|
||||
}
|
||||
>;
|
||||
/** 流程实例列表 */
|
||||
type ProcessInstanceList = Common.PaginatingQueryRecord<ProcessInstance>;
|
||||
type InstanceList = Common.PaginatingQueryRecord<Instance>;
|
||||
|
||||
/** 流程作废操作参数 */
|
||||
type FlowInvalidOperateParams = CommonType.RecordNullable<{
|
||||
@ -212,6 +212,14 @@ declare namespace Api {
|
||||
comment: string;
|
||||
}>;
|
||||
|
||||
/** 流程撤销操作参数 */
|
||||
type CancelProcessApplyParams = CommonType.RecordNullable<{
|
||||
/** 主键 */
|
||||
businessId: CommonType.IdType;
|
||||
/** 撤销原因 */
|
||||
message: string;
|
||||
}>;
|
||||
|
||||
/** 启动流程操作参数 */
|
||||
type StartWorkflowOperateParams = CommonType.RecordNullable<{
|
||||
/** 流程定义ID */
|
||||
@ -225,7 +233,7 @@ declare namespace Api {
|
||||
/** 启动流程结果 */
|
||||
type StartWorkflowResult = CommonType.RecordNullable<{
|
||||
/** 流程实例ID */
|
||||
processInstanceId: CommonType.IdType;
|
||||
instanceId: CommonType.IdType;
|
||||
/** 任务ID */
|
||||
taskId: CommonType.IdType;
|
||||
}>;
|
||||
|
2
src/typings/elegant-router.d.ts
vendored
2
src/typings/elegant-router.d.ts
vendored
@ -61,6 +61,7 @@ declare module "@elegant-router/types" {
|
||||
"workflow_process-instance": "/workflow/process-instance";
|
||||
"workflow_task": "/workflow/task";
|
||||
"workflow_task_all-task-waiting": "/workflow/task/all-task-waiting";
|
||||
"workflow_task_my-document": "/workflow/task/my-document";
|
||||
};
|
||||
|
||||
/**
|
||||
@ -160,6 +161,7 @@ declare module "@elegant-router/types" {
|
||||
| "workflow_process-definition"
|
||||
| "workflow_process-instance"
|
||||
| "workflow_task_all-task-waiting"
|
||||
| "workflow_task_my-document"
|
||||
>;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user