|
@@ -1,20 +1,20 @@
|
1
|
|
-import request from "@/utils/request";
|
|
1
|
+import request from '@/utils/request'
|
2
|
2
|
|
3
|
3
|
export function getAllSubregion(params) {
|
4
|
|
- console.log("params", params);
|
|
4
|
+ console.log('params', params)
|
5
|
5
|
return request({
|
6
|
|
- url: "/api/management/getallsubregion",
|
7
|
|
- method: "Get",
|
|
6
|
+ url: '/api/management/getallsubregion',
|
|
7
|
+ method: 'Get',
|
8
|
8
|
params: params
|
9
|
|
- });
|
|
9
|
+ })
|
10
|
10
|
}
|
11
|
11
|
|
12
|
12
|
export function SaveManageInfo(data) {
|
13
|
13
|
return request({
|
14
|
|
- url: "/api/management/savemanageinfo",
|
15
|
|
- method: "Post",
|
|
14
|
+ url: '/api/management/savemanageinfo',
|
|
15
|
+ method: 'Post',
|
16
|
16
|
data: data
|
17
|
|
- });
|
|
17
|
+ })
|
18
|
18
|
}
|
19
|
19
|
|
20
|
20
|
export function getAllMachineInfo(
|
|
@@ -32,310 +32,310 @@ export function getAllMachineInfo(
|
32
|
32
|
zoneid: zoneid,
|
33
|
33
|
equipmentid: equipmentid,
|
34
|
34
|
statusid: statusid
|
35
|
|
- };
|
|
35
|
+ }
|
36
|
36
|
return request({
|
37
|
|
- url: "/api/management/getallmachineinfo",
|
38
|
|
- method: "Get",
|
|
37
|
+ url: '/api/management/getallmachineinfo',
|
|
38
|
+ method: 'Get',
|
39
|
39
|
params: params
|
40
|
|
- });
|
|
40
|
+ })
|
41
|
41
|
}
|
42
|
42
|
|
43
|
43
|
export function getAllMachine(zoneid, deviceid) {
|
44
|
44
|
const params = {
|
45
|
45
|
zoneid: zoneid,
|
46
|
46
|
deviceid: deviceid
|
47
|
|
- };
|
|
47
|
+ }
|
48
|
48
|
return request({
|
49
|
|
- url: "/api/management/getallmachine",
|
50
|
|
- method: "Get",
|
|
49
|
+ url: '/api/management/getallmachine',
|
|
50
|
+ method: 'Get',
|
51
|
51
|
params: params
|
52
|
|
- });
|
|
52
|
+ })
|
53
|
53
|
}
|
54
|
54
|
|
55
|
55
|
export function getMachineDetailById(id, params) {
|
56
|
56
|
return request({
|
57
|
|
- url: "/api/management/getmachinedetail?id=" + id,
|
58
|
|
- method: "Get",
|
|
57
|
+ url: '/api/management/getmachinedetail?id=' + id,
|
|
58
|
+ method: 'Get',
|
59
|
59
|
params: params
|
60
|
|
- });
|
|
60
|
+ })
|
61
|
61
|
}
|
62
|
62
|
|
63
|
63
|
export function UpdateMachineInfo(data) {
|
64
|
|
- console.log("data", data);
|
|
64
|
+ console.log('data', data)
|
65
|
65
|
return request({
|
66
|
|
- url: "/api/management/updatemachineinfo",
|
67
|
|
- method: "Post",
|
|
66
|
+ url: '/api/management/updatemachineinfo',
|
|
67
|
+ method: 'Post',
|
68
|
68
|
data: data
|
69
|
|
- });
|
|
69
|
+ })
|
70
|
70
|
}
|
71
|
71
|
|
72
|
72
|
export function UpdateMachineInfoTwo(data) {
|
73
|
|
- console.log("data", data);
|
|
73
|
+ console.log('data', data)
|
74
|
74
|
return request({
|
75
|
|
- url: "/api/management/updatemachineinfotwo",
|
76
|
|
- method: "post",
|
|
75
|
+ url: '/api/management/updatemachineinfotwo',
|
|
76
|
+ method: 'post',
|
77
|
77
|
data: data
|
78
|
|
- });
|
|
78
|
+ })
|
79
|
79
|
}
|
80
|
80
|
|
81
|
81
|
export function getAllEquimentName(params) {
|
82
|
82
|
return request({
|
83
|
|
- url: "/api/management/getallequimentname",
|
84
|
|
- method: "Get",
|
|
83
|
+ url: '/api/management/getallequimentname',
|
|
84
|
+ method: 'Get',
|
85
|
85
|
params: params
|
86
|
|
- });
|
|
86
|
+ })
|
87
|
87
|
}
|
88
|
88
|
|
89
|
89
|
export function savePlan(data, id) {
|
90
|
90
|
return request({
|
91
|
|
- url: "/api/management/saveplan?id=" + id,
|
92
|
|
- method: "Post",
|
|
91
|
+ url: '/api/management/saveplan?id=' + id,
|
|
92
|
+ method: 'Post',
|
93
|
93
|
data: data
|
94
|
|
- });
|
|
94
|
+ })
|
95
|
95
|
}
|
96
|
96
|
|
97
|
97
|
export function getAllPlan(params) {
|
98
|
98
|
return request({
|
99
|
|
- url: "/api/management/getallplan",
|
100
|
|
- method: "Get",
|
|
99
|
+ url: '/api/management/getallplan',
|
|
100
|
+ method: 'Get',
|
101
|
101
|
params: params
|
102
|
|
- });
|
|
102
|
+ })
|
103
|
103
|
}
|
104
|
104
|
|
105
|
105
|
export function getAllPlanDetail(unitype) {
|
106
|
106
|
// eslint-disable-next-line no-redeclare
|
107
|
107
|
const params = {
|
108
|
108
|
unitype: unitype
|
109
|
|
- };
|
|
109
|
+ }
|
110
|
110
|
return request({
|
111
|
|
- url: "/api/management/getallplandetail",
|
112
|
|
- method: "Get",
|
|
111
|
+ url: '/api/management/getallplandetail',
|
|
112
|
+ method: 'Get',
|
113
|
113
|
params: params
|
114
|
|
- });
|
|
114
|
+ })
|
115
|
115
|
}
|
116
|
116
|
|
117
|
117
|
export function getEditMachine(id, params) {
|
118
|
118
|
return request({
|
119
|
|
- url: "/api/management/geteditmachine?id=" + id,
|
120
|
|
- method: "Get",
|
|
119
|
+ url: '/api/management/geteditmachine?id=' + id,
|
|
120
|
+ method: 'Get',
|
121
|
121
|
params: params
|
122
|
|
- });
|
|
122
|
+ })
|
123
|
123
|
}
|
124
|
124
|
|
125
|
125
|
export function DeletePlans(data) {
|
126
|
126
|
return request({
|
127
|
|
- url: "/api/staff/deleteplans",
|
128
|
|
- method: "delete",
|
|
127
|
+ url: '/api/staff/deleteplans',
|
|
128
|
+ method: 'delete',
|
129
|
129
|
data: data
|
130
|
|
- });
|
|
130
|
+ })
|
131
|
131
|
}
|
132
|
132
|
|
133
|
133
|
export function EditPlanDetail(id, params) {
|
134
|
134
|
return request({
|
135
|
|
- url: "/api/manage/editplandetail?id=" + id,
|
136
|
|
- method: "get",
|
|
135
|
+ url: '/api/manage/editplandetail?id=' + id,
|
|
136
|
+ method: 'get',
|
137
|
137
|
params: params
|
138
|
|
- });
|
|
138
|
+ })
|
139
|
139
|
}
|
140
|
140
|
|
141
|
141
|
export function UpdatePlanInfo(data) {
|
142
|
142
|
return request({
|
143
|
|
- url: "/api/manage/updateplaninfo",
|
144
|
|
- method: "Post",
|
|
143
|
+ url: '/api/manage/updateplaninfo',
|
|
144
|
+ method: 'Post',
|
145
|
145
|
data: data
|
146
|
|
- });
|
|
146
|
+ })
|
147
|
147
|
}
|
148
|
148
|
|
149
|
149
|
export function getComprehensive(params) {
|
150
|
150
|
return request({
|
151
|
|
- url: "/api/manage/getcomprehensive",
|
152
|
|
- method: "Get",
|
|
151
|
+ url: '/api/manage/getcomprehensive',
|
|
152
|
+ method: 'Get',
|
153
|
153
|
params: params
|
154
|
|
- });
|
|
154
|
+ })
|
155
|
155
|
}
|
156
|
156
|
|
157
|
157
|
export function SaveInformation(eid, data) {
|
158
|
158
|
return request({
|
159
|
|
- url: "/api/manage/saveinformation?eid=" + eid,
|
160
|
|
- method: "Post",
|
|
159
|
+ url: '/api/manage/saveinformation?eid=' + eid,
|
|
160
|
+ method: 'Post',
|
161
|
161
|
data: data
|
162
|
|
- });
|
|
162
|
+ })
|
163
|
163
|
}
|
164
|
164
|
|
165
|
165
|
export function getPatientInfo(id, params) {
|
166
|
166
|
return request({
|
167
|
|
- url: "/api/manage/getpatientinfo?id=" + id,
|
168
|
|
- method: "Get",
|
|
167
|
+ url: '/api/manage/getpatientinfo?id=' + id,
|
|
168
|
+ method: 'Get',
|
169
|
169
|
params: params
|
170
|
|
- });
|
|
170
|
+ })
|
171
|
171
|
}
|
172
|
172
|
|
173
|
173
|
export function ChangeClass(equitid, id) {
|
174
|
174
|
const params = {
|
175
|
175
|
equitid: equitid,
|
176
|
176
|
id: id
|
177
|
|
- };
|
|
177
|
+ }
|
178
|
178
|
return request({
|
179
|
|
- url: "/api/manage/changeclass",
|
180
|
|
- method: "Get",
|
|
179
|
+ url: '/api/manage/changeclass',
|
|
180
|
+ method: 'Get',
|
181
|
181
|
params: params
|
182
|
|
- });
|
|
182
|
+ })
|
183
|
183
|
}
|
184
|
184
|
|
185
|
185
|
export function changePatient(equitid, id) {
|
186
|
186
|
const params = {
|
187
|
187
|
equitid: equitid,
|
188
|
188
|
id: id
|
189
|
|
- };
|
|
189
|
+ }
|
190
|
190
|
return request({
|
191
|
|
- url: "/api/manage/changepatient",
|
192
|
|
- method: "Get",
|
|
191
|
+ url: '/api/manage/changepatient',
|
|
192
|
+ method: 'Get',
|
193
|
193
|
params: params
|
194
|
|
- });
|
|
194
|
+ })
|
195
|
195
|
}
|
196
|
196
|
|
197
|
197
|
export function getAllOrganization(params) {
|
198
|
198
|
return request({
|
199
|
|
- url: "/api/manage/getallorganization",
|
200
|
|
- method: "Get",
|
|
199
|
+ url: '/api/manage/getallorganization',
|
|
200
|
+ method: 'Get',
|
201
|
201
|
params: params
|
202
|
|
- });
|
|
202
|
+ })
|
203
|
203
|
}
|
204
|
204
|
|
205
|
205
|
export function getUserRegister(id, params) {
|
206
|
206
|
return request({
|
207
|
|
- url: "/api/manage/getregisterinfo?id=" + id,
|
208
|
|
- method: "Get",
|
|
207
|
+ url: '/api/manage/getregisterinfo?id=' + id,
|
|
208
|
+ method: 'Get',
|
209
|
209
|
params: params
|
210
|
|
- });
|
|
210
|
+ })
|
211
|
211
|
}
|
212
|
212
|
|
213
|
213
|
export function getInformationData(limit, page) {
|
214
|
214
|
const params = {
|
215
|
215
|
limit: limit,
|
216
|
216
|
page: page
|
217
|
|
- };
|
|
217
|
+ }
|
218
|
218
|
return request({
|
219
|
|
- url: "/api/manage/getinformationdata",
|
220
|
|
- method: "Get",
|
|
219
|
+ url: '/api/manage/getinformationdata',
|
|
220
|
+ method: 'Get',
|
221
|
221
|
params: params
|
222
|
|
- });
|
|
222
|
+ })
|
223
|
223
|
}
|
224
|
224
|
|
225
|
225
|
export function SaveBacteria(id, data) {
|
226
|
226
|
return request({
|
227
|
|
- url: "/api/manage/savebacteria?id=" + id,
|
228
|
|
- method: "Post",
|
|
227
|
+ url: '/api/manage/savebacteria?id=' + id,
|
|
228
|
+ method: 'Post',
|
229
|
229
|
data: data
|
230
|
|
- });
|
|
230
|
+ })
|
231
|
231
|
}
|
232
|
232
|
|
233
|
233
|
export function SaveLincomycin(id, data) {
|
234
|
234
|
return request({
|
235
|
|
- url: "/api/manage/savelincomycin?id=" + id,
|
236
|
|
- method: "Post",
|
|
235
|
+ url: '/api/manage/savelincomycin?id=' + id,
|
|
236
|
+ method: 'Post',
|
237
|
237
|
data: data
|
238
|
|
- });
|
|
238
|
+ })
|
239
|
239
|
}
|
240
|
240
|
|
241
|
241
|
export function SaveQualityControl(id, data) {
|
242
|
242
|
return request({
|
243
|
|
- url: "/api/manage/savequalitycontrol?id=" + id,
|
244
|
|
- method: "Post",
|
|
243
|
+ url: '/api/manage/savequalitycontrol?id=' + id,
|
|
244
|
+ method: 'Post',
|
245
|
245
|
data: data
|
246
|
|
- });
|
|
246
|
+ })
|
247
|
247
|
}
|
248
|
248
|
|
249
|
249
|
export function getOrgName(params) {
|
250
|
250
|
return request({
|
251
|
|
- url: "/api/manage/getorgname",
|
252
|
|
- method: "Get",
|
|
251
|
+ url: '/api/manage/getorgname',
|
|
252
|
+ method: 'Get',
|
253
|
253
|
params: params
|
254
|
|
- });
|
|
254
|
+ })
|
255
|
255
|
}
|
256
|
256
|
|
257
|
257
|
export function getAllQulityInfo(params) {
|
258
|
258
|
return request({
|
259
|
|
- url: "/api/manage/getallqulityinfo",
|
260
|
|
- method: "Get",
|
|
259
|
+ url: '/api/manage/getallqulityinfo',
|
|
260
|
+ method: 'Get',
|
261
|
261
|
params: params
|
262
|
|
- });
|
|
262
|
+ })
|
263
|
263
|
}
|
264
|
264
|
|
265
|
265
|
export function EditCulture(id, userid) {
|
266
|
266
|
const params = {
|
267
|
267
|
id: id,
|
268
|
268
|
userid: userid
|
269
|
|
- };
|
|
269
|
+ }
|
270
|
270
|
return request({
|
271
|
|
- url: "/api/manage/editculture",
|
272
|
|
- method: "Get",
|
|
271
|
+ url: '/api/manage/editculture',
|
|
272
|
+ method: 'Get',
|
273
|
273
|
params: params
|
274
|
|
- });
|
|
274
|
+ })
|
275
|
275
|
}
|
276
|
276
|
|
277
|
277
|
export function UpdateCulture(data) {
|
278
|
278
|
return request({
|
279
|
|
- url: "/api/manage/updateculture",
|
280
|
|
- method: "Post",
|
|
279
|
+ url: '/api/manage/updateculture',
|
|
280
|
+ method: 'Post',
|
281
|
281
|
data: data
|
282
|
|
- });
|
|
282
|
+ })
|
283
|
283
|
}
|
284
|
284
|
|
285
|
285
|
export function DeleteCultrue(data) {
|
286
|
286
|
return request({
|
287
|
|
- url: "/api/manage/deletecultrue",
|
288
|
|
- method: "delete",
|
|
287
|
+ url: '/api/manage/deletecultrue',
|
|
288
|
+ method: 'delete',
|
289
|
289
|
data: data
|
290
|
|
- });
|
|
290
|
+ })
|
291
|
291
|
}
|
292
|
292
|
|
293
|
293
|
export function EditDialyState(id, params) {
|
294
|
294
|
return request({
|
295
|
|
- url: "/api/manage/editdialystate?id=" + id,
|
296
|
|
- method: "Get",
|
|
295
|
+ url: '/api/manage/editdialystate?id=' + id,
|
|
296
|
+ method: 'Get',
|
297
|
297
|
params: params
|
298
|
|
- });
|
|
298
|
+ })
|
299
|
299
|
}
|
300
|
300
|
|
301
|
301
|
export function UpdateDialyState(data) {
|
302
|
302
|
return request({
|
303
|
|
- url: "/api/manage/updatedialystate",
|
304
|
|
- method: "post",
|
|
303
|
+ url: '/api/manage/updatedialystate',
|
|
304
|
+ method: 'post',
|
305
|
305
|
data: data
|
306
|
|
- });
|
|
306
|
+ })
|
307
|
307
|
}
|
308
|
308
|
|
309
|
309
|
export function DeleteDialystate(data) {
|
310
|
310
|
return request({
|
311
|
|
- url: "/api/manage/deletedialystate",
|
312
|
|
- method: "delete",
|
|
311
|
+ url: '/api/manage/deletedialystate',
|
|
312
|
+ method: 'delete',
|
313
|
313
|
data: data
|
314
|
|
- });
|
|
314
|
+ })
|
315
|
315
|
}
|
316
|
316
|
|
317
|
317
|
export function EditIon(id, params) {
|
318
|
318
|
return request({
|
319
|
|
- url: "/api/manage/edition?id=" + id,
|
320
|
|
- method: "Get",
|
|
319
|
+ url: '/api/manage/edition?id=' + id,
|
|
320
|
+ method: 'Get',
|
321
|
321
|
params: params
|
322
|
|
- });
|
|
322
|
+ })
|
323
|
323
|
}
|
324
|
324
|
|
325
|
325
|
export function UpdateIon(data) {
|
326
|
326
|
return request({
|
327
|
|
- url: "/api/manage/updateion",
|
328
|
|
- method: "Post",
|
|
327
|
+ url: '/api/manage/updateion',
|
|
328
|
+ method: 'Post',
|
329
|
329
|
data: data
|
330
|
|
- });
|
|
330
|
+ })
|
331
|
331
|
}
|
332
|
332
|
|
333
|
333
|
export function DeleteIon(data) {
|
334
|
334
|
return request({
|
335
|
|
- url: "/api/manage/deleteion",
|
336
|
|
- method: "delete",
|
|
335
|
+ url: '/api/manage/deleteion',
|
|
336
|
+ method: 'delete',
|
337
|
337
|
data: data
|
338
|
|
- });
|
|
338
|
+ })
|
339
|
339
|
}
|
340
|
340
|
|
341
|
341
|
export function queryTable(bedid, startime, endtime) {
|
|
@@ -343,56 +343,56 @@ export function queryTable(bedid, startime, endtime) {
|
343
|
343
|
bedid: bedid,
|
344
|
344
|
startime: startime,
|
345
|
345
|
endtime: endtime
|
346
|
|
- };
|
|
346
|
+ }
|
347
|
347
|
return request({
|
348
|
|
- url: "/api/manage/query",
|
349
|
|
- method: "Get",
|
|
348
|
+ url: '/api/manage/query',
|
|
349
|
+ method: 'Get',
|
350
|
350
|
params: params
|
351
|
|
- });
|
|
351
|
+ })
|
352
|
352
|
}
|
353
|
353
|
|
354
|
354
|
export function SaveRepair(id, data) {
|
355
|
355
|
return request({
|
356
|
|
- url: "/api/manage/saverepair?id=" + id,
|
357
|
|
- method: "post",
|
|
356
|
+ url: '/api/manage/saverepair?id=' + id,
|
|
357
|
+ method: 'post',
|
358
|
358
|
data: data
|
359
|
|
- });
|
|
359
|
+ })
|
360
|
360
|
}
|
361
|
361
|
|
362
|
362
|
export function getAllRepair(limit, page) {
|
363
|
363
|
const params = {
|
364
|
364
|
limit: limit,
|
365
|
365
|
page: page
|
366
|
|
- };
|
|
366
|
+ }
|
367
|
367
|
return request({
|
368
|
|
- url: "/api/manage/getallrepair",
|
369
|
|
- method: "Get",
|
|
368
|
+ url: '/api/manage/getallrepair',
|
|
369
|
+ method: 'Get',
|
370
|
370
|
params: params
|
371
|
|
- });
|
|
371
|
+ })
|
372
|
372
|
}
|
373
|
373
|
|
374
|
374
|
export function EditRepair(id, params) {
|
375
|
375
|
return request({
|
376
|
|
- url: "/api/manage/editrepair?id=" + id,
|
377
|
|
- method: "Get",
|
|
376
|
+ url: '/api/manage/editrepair?id=' + id,
|
|
377
|
+ method: 'Get',
|
378
|
378
|
params: params
|
379
|
|
- });
|
|
379
|
+ })
|
380
|
380
|
}
|
381
|
381
|
|
382
|
382
|
export function UpdateRepair(data) {
|
383
|
383
|
return request({
|
384
|
|
- url: "/api/manage/updaterepair",
|
385
|
|
- method: "Post",
|
|
384
|
+ url: '/api/manage/updaterepair',
|
|
385
|
+ method: 'Post',
|
386
|
386
|
data: data
|
387
|
|
- });
|
|
387
|
+ })
|
388
|
388
|
}
|
389
|
389
|
|
390
|
390
|
export function DeleteRepair(data) {
|
391
|
391
|
return request({
|
392
|
|
- url: "/api/manage/deleterepair",
|
393
|
|
- method: "delete",
|
|
392
|
+ url: '/api/manage/deleterepair',
|
|
393
|
+ method: 'delete',
|
394
|
394
|
data: data
|
395
|
|
- });
|
|
395
|
+ })
|
396
|
396
|
}
|
397
|
397
|
|
398
|
398
|
export function queryRepair(bedid, startime, endtime) {
|
|
@@ -400,44 +400,47 @@ export function queryRepair(bedid, startime, endtime) {
|
400
|
400
|
bedid: bedid,
|
401
|
401
|
startime: startime,
|
402
|
402
|
endtime: endtime
|
403
|
|
- };
|
|
403
|
+ }
|
404
|
404
|
|
405
|
405
|
return request({
|
406
|
|
- url: "/api/manage/queryrepair",
|
407
|
|
- method: "Get",
|
|
406
|
+ url: '/api/manage/queryrepair',
|
|
407
|
+ method: 'Get',
|
408
|
408
|
params: params
|
409
|
|
- });
|
|
409
|
+ })
|
410
|
410
|
}
|
411
|
411
|
|
412
|
412
|
export function EditUser(id, patientid) {
|
413
|
413
|
const params = {
|
414
|
414
|
id: id,
|
415
|
415
|
patientid: patientid
|
416
|
|
- };
|
|
416
|
+ }
|
417
|
417
|
return request({
|
418
|
|
- url: "/api/manage/edituser",
|
419
|
|
- method: "Get",
|
|
418
|
+ url: '/api/manage/edituser',
|
|
419
|
+ method: 'Get',
|
420
|
420
|
params: params
|
421
|
|
- });
|
|
421
|
+ })
|
422
|
422
|
}
|
423
|
423
|
|
424
|
424
|
export function DeleteUserform(data) {
|
425
|
425
|
return request({
|
426
|
|
- url: "/api/manage/deleteform",
|
427
|
|
- method: "delete",
|
|
426
|
+ url: '/api/manage/deleteform',
|
|
427
|
+ method: 'delete',
|
428
|
428
|
data: data
|
429
|
|
- });
|
|
429
|
+ })
|
430
|
430
|
}
|
431
|
431
|
|
432
|
432
|
export function UpdateForm(data) {
|
433
|
433
|
return request({
|
434
|
|
- url: "/api/manage/updateform",
|
435
|
|
- method: "post",
|
|
434
|
+ url: '/api/manage/updateform',
|
|
435
|
+ method: 'post',
|
436
|
436
|
data: data
|
437
|
|
- });
|
|
437
|
+ })
|
438
|
438
|
}
|
439
|
439
|
|
440
|
440
|
export function queryInfo(zone, bed, startime, endtime, limit, page) {
|
|
441
|
+ console.log('开始时间', startime)
|
|
442
|
+ console.log('结束时间', endtime)
|
|
443
|
+ console.log('床位好', bed)
|
441
|
444
|
const params = {
|
442
|
445
|
zone: zone,
|
443
|
446
|
bed: bed,
|
|
@@ -445,28 +448,28 @@ export function queryInfo(zone, bed, startime, endtime, limit, page) {
|
445
|
448
|
endtime: endtime,
|
446
|
449
|
limit: limit,
|
447
|
450
|
page: page
|
448
|
|
- };
|
|
451
|
+ }
|
449
|
452
|
return request({
|
450
|
|
- url: "/api/manage/queryinfo",
|
451
|
|
- method: "Get",
|
|
453
|
+ url: '/api/manage/queryinfo',
|
|
454
|
+ method: 'Get',
|
452
|
455
|
params: params
|
453
|
|
- });
|
|
456
|
+ })
|
454
|
457
|
}
|
455
|
458
|
|
456
|
459
|
export function getAutoData(id, params) {
|
457
|
460
|
return request({
|
458
|
|
- url: "/api/manage/insertautodata?id=" + id,
|
459
|
|
- method: "Get",
|
|
461
|
+ url: '/api/manage/insertautodata?id=' + id,
|
|
462
|
+ method: 'Get',
|
460
|
463
|
params: params
|
461
|
|
- });
|
|
464
|
+ })
|
462
|
465
|
}
|
463
|
466
|
|
464
|
467
|
export function getAllEquitType(params) {
|
465
|
468
|
return request({
|
466
|
|
- url: "/api/manage/getallequittype",
|
467
|
|
- method: "Get",
|
|
469
|
+ url: '/api/manage/getallequittype',
|
|
470
|
+ method: 'Get',
|
468
|
471
|
params: params
|
469
|
|
- });
|
|
472
|
+ })
|
470
|
473
|
}
|
471
|
474
|
|
472
|
475
|
export function getUserForm(id, limit, page) {
|
|
@@ -474,189 +477,189 @@ export function getUserForm(id, limit, page) {
|
474
|
477
|
id: id,
|
475
|
478
|
limit: limit,
|
476
|
479
|
page: page
|
477
|
|
- };
|
|
480
|
+ }
|
478
|
481
|
return request({
|
479
|
|
- url: "/api/manage/getuserform",
|
480
|
|
- method: "Get",
|
|
482
|
+ url: '/api/manage/getuserform',
|
|
483
|
+ method: 'Get',
|
481
|
484
|
params: params
|
482
|
|
- });
|
|
485
|
+ })
|
483
|
486
|
}
|
484
|
487
|
|
485
|
488
|
export function UpdateMacheineTwo(data) {
|
486
|
489
|
return request({
|
487
|
|
- url: "/api/manage/updatemacheinettwo",
|
488
|
|
- method: "post",
|
|
490
|
+ url: '/api/manage/updatemacheinettwo',
|
|
491
|
+ method: 'post',
|
489
|
492
|
data: data
|
490
|
|
- });
|
|
493
|
+ })
|
491
|
494
|
}
|
492
|
495
|
|
493
|
496
|
export function getBedForm(id, params) {
|
494
|
497
|
return request({
|
495
|
|
- url: "/api/manage/getbedform?id=" + id,
|
496
|
|
- method: "get",
|
|
498
|
+ url: '/api/manage/getbedform?id=' + id,
|
|
499
|
+ method: 'get',
|
497
|
500
|
params: params
|
498
|
|
- });
|
|
501
|
+ })
|
499
|
502
|
}
|
500
|
503
|
|
501
|
504
|
export function getTotalCount(params) {
|
502
|
505
|
return request({
|
503
|
|
- url: "/api/manage/gettotalcount",
|
504
|
|
- method: "Get",
|
|
506
|
+ url: '/api/manage/gettotalcount',
|
|
507
|
+ method: 'Get',
|
505
|
508
|
params: params
|
506
|
|
- });
|
|
509
|
+ })
|
507
|
510
|
}
|
508
|
511
|
|
509
|
512
|
export function getTotalNumber(id, params) {
|
510
|
513
|
return request({
|
511
|
|
- url: "/api/manage/getotalnumber?id=" + id,
|
512
|
|
- method: "Get",
|
|
514
|
+ url: '/api/manage/getotalnumber?id=' + id,
|
|
515
|
+ method: 'Get',
|
513
|
516
|
params: params
|
514
|
|
- });
|
|
517
|
+ })
|
515
|
518
|
}
|
516
|
519
|
|
517
|
520
|
export function getTimeWarning(id, params) {
|
518
|
521
|
return request({
|
519
|
|
- url: "/api/manage/gettimewarning?id=" + id,
|
520
|
|
- method: "Get",
|
|
522
|
+ url: '/api/manage/gettimewarning?id=' + id,
|
|
523
|
+ method: 'Get',
|
521
|
524
|
params: params
|
522
|
|
- });
|
|
525
|
+ })
|
523
|
526
|
}
|
524
|
527
|
|
525
|
528
|
export function SaveManageInfoTwo(data, beds) {
|
526
|
|
- console.log("data", beds);
|
|
529
|
+ console.log('data', beds)
|
527
|
530
|
return request({
|
528
|
|
- url: "/api/manage/savemanageinfotwo?beds=" + beds,
|
529
|
|
- method: "post",
|
|
531
|
+ url: '/api/manage/savemanageinfotwo?beds=' + beds,
|
|
532
|
+ method: 'post',
|
530
|
533
|
data: data
|
531
|
|
- });
|
|
534
|
+ })
|
532
|
535
|
}
|
533
|
536
|
|
534
|
537
|
export function getAllpatient(params) {
|
535
|
538
|
return request({
|
536
|
|
- url: "/api/manage/getallpatient",
|
537
|
|
- method: "get",
|
|
539
|
+ url: '/api/manage/getallpatient',
|
|
540
|
+ method: 'get',
|
538
|
541
|
params: params
|
539
|
|
- });
|
|
542
|
+ })
|
540
|
543
|
}
|
541
|
544
|
|
542
|
545
|
export function changeBed(id, params) {
|
543
|
546
|
return request({
|
544
|
|
- url: "/api/manage/changebed?id=" + id,
|
545
|
|
- method: "get",
|
|
547
|
+ url: '/api/manage/changebed?id=' + id,
|
|
548
|
+ method: 'get',
|
546
|
549
|
params: params
|
547
|
|
- });
|
|
550
|
+ })
|
548
|
551
|
}
|
549
|
552
|
|
550
|
553
|
export function getPatientDetail(id, params) {
|
551
|
554
|
return request({
|
552
|
|
- url: "/api/manage/getpatientdetail?id=" + id,
|
553
|
|
- method: "get",
|
|
555
|
+ url: '/api/manage/getpatientdetail?id=' + id,
|
|
556
|
+ method: 'get',
|
554
|
557
|
params: params
|
555
|
|
- });
|
|
558
|
+ })
|
556
|
559
|
}
|
557
|
560
|
|
558
|
561
|
export function changeRun(id, data) {
|
559
|
562
|
return request({
|
560
|
|
- url: "/api/manage/changrun?id=" + id,
|
561
|
|
- method: "post",
|
|
563
|
+ url: '/api/manage/changrun?id=' + id,
|
|
564
|
+ method: 'post',
|
562
|
565
|
data: data
|
563
|
|
- });
|
|
566
|
+ })
|
564
|
567
|
}
|
565
|
568
|
|
566
|
569
|
export function getRemanderData(params) {
|
567
|
570
|
return request({
|
568
|
|
- url: "/api/manage/getremanderdata",
|
569
|
|
- method: "get",
|
|
571
|
+ url: '/api/manage/getremanderdata',
|
|
572
|
+ method: 'get',
|
570
|
573
|
params: params
|
571
|
|
- });
|
|
574
|
+ })
|
572
|
575
|
}
|
573
|
576
|
|
574
|
577
|
export function openDelete(id, params) {
|
575
|
578
|
return request({
|
576
|
|
- url: "/api/manage/opendelete?id=" + id,
|
577
|
|
- method: "delete",
|
|
579
|
+ url: '/api/manage/opendelete?id=' + id,
|
|
580
|
+ method: 'delete',
|
578
|
581
|
params: params
|
579
|
|
- });
|
|
582
|
+ })
|
580
|
583
|
}
|
581
|
584
|
|
582
|
585
|
export function DeleteUserLogin(id, params) {
|
583
|
586
|
return request({
|
584
|
|
- url: "/api/manage/deleteuserlogin?id=" + id,
|
585
|
|
- method: "delete",
|
|
587
|
+ url: '/api/manage/deleteuserlogin?id=' + id,
|
|
588
|
+ method: 'delete',
|
586
|
589
|
params: params
|
587
|
|
- });
|
|
590
|
+ })
|
588
|
591
|
}
|
589
|
592
|
|
590
|
593
|
export function DeleteCultrues(id, params) {
|
591
|
594
|
return request({
|
592
|
|
- url: "/api/manage/deletecultrues?id=" + id,
|
593
|
|
- method: "delete",
|
|
595
|
+ url: '/api/manage/deletecultrues?id=' + id,
|
|
596
|
+ method: 'delete',
|
594
|
597
|
params: params
|
595
|
|
- });
|
|
598
|
+ })
|
596
|
599
|
}
|
597
|
600
|
|
598
|
601
|
export function DeleteDialystates(id, params) {
|
599
|
602
|
return request({
|
600
|
|
- url: "/api/manage/deletedialystates?id=" + id,
|
601
|
|
- method: "delete",
|
|
603
|
+ url: '/api/manage/deletedialystates?id=' + id,
|
|
604
|
+ method: 'delete',
|
602
|
605
|
params: params
|
603
|
|
- });
|
|
606
|
+ })
|
604
|
607
|
}
|
605
|
608
|
|
606
|
609
|
export function DeleteIons(id, params) {
|
607
|
610
|
return request({
|
608
|
|
- url: "/api/manage/deleteions?id=" + id,
|
609
|
|
- method: "delete",
|
|
611
|
+ url: '/api/manage/deleteions?id=' + id,
|
|
612
|
+ method: 'delete',
|
610
|
613
|
params: params
|
611
|
|
- });
|
|
614
|
+ })
|
612
|
615
|
}
|
613
|
616
|
|
614
|
617
|
export function DeleteRepairs(id, params) {
|
615
|
618
|
return request({
|
616
|
|
- url: "/api/manage/deleterepairs?id=" + id,
|
617
|
|
- method: "delete",
|
|
619
|
+ url: '/api/manage/deleterepairs?id=' + id,
|
|
620
|
+ method: 'delete',
|
618
|
621
|
params: params
|
619
|
|
- });
|
|
622
|
+ })
|
620
|
623
|
}
|
621
|
624
|
|
622
|
625
|
export function SaveMode(data) {
|
623
|
626
|
return request({
|
624
|
|
- url: "/api/manage/savemode",
|
625
|
|
- method: "post",
|
|
627
|
+ url: '/api/manage/savemode',
|
|
628
|
+ method: 'post',
|
626
|
629
|
data: data
|
627
|
|
- });
|
|
630
|
+ })
|
628
|
631
|
}
|
629
|
632
|
|
630
|
633
|
export function getAllMode(params) {
|
631
|
634
|
return request({
|
632
|
|
- url: "/api/manage/getallmode",
|
633
|
|
- method: "get",
|
|
635
|
+ url: '/api/manage/getallmode',
|
|
636
|
+ method: 'get',
|
634
|
637
|
params: params
|
635
|
|
- });
|
|
638
|
+ })
|
636
|
639
|
}
|
637
|
640
|
|
638
|
641
|
export function EditMode(id, params) {
|
639
|
642
|
return request({
|
640
|
|
- url: "/api/manage/editmode?id=" + id,
|
641
|
|
- method: "get",
|
|
643
|
+ url: '/api/manage/editmode?id=' + id,
|
|
644
|
+ method: 'get',
|
642
|
645
|
params: params
|
643
|
|
- });
|
|
646
|
+ })
|
644
|
647
|
}
|
645
|
648
|
|
646
|
649
|
export function UpdateMode(id, data) {
|
647
|
650
|
return request({
|
648
|
|
- url: "/api/manage/updatemode?id=" + id,
|
649
|
|
- method: "post",
|
|
651
|
+ url: '/api/manage/updatemode?id=' + id,
|
|
652
|
+ method: 'post',
|
650
|
653
|
data: data
|
651
|
|
- });
|
|
654
|
+ })
|
652
|
655
|
}
|
653
|
656
|
|
654
|
657
|
export function DeleteMode(id, params) {
|
655
|
658
|
return request({
|
656
|
|
- url: "/api/manage/deletemode?id=" + id,
|
657
|
|
- method: "delete",
|
|
659
|
+ url: '/api/manage/deletemode?id=' + id,
|
|
660
|
+ method: 'delete',
|
658
|
661
|
params: params
|
659
|
|
- });
|
|
662
|
+ })
|
660
|
663
|
}
|
661
|
664
|
|
662
|
665
|
export function selectChange(id, params) {
|