import request from '@/utils/request'
|
|
// 查询费用审批规则列表
|
export function listFundflowrule(query) {
|
return request({
|
url: '/project/fundflowrule/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询费用审批规则详细
|
export function getFundflowrule(id) {
|
return request({
|
url: '/project/fundflowrule/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增费用审批规则
|
export function addFundflowrule(data) {
|
return request({
|
url: '/project/fundflowrule',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改费用审批规则
|
export function updateFundflowrule(data) {
|
return request({
|
url: '/project/fundflowrule',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除费用审批规则
|
export function delFundflowrule(id) {
|
return request({
|
url: '/project/fundflowrule/' + id,
|
method: 'delete'
|
})
|
}
|
|
// 导出费用审批规则
|
export function exportFundflowrule(query) {
|
return request({
|
url: '/project/fundflowrule/export',
|
method: 'get',
|
params: query
|
})
|
}
|