You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
689 B

import request from '@/utils/request'
// 获取流程发起列表
export function FlowLaunchList(data, options) {
return request({
url: `/api/workflow/Engine/FlowLaunch`,
method: 'get',
data,
options: {
load: false
}
})
}
// 删除流程发起
export function Delete(id) {
return request({
url: `/api/workflow/Engine/FlowLaunch/${id}`,
method: 'DELETE'
})
}
// 撤回流程发起
export function Revoke(id, data) {
return request({
url: `/api/workflow/Engine/FlowLaunch/${id}/Actions/Withdraw`,
method: 'PUT',
data
})
}
// 发起催办
export function Press(id) {
return request({
url: `/api/workflow/Engine/FlowLaunch/Press/${id}`,
method: 'post'
})
}