import request from '@/utils/request'
|
|
// 数据分页
|
export function getCoalPayCategory(data) {
|
return request({
|
url: '/pay/coalCategory/list',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 新增数据
|
export function addCoalPayCategory(data) {
|
return request({
|
url: '/pay/coalCategory/insert',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改数据
|
export function updateCoalPayCategory(data) {
|
return request({
|
url: '/pay/coalCategory/update',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 删除数据
|
export function delCoalPayCategory(data) {
|
return request({
|
url: '/pay/coalCategory/delete',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 缴费列表
|
export function getCoalPayList(data) {
|
return request({
|
url: '/pay/coalPay/list',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function addCoalPay(data) {
|
return request({
|
url: '/pay/coalPay/insert',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function editCoalPay(data) {
|
return request({
|
url: '/pay/coalPay/update',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function delCoalPay(data) {
|
return request({
|
url: '/pay/coalPay/delete',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function updateCoalPayType(data) {
|
return request({
|
url: '/pay/coalPay/updateType',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 学员列表
|
export function getCoalPayStudentList(id) {
|
return request({
|
url: '/pay/coalPayStudent/studentList/' + id,
|
method: 'get',
|
})
|
}
|
|
export function addCoalPayStu(data) {
|
return request({
|
url: '/pay/coalPayStudent/insert',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function editCoalPayStu(data) {
|
return request({
|
url: '/pay/coalPayStudent/update',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function delCoalPayStu(data) {
|
return request({
|
url: '/pay/coalPayStudent/delete',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 查询开票信息
|
export function getTicketList(data) {
|
return request({
|
url: '/pay/coalCategory/ticketList',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function addTicket(data) {
|
return request({
|
url: '/pay/coalCategory/saveTicket',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function editTicket(data) {
|
return request({
|
url: '/pay/coalCategory/updateTicket',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function findStudent(query) {
|
return request({
|
url: '/pay/coalPay/findStudent',
|
method: 'get',
|
params: query
|
})
|
}
|