import { IObject } from '../../util'; export interface IflowHistoryAttrProps { /** * @description 业务类型编码 */ bizCode?: string; /** * @description 业务表单id */ bizKey?: string; /** * @description 任务id,统计审批要点需要传这个参数 */ taskId?: string; /** * popup的高度 * @default 60vh */ height?: string; /** * @description 返回事件 */ back: () => void; /** * @description 关闭抽屉 */ afterBack?: (data: any) => void; /** * @description 无送审记录的事件 */ emptyResultEvent?: () => void; /** * @description 无送审记录时,自动关闭窗口 * @default false */ emptyResultAutoClose?: boolean; } export type IFlowHistoryProps = Pick; export interface IFlowHistory { /** * 流程编码 */ procInstId: string; /** * 流程实例列表 */ procList: Array; /** * 流程历史 */ flowHistory: Array; /** * 审批要点统计数据 */ statisticsApprovalPoint: IObject; }