import request from '@/utils/request'
|
|
// 查询收入费用科目列表
|
export function listFinancesubject(query) {
|
return request({
|
url: '/project/financesubject/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询收入费用科目详细
|
export function getFinancesubject(id) {
|
return request({
|
url: '/project/financesubject/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增收入费用科目
|
export function addFinancesubject(data) {
|
return request({
|
url: '/project/financesubject',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改收入费用科目
|
export function updateFinancesubject(data) {
|
return request({
|
url: '/project/financesubject',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除收入费用科目
|
export function delFinancesubject(id) {
|
return request({
|
url: '/project/financesubject/' + id,
|
method: 'delete'
|
})
|
}
|
|
// 导出收入费用科目
|
export function exportFinancesubject(query) {
|
return request({
|
url: '/project/financesubject/export',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 成本汇总统计
|
export function getDonationCost(infoid) {
|
return request({
|
url: '/project/fund/showFundDetailTwo/' + infoid,
|
method: 'get'
|
})
|
}
|
|
//成本汇总导出
|
export function exportFundCost(id) {
|
return request({
|
url: '/project/fund/downloadHZ/' + id,
|
method: 'get'
|
})
|
}
|