refactor: 适配新工作流预览 由logicflow改为iframe 真服了
This commit is contained in:
@@ -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}`,
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -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>[];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user