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.
70 lines
1.1 KiB
70 lines
1.1 KiB
3 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询资金用途列表
|
||
|
export function listFunds(query) {
|
||
|
return request({
|
||
|
url: '/build/purFunds/list',
|
||
|
method: 'post',
|
||
|
data: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询资金用途详细
|
||
|
export function getFunds(id) {
|
||
|
return request({
|
||
|
url: '/build/purFunds/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
export function getRecord(id) {
|
||
|
return request({
|
||
|
url: '/build/purFunds/getRecord/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
export function getContractId(id) {
|
||
|
return request({
|
||
|
url: '/build/purFunds/getContractId/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增资金用途
|
||
|
export function addFunds(data) {
|
||
|
return request({
|
||
|
url: '/build/purFunds',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改资金用途
|
||
|
export function updateFunds(data) {
|
||
|
return request({
|
||
|
url: '/build/purFunds',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除资金用途
|
||
|
export function delFunds(id) {
|
||
|
return request({
|
||
|
url: '/build/purFunds/' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 导出资金用途
|
||
|
export function exportFunds(query) {
|
||
|
return request({
|
||
|
url: '/build/purFunds/export',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|