diff --git a/src/api/approval.ts b/src/api/approval.ts index f0bd135..87f6810 100644 --- a/src/api/approval.ts +++ b/src/api/approval.ts @@ -92,6 +92,10 @@ export interface ApprovalMeta { formTemplateId?: string | null; ended: boolean; suspended: boolean; + /** 会签(BPMN 多实例)任务:true 时展示「已会签 N/M」。 */ + cosign?: boolean; + cosignTotal?: number; + cosignCompleted?: number; } /** POST /api/task/{id}/action 请求。 */ diff --git a/src/components/ApprovalDrawer.tsx b/src/components/ApprovalDrawer.tsx index 424930d..a691cc6 100644 --- a/src/components/ApprovalDrawer.tsx +++ b/src/components/ApprovalDrawer.tsx @@ -441,6 +441,22 @@ export function ApprovalDrawer({ foot={footer} >