完成流程实例的取消

This commit is contained in:
YunaiV
2022-01-08 22:11:39 +08:00
parent 2017b03169
commit 2630ad8eaa
12 changed files with 115 additions and 18 deletions

View File

@ -7,3 +7,14 @@ export function getMyProcessInstancePage(query) {
params: query
})
}
export function cancelProcessInstance(id, reason) {
return request({
url: '/bpm/process-instance/cancel',
method: 'DELETE',
data: {
id,
reason
}
})
}