| | |
| | | /** |
| | | * 通过流程实例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' |
| | | }); |
| | | }; |
| | |
| | | method: 'post' |
| | | }); |
| | | }; |
| | | |
| | | export default { |
| | | getPageByRunning, |
| | | getPageByFinish, |
| | | getHistoryImage, |
| | | getHistoryList, |
| | | getHistoryRecord, |
| | | deleteRunInstance, |
| | | deleteRunAndHisInstance, |
| | | deleteFinishAndHisInstance, |
| | | getPageByCurrent, |
| | | cancelProcessApply |
| | | }; |