import request from '@/utils/request'
|
|
// 查询体检套餐列表
|
export function deptTreeSelect(cusSex) {
|
return request({
|
url: '/system/package/getList' ,
|
method: 'get',
|
params:{
|
cusSex:cusSex
|
}
|
})
|
}
|
// 每个项目
|
export function getIsRequired() {
|
return request({
|
url: '/hosp/order/getIsRequired',
|
method: 'get',
|
})
|
}
|
|
// 每个项目
|
export function projectGetList() {
|
return request({
|
url: '/hosp/project/getlist',
|
method: 'get',
|
})
|
}
|
|
// 每个项目
|
export function getOrder(data) {
|
return request({
|
url: '/hosp/order',
|
method: 'post',
|
data:data,
|
// responseType: 'blob',
|
// headers:{
|
// "type": 'application/pdf'
|
// }
|
})
|
}
|
|
// 根据身份证显示信息
|
export function getCusIdcard(cusIdcard) {
|
return request({
|
url: '/hosp/customer/cusIdcard',
|
method: 'post',
|
params:{
|
cusIdcard:cusIdcard
|
}
|
})
|
}
|
|
// 根据拼音码或套餐名称搜索套餐
|
export function getPackageListName(name) {
|
return request({
|
url: '/system/package/getPackageListByPyName',
|
method: 'get',
|
params:{
|
name:name
|
}
|
})
|
}
|
|
// 个人预约接口
|
export function getaddTj(data) {
|
return request({
|
url: '/reservation/reservation/addTjReservation',
|
method: 'post',
|
data:data
|
})
|
}
|
|
|
// 添加过渡表数据
|
export function getaddtTransition(data) {
|
return request({
|
url: '/hosp/order/addtTransition',
|
method: 'post',
|
data:data
|
})
|
}
|
|
// 查询过渡表数据
|
export function getTransitionList(cusId) {
|
return request({
|
url: '/hosp/order/getTransitionList',
|
method: 'get',
|
params:{
|
cusId:cusId
|
}
|
})
|
}
|
|
// 登记成功后生成导诊单
|
export function getGuide(tjNumber) {
|
return request({
|
url: '/hosp/order/printGuidance/'+ tjNumber,
|
method: 'get',
|
responseType: 'blob',
|
headers:{
|
"type": 'application/pdf'
|
}
|
})
|
}
|
|
// 通用文件上传base64
|
export function getLoadFile(formData) {
|
return request({
|
url: '/common/upload',
|
method: 'post',
|
data:formData,
|
})
|
}
|
|
// 根据单位id和团队编号获取预约详情
|
export function getByTeamNo(data) {
|
return request({
|
url:'/reservation/reservation/getSelectRecordByTeamNo',
|
method:'get',
|
params:data
|
|
})
|
}
|
|
// 根据身份证号查看历史体检记录
|
export function getHistryTjOrderByCusIdCard(cusIdCard) {
|
return request({
|
url:'/hosp/order/getHistryTjOrderByCusIdCard',
|
method:'get',
|
params:{cusIdCard:cusIdCard}
|
|
})
|
}
|
|
// 根据身份证号查看历史体检项目记录
|
export function getHistryTjOrderProByCusIdCard(cusIdCard) {
|
return request({
|
url:'/hosp/order/getHistryTjOrderProByCusIdCard',
|
method:'get',
|
params:{cusIdCard:cusIdCard}
|
|
})
|
}
|