import request from '@/utils/request'
|
|
// 查询费用审批流程列表
|
export function listFundflow(query) {
|
return request({
|
url: '/project/fundflow/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询费用审批流程详细
|
export function getFundflow(id) {
|
return request({
|
url: '/project/fundflow/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增费用审批流程
|
export function addFundflow(data) {
|
return request({
|
url: '/project/fundflow',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改费用审批流程
|
export function updateFundflow(data) {
|
return request({
|
url: '/project/fundflow',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除费用审批流程
|
export function delFundflow(id) {
|
return request({
|
url: '/project/fundflow/' + id,
|
method: 'delete'
|
})
|
}
|
|
// 导出费用审批流程
|
export function exportFundflow(query) {
|
return request({
|
url: '/project/fundflow/export',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//根据权限显示审核列表
|
export function listbypower(query) {
|
return request({
|
url: '/project/fund/listbypower',
|
method: 'get',
|
params: query
|
})
|
}
|