54 lines
965 B
JavaScript
54 lines
965 B
JavaScript
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询补贴记录列表
|
||
|
export function listSubsidy(query) {
|
||
|
return request({
|
||
|
url: '/lef/subsidy/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询补贴记录详细
|
||
|
export function getSubsidy(subsidyId) {
|
||
|
return request({
|
||
|
url: '/lef/subsidy/' + subsidyId,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增补贴记录
|
||
|
export function addSubsidy(data) {
|
||
|
return request({
|
||
|
url: '/lef/subsidy',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改补贴记录
|
||
|
export function updateSubsidy(data) {
|
||
|
return request({
|
||
|
url: '/lef/subsidy',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除补贴记录
|
||
|
export function delSubsidy(subsidyId) {
|
||
|
return request({
|
||
|
url: '/lef/subsidy/' + subsidyId,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 统计报表表单
|
||
|
export function getSubsidyStas(name, query) {
|
||
|
return request({
|
||
|
url: '/lef/subsidy/regStatistics/' + name,
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|