update 优化流程预览

This commit is contained in:
LiuHao
2024-03-08 18:22:28 +08:00
parent 97b4eef342
commit d1c199d4bf
3 changed files with 172 additions and 146 deletions

View File

@ -41,7 +41,7 @@ export const getHistoryImage = (processInstanceId: string) => {
/**
* 通过流程实例id获取历史流程图运行中历史等节点
*/
export const getHistoryList = (instanceId: string) => {
export const getHistoryList = (instanceId: string): AxiosPromise<Record<string, any>> => {
return request({
url: `/workflow/processInstance/getHistoryList/${instanceId}` + '?t' + Math.random(),
method: 'get'