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