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.
33 lines
602 B
33 lines
602 B
import request from '@/utils/request'
|
|
|
|
|
|
export function getApprovalList(data) {
|
|
return request({
|
|
url: '/default-api/approval/list',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
export function getflowList(data) {
|
|
return request({
|
|
url: '/default-api/approval/list',
|
|
method: 'get',
|
|
params: {module: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
|
|
})
|
|
}
|