You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
377 B
JavaScript
21 lines
377 B
JavaScript
import request from '@/utils/request'
|
|
|
|
export function getMyProcessInstancePage(query) {
|
|
return request({
|
|
url: '/bpm/process-instance/my-page',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function cancelProcessInstance(id, reason) {
|
|
return request({
|
|
url: '/bpm/process-instance/cancel',
|
|
method: 'DELETE',
|
|
data: {
|
|
id,
|
|
reason
|
|
}
|
|
})
|
|
}
|