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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
| import request from "@/utils/request";
| // import request1 from "@/utils/request1";
|
| // 为体检页面的所有接口添加 useConfirmBox 标记
| const headers = {
| useConfirmBox: true
| }
|
| // 查询体检套餐列表
| export function deptTreeSelect(cusSex) {
| return request({
| url: "/system/package/getList",
| method: "get",
| params: {
| cusSex: cusSex,
| },
| });
| }
| // 查询团体体检套餐列表
| export function tuantiSelect(param) {
| return request({
| url: "/hosp/dwgrouping/huoqutuantitaocanxiangmu",
| method: "get",
| params: {
| sex: param.sex,
| dwId: param.dwId,
| },
| });
| }
| // 每个项目
| export function getIsRequired() {
| return request({
| url: "/hosp/order/getIsRequired",
| method: "get",
| });
| }
| export function gaibianzhekou(data) {
| return request({
| url: "/hosp/order/updateTransitionnewPrice",
| method: "post",
| data: data,
| });
| }
| // 选择体检项目(所有服项目)选单项时调用的接口
| export function projectGetList() {
| return request({
| url: "/hosp/project/getDxList",
| method: "get",
| });
| }
|
| // 选择体检项目(根据父项id选择子项)选单项时调用的接口
| export function getProSonDxList(proId) {
| return request({
| url: "/hosp/project/getProSonDxList",
| method: "get",
| params: {
| proId: proId,
| },
| });
| }
|
| export function getProParentIdDxList() {
| return request({
| url: "/hosp/project/getProParentIdDxList",
| method: "get",
| // params: {
| // pname: pname,
| // },
| });
| }
|
| // 每个项目
| export function getOrder(data) {
| return request({
| url: "/hosp/order",
| method: "post",
| data: data,
| // responseType: 'blob',
| // headers:{
| // "type": 'application/pdf'
| // }
| });
| }
| export function getOrderzhiye(data) {
| return request({
| url: "/zhiye/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,
| },
| headers
| });
| }
|
| // 根据拼音码或套餐名称搜索套餐
| 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 shijianzhou(data) {
| return request({
| url: "/hosp/order/zongjanyemianshjianzhou",
| method: "post",
| data: data,
| });
| }
| // 添加过渡表数据
| export function getaddtTransition(data) {
| return request({
| url: "/hosp/order/addtTransition",
| method: "post",
| data: data,
| });
| }
| // 添加过渡表数据
| export function tuantiqueren(data) {
| return request({
| url: "/hosp/order/ttaddtTransition",
| method: "post",
| data: data,
| });
| }
| // 查询过渡表数据
| export function getTransitionList(cusId) {
| return request({
| url: "/hosp/order/getTransitionList",
| method: "get",
| params: {
| cusId: cusId,
| },
| });
| }
| // 查询过渡表数据
| export function getTransitionList1(cusId) {
| return request({
| url: "/hosp/order/newgetTransitionList",
| method: "get",
| params: {
| cusId: cusId,
| },
| headers
| });
| }
| // 登记成功后生成导诊单
| 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 },
| });
| }
|
| export function getconfigKey(configKey) {
| return request({
| url: "/system/config/configKey/" + configKey,
| method: "get",
| });
| }
|
| export function delTbBycusCardIdAndProId(data) {
| return request({
| url: "/hosp/order/delTbBycusCardIdAndProId",
| method: "get",
| params: data,
| });
| }
|
| export function getZhList() {
| return request({
| url: "/system/zhxm/getZhList",
| method: "get",
| });
| }
|
| export function listByZhId(zhId) {
| return request({
| url: "/system/zhxm/listByZhId",
| method: "get",
| params:{zhId:zhId}
| });
| }
|
|
| // export function readCertCardInfos() {
| // return request1({
| // url: "/readCertCardInfos",
| // method: "get",
| // });
| // }
|
|