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.
48 lines
890 B
48 lines
890 B
import request from '@/utils/request'
|
|
|
|
|
|
export function getApprovalList(data) {
|
|
return request({
|
|
url: '/default-api/approval/list',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
export function getWaitingFlowCount() {
|
|
return request({
|
|
url: '/default-api/approval/waitingTotal',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function operateProcess(data) {
|
|
return request({
|
|
url: '/default-api/approval/operate',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
export function cancelMyFlow(data) {
|
|
return request({
|
|
url: '/default-api/approval/cancelApply/'+data,
|
|
method: 'post'
|
|
})
|
|
}
|
|
|
|
export function getFlowConfList(data) {
|
|
return request({
|
|
url: '/default-api/approval/conf/list',
|
|
method: 'get',
|
|
params: {module:data}
|
|
})
|
|
}
|
|
|
|
export function saveFlowConfig(data){
|
|
return request({
|
|
url: '/default-api/approval/conf/save',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|