update 增加默认导出

This commit is contained in:
LiuHao 2024-03-08 15:00:01 +08:00
parent 3b4f171d9f
commit b8eb2dcb40

View File

@ -41,9 +41,9 @@ export const getHistoryImage = (processInstanceId: string) => {
/** /**
* id获取历史流程图运行中 * id获取历史流程图运行中
*/ */
export const getHistoryList = (processInstanceId: string) => { export const getHistoryList = (instanceId: string) => {
return request({ return request({
url: `/workflow/processInstance/getHistoryList/${processInstanceId}` + '?t' + Math.random(), url: `/workflow/processInstance/getHistoryList/${instanceId}` + '?t' + Math.random(),
method: 'get' method: 'get'
}); });
}; };
@ -121,3 +121,16 @@ export const cancelProcessApply = (processInstanceId: string) => {
method: 'post' method: 'post'
}); });
}; };
export default {
getPageByRunning,
getPageByFinish,
getHistoryImage,
getHistoryList,
getHistoryRecord,
deleteRunInstance,
deleteRunAndHisInstance,
deleteFinishAndHisInstance,
getPageByCurrent,
cancelProcessApply
};