refactor: 适配新工作流预览 由logicflow改为iframe 真服了

This commit is contained in:
dap
2025-05-29 19:30:57 +08:00
parent 2141c93399
commit 8d6ef40d3e
13 changed files with 32 additions and 585 deletions

View File

@@ -94,7 +94,7 @@ export function pageByCurrent(params?: PageQuery) {
*/
export function flowInfo(businessId: string) {
return requestClient.get<FlowInfoResponse>(
`/workflow/instance/flowImage/${businessId}`,
`/workflow/instance/flowHisTaskList/${businessId}`,
);
}

View File

@@ -36,11 +36,6 @@ export interface Flow {
}
export interface FlowInfoResponse {
image: string;
instanceId: string;
list: Flow[];
defChart: {
defJson: Record<string, any>;
nodeJsonList: Record<string, any>[];
skipJsonList: Record<string, any>[];
};
}