import request from '@/utils/request'
|
|
// 查询客户信息列表
|
export function listCustomer(query) {
|
return request({
|
url: '/hosp/customer/getcusList',
|
method: 'get',
|
params: query
|
})
|
}
|
|
//体检(退费)页面查询接口
|
export function getTjRefundList(form) {
|
return request({
|
url: '/hosp/water/findTjRefundListByNameAndTjNumAndPhone',
|
method: 'get',
|
params: form
|
})
|
}
|
|
//体检(退费)页面查询接口
|
export function getTjRefundList2(form) {
|
return request({
|
url: '/hosp/water/findTjRefundListByNameAndTjNumAndPhone2',
|
method: 'get',
|
params: form
|
})
|
}
|
|
|
// 体检退费项目详情查询接口
|
export function getTjList(data) {
|
return request({
|
url: '/hosp/water/getTjRefundProInfoVoList',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// 体检退费项目详情查询接口
|
export function getTjList2(data) {
|
return request({
|
url: '/hosp/water/getTjRefundProInfoVoList2',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// 体检退费按钮接口
|
export function getTjRefund(data) {
|
return request({
|
url: '/hosp/water/tjRefund',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 体检退费按钮接口
|
export function getTjRefund2(data) {
|
return request({
|
url: '/hosp/water/tjRefund2',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 体检(收费)页面查询接口
|
export function getfindTj(form) {
|
return request({
|
// url: '/hosp/water/findTjCollectFeesByNameAndTjNumAndPhone',
|
url: '/hosp/water/findTjCollectFeesByNameAndTjNumAndPhoneN',
|
method: 'get',
|
params: form
|
})
|
}
|
|
// 体检已收费未收费信息查询接口
|
export function getByTjNum(data) {
|
return request({
|
// url: '/hosp/water/findTjChargedButNotChargedByTjNum',
|
url: '/hosp/water/findTjChargedButNotChargedByTjNumN',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// 体检点击收费按钮接口
|
export function getwater(data) {
|
return request({
|
url: '/hosp/water',
|
method: 'put',
|
data: data
|
})
|
}
|
export function getwaterSupper(data) {
|
return request({
|
url: '/hosp/water/supper',
|
method: 'put',
|
data: data
|
})
|
}
|
// 查询客户信息详细
|
export function getCustomer(cusId) {
|
return request({
|
url: '/hosp/customer/' + cusId,
|
method: 'get'
|
})
|
}
|
|
// 新增客户信息
|
export function addCustomer(data) {
|
return request({
|
url: '/hosp/customer',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改客户信息
|
export function updateCustomer(data) {
|
return request({
|
url: '/hosp/customer',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除客户信息
|
export function delCustomer(cusId) {
|
return request({
|
url: '/hosp/customer/' + cusId,
|
method: 'delete'
|
})
|
}
|
|
// 修改客户信息
|
export function getpay(data) {
|
return request({
|
url: '/team/pay',
|
method: 'post',
|
data: data
|
})
|
}
|
|
|
export function getHistryTjOrderByCusIdCard(cusId) {
|
return request({
|
url: '/hosp/order/getHistryTjOrderByCusId',
|
method: 'get',
|
params:{
|
cusId:cusId
|
|
}
|
})
|
}
|
|
|
|
// 体检点击收费按钮接口
|
export function getUserinfo(data) {
|
return request({
|
url: '/hosp/customer/zhuceTjCustomer',
|
method: 'post',
|
data: data
|
})
|
}
|