qinxianzhangyao
2023-12-09 876f43e0fd34e084cc8a179a20afb51fe612eca3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
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}
   
  })
}