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.
|
|
|
|
import request from '@/router/axios';
|
|
|
|
|
|
|
|
|
|
// =====================参数===========================
|
|
|
|
|
|
|
|
|
|
export const historyFlowList = (processInstanceId) => {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/api/blade-flow/process/history-flow-list',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: {
|
|
|
|
|
processInstanceId
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// =====================请假流程===========================
|
|
|
|
|
|
|
|
|
|
export const leaveProcess = (data) => {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/api/blade-desk/process/leave/start-process',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const leaveDetail = (businessId) => {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/api/blade-desk/process/leave/detail',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: {
|
|
|
|
|
businessId
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|