|
@@ -1,6 +1,6 @@
|
1
|
1
|
import request from '@/utils/request'
|
2
|
2
|
|
3
|
|
-export function getBloodDialysisPatient(page, limit) {
|
|
3
|
+export function getBloodDialysisPatient (page, limit) {
|
4
|
4
|
const params = {
|
5
|
5
|
page: page,
|
6
|
6
|
limit: limit
|
|
@@ -12,7 +12,7 @@ export function getBloodDialysisPatient(page, limit) {
|
12
|
12
|
})
|
13
|
13
|
}
|
14
|
14
|
|
15
|
|
-export function getAllBloodDialysisPatient(page, limit, status, source) {
|
|
15
|
+export function getAllBloodDialysisPatient (page, limit, status, source) {
|
16
|
16
|
const params = {
|
17
|
17
|
page: page,
|
18
|
18
|
limit: limit,
|
|
@@ -27,7 +27,7 @@ export function getAllBloodDialysisPatient(page, limit, status, source) {
|
27
|
27
|
})
|
28
|
28
|
}
|
29
|
29
|
|
30
|
|
-export function getAllSlowPatient(page, limit) {
|
|
30
|
+export function getAllSlowPatient (page, limit) {
|
31
|
31
|
const params = {
|
32
|
32
|
page: page,
|
33
|
33
|
limit: limit
|
|
@@ -39,7 +39,7 @@ export function getAllSlowPatient(page, limit) {
|
39
|
39
|
})
|
40
|
40
|
}
|
41
|
41
|
|
42
|
|
-export function getAllMemberPatient(page, limit) {
|
|
42
|
+export function getAllMemberPatient (page, limit) {
|
43
|
43
|
const params = {
|
44
|
44
|
page: page,
|
45
|
45
|
limit: limit
|
|
@@ -51,7 +51,7 @@ export function getAllMemberPatient(page, limit) {
|
51
|
51
|
})
|
52
|
52
|
}
|
53
|
53
|
|
54
|
|
-export function GenerateDialysisNo(params) {
|
|
54
|
+export function GenerateDialysisNo (params) {
|
55
|
55
|
return request({
|
56
|
56
|
url: '/m/api/patients/generatedialysisnotwo',
|
57
|
57
|
method: 'get',
|
|
@@ -59,7 +59,7 @@ export function GenerateDialysisNo(params) {
|
59
|
59
|
})
|
60
|
60
|
}
|
61
|
61
|
|
62
|
|
-export function GetIllnessList(params) {
|
|
62
|
+export function GetIllnessList (params) {
|
63
|
63
|
return request({
|
64
|
64
|
url: 'm/api/patient/getillnesslist',
|
65
|
65
|
method: 'get',
|
|
@@ -67,7 +67,7 @@ export function GetIllnessList(params) {
|
67
|
67
|
})
|
68
|
68
|
}
|
69
|
69
|
|
70
|
|
-export function GetPatientInfo(phone) {
|
|
70
|
+export function GetPatientInfo (phone) {
|
71
|
71
|
const params = {
|
72
|
72
|
phone: phone
|
73
|
73
|
}
|
|
@@ -78,7 +78,7 @@ export function GetPatientInfo(phone) {
|
78
|
78
|
})
|
79
|
79
|
}
|
80
|
80
|
|
81
|
|
-export function savePatient(data) {
|
|
81
|
+export function savePatient (data) {
|
82
|
82
|
return request({
|
83
|
83
|
url: '/m/api/patient/savepatient',
|
84
|
84
|
method: 'post',
|
|
@@ -86,7 +86,7 @@ export function savePatient(data) {
|
86
|
86
|
})
|
87
|
87
|
}
|
88
|
88
|
|
89
|
|
-export function getPatientDetail(id, params) {
|
|
89
|
+export function getPatientDetail (id, params) {
|
90
|
90
|
return request({
|
91
|
91
|
url: '/m/api/patient/getpatientdetail?id=' + id,
|
92
|
92
|
method: 'get',
|
|
@@ -94,7 +94,7 @@ export function getPatientDetail(id, params) {
|
94
|
94
|
})
|
95
|
95
|
}
|
96
|
96
|
|
97
|
|
-export function getDoctorAdvices(id, type, startime, endtime, limit, page) {
|
|
97
|
+export function getDoctorAdvices (id, type, startime, endtime, limit, page) {
|
98
|
98
|
const params = {
|
99
|
99
|
id: id,
|
100
|
100
|
type: type,
|
|
@@ -110,7 +110,7 @@ export function getDoctorAdvices(id, type, startime, endtime, limit, page) {
|
110
|
110
|
})
|
111
|
111
|
}
|
112
|
112
|
|
113
|
|
-export function getDryWeight(id, startime, endtime, limit, page) {
|
|
113
|
+export function getDryWeight (id, startime, endtime, limit, page) {
|
114
|
114
|
const params = {
|
115
|
115
|
id: id,
|
116
|
116
|
startime: startime,
|
|
@@ -125,7 +125,7 @@ export function getDryWeight(id, startime, endtime, limit, page) {
|
125
|
125
|
})
|
126
|
126
|
}
|
127
|
127
|
|
128
|
|
-export function getBloodDialysisPatientTwo(page, limit) {
|
|
128
|
+export function getBloodDialysisPatientTwo (page, limit) {
|
129
|
129
|
const params = {
|
130
|
130
|
page: page,
|
131
|
131
|
limit: limit
|
|
@@ -137,7 +137,7 @@ export function getBloodDialysisPatientTwo(page, limit) {
|
137
|
137
|
})
|
138
|
138
|
}
|
139
|
139
|
|
140
|
|
-export function ToSearch(name) {
|
|
140
|
+export function ToSearch (name) {
|
141
|
141
|
const params = {
|
142
|
142
|
name: name
|
143
|
143
|
}
|
|
@@ -148,7 +148,7 @@ export function ToSearch(name) {
|
148
|
148
|
})
|
149
|
149
|
}
|
150
|
150
|
|
151
|
|
-export function getBloodPatientInfo(phone) {
|
|
151
|
+export function getBloodPatientInfo (phone) {
|
152
|
152
|
const params = {
|
153
|
153
|
phone: phone
|
154
|
154
|
}
|
|
@@ -159,7 +159,7 @@ export function getBloodPatientInfo(phone) {
|
159
|
159
|
})
|
160
|
160
|
}
|
161
|
161
|
|
162
|
|
-export function getSlowPatientInfo(phone) {
|
|
162
|
+export function getSlowPatientInfo (phone) {
|
163
|
163
|
const params = {
|
164
|
164
|
phone: phone
|
165
|
165
|
}
|
|
@@ -170,7 +170,7 @@ export function getSlowPatientInfo(phone) {
|
170
|
170
|
})
|
171
|
171
|
}
|
172
|
172
|
|
173
|
|
-export function getMemberPatientInfo(phone) {
|
|
173
|
+export function getMemberPatientInfo (phone) {
|
174
|
174
|
const params = {
|
175
|
175
|
phone: phone
|
176
|
176
|
}
|
|
@@ -181,7 +181,7 @@ export function getMemberPatientInfo(phone) {
|
181
|
181
|
})
|
182
|
182
|
}
|
183
|
183
|
|
184
|
|
-export function getCourseManagement(id, limit, page, startime, endtime) {
|
|
184
|
+export function getCourseManagement (id, limit, page, startime, endtime) {
|
185
|
185
|
const params = {
|
186
|
186
|
id: id,
|
187
|
187
|
limit: limit,
|
|
@@ -196,7 +196,7 @@ export function getCourseManagement(id, limit, page, startime, endtime) {
|
196
|
196
|
})
|
197
|
197
|
}
|
198
|
198
|
|
199
|
|
-export function DeleteCouseManage(id, params) {
|
|
199
|
+export function DeleteCouseManage (id, params) {
|
200
|
200
|
return request({
|
201
|
201
|
url: '/m/api/patient/delelecousemanage?id=' + id,
|
202
|
202
|
method: 'delete',
|
|
@@ -204,7 +204,7 @@ export function DeleteCouseManage(id, params) {
|
204
|
204
|
})
|
205
|
205
|
}
|
206
|
206
|
|
207
|
|
-export function getCouseManagementDetail(id, params) {
|
|
207
|
+export function getCouseManagementDetail (id, params) {
|
208
|
208
|
return request({
|
209
|
209
|
url: '/m/api/patient/getcousemanagementdetail?id=' + id,
|
210
|
210
|
method: 'get',
|
|
@@ -212,7 +212,7 @@ export function getCouseManagementDetail(id, params) {
|
212
|
212
|
})
|
213
|
213
|
}
|
214
|
214
|
|
215
|
|
-export function DeleteDryWeight(id, params) {
|
|
215
|
+export function DeleteDryWeight (id, params) {
|
216
|
216
|
return request({
|
217
|
217
|
url: '/m/api/patient/deletedryweight?id=' + id,
|
218
|
218
|
method: 'delete',
|
|
@@ -220,7 +220,7 @@ export function DeleteDryWeight(id, params) {
|
220
|
220
|
})
|
221
|
221
|
}
|
222
|
222
|
|
223
|
|
-export function getDryWeightDetail(id, params) {
|
|
223
|
+export function getDryWeightDetail (id, params) {
|
224
|
224
|
return request({
|
225
|
225
|
url: '/m/api/patient/getdryweightdetail?id=' + id,
|
226
|
226
|
method: 'get',
|
|
@@ -228,7 +228,7 @@ export function getDryWeightDetail(id, params) {
|
228
|
228
|
})
|
229
|
229
|
}
|
230
|
230
|
|
231
|
|
-export function GetLongDialysisRecord(id, limit, page, startime, endtime) {
|
|
231
|
+export function GetLongDialysisRecord (id, limit, page, startime, endtime) {
|
232
|
232
|
const params = {
|
233
|
233
|
id: id,
|
234
|
234
|
limit: limit,
|
|
@@ -243,7 +243,7 @@ export function GetLongDialysisRecord(id, limit, page, startime, endtime) {
|
243
|
243
|
})
|
244
|
244
|
}
|
245
|
245
|
|
246
|
|
-export function GetPatientDetail(id, params) {
|
|
246
|
+export function GetPatientDetail (id, params) {
|
247
|
247
|
return request({
|
248
|
248
|
url: '/m/api/patient/getpatientdetail?id=' + id,
|
249
|
249
|
method: 'get',
|
|
@@ -251,7 +251,7 @@ export function GetPatientDetail(id, params) {
|
251
|
251
|
})
|
252
|
252
|
}
|
253
|
253
|
|
254
|
|
-export function getRescueRecord(id, limit, page, startime, endtime) {
|
|
254
|
+export function getRescueRecord (id, limit, page, startime, endtime) {
|
255
|
255
|
const params = {
|
256
|
256
|
id: id,
|
257
|
257
|
limit: limit,
|
|
@@ -266,7 +266,7 @@ export function getRescueRecord(id, limit, page, startime, endtime) {
|
266
|
266
|
})
|
267
|
267
|
}
|
268
|
268
|
|
269
|
|
-export function getScheduling(id, limit, page, startime, endtime, mode_types) {
|
|
269
|
+export function getScheduling (id, limit, page, startime, endtime, mode_types) {
|
270
|
270
|
const params = {
|
271
|
271
|
id: id,
|
272
|
272
|
limit: limit,
|
|
@@ -282,7 +282,7 @@ export function getScheduling(id, limit, page, startime, endtime, mode_types) {
|
282
|
282
|
})
|
283
|
283
|
}
|
284
|
284
|
|
285
|
|
-export function getEducation(id, limit, page, startime, endtime) {
|
|
285
|
+export function getEducation (id, limit, page, startime, endtime) {
|
286
|
286
|
const params = {
|
287
|
287
|
id: id,
|
288
|
288
|
limit: limit,
|
|
@@ -297,7 +297,7 @@ export function getEducation(id, limit, page, startime, endtime) {
|
297
|
297
|
})
|
298
|
298
|
}
|
299
|
299
|
|
300
|
|
-export function getSchedulingDetail(id, params) {
|
|
300
|
+export function getSchedulingDetail (id, params) {
|
301
|
301
|
return request({
|
302
|
302
|
url: '/m/api/patient/getschedulingdetail?id=' + id,
|
303
|
303
|
method: 'get',
|
|
@@ -305,7 +305,7 @@ export function getSchedulingDetail(id, params) {
|
305
|
305
|
})
|
306
|
306
|
}
|
307
|
307
|
|
308
|
|
-export function DeleteScheduling(id, params) {
|
|
308
|
+export function DeleteScheduling (id, params) {
|
309
|
309
|
return request({
|
310
|
310
|
url: '/m/api/patient/deletescheduling?id=' + id,
|
311
|
311
|
method: 'delete',
|
|
@@ -313,7 +313,7 @@ export function DeleteScheduling(id, params) {
|
313
|
313
|
})
|
314
|
314
|
}
|
315
|
315
|
|
316
|
|
-export function getEducationDetail(id, params) {
|
|
316
|
+export function getEducationDetail (id, params) {
|
317
|
317
|
return request({
|
318
|
318
|
url: '/m/api/patient/geteducationdetail?id=' + id,
|
319
|
319
|
method: 'get',
|
|
@@ -321,7 +321,7 @@ export function getEducationDetail(id, params) {
|
321
|
321
|
})
|
322
|
322
|
}
|
323
|
323
|
|
324
|
|
-export function DeleteEducationOne(id, params) {
|
|
324
|
+export function DeleteEducationOne (id, params) {
|
325
|
325
|
return request({
|
326
|
326
|
url: '/m/api/patient/deleteeductionone?id=' + id,
|
327
|
327
|
method: 'delete',
|
|
@@ -329,7 +329,7 @@ export function DeleteEducationOne(id, params) {
|
329
|
329
|
})
|
330
|
330
|
}
|
331
|
331
|
|
332
|
|
-export function getRescueRecordDetail(id, params) {
|
|
332
|
+export function getRescueRecordDetail (id, params) {
|
333
|
333
|
return request({
|
334
|
334
|
url: '/m/api/patient/getrescuerecorddetail?id=' + id,
|
335
|
335
|
method: 'get',
|
|
@@ -337,7 +337,7 @@ export function getRescueRecordDetail(id, params) {
|
337
|
337
|
})
|
338
|
338
|
}
|
339
|
339
|
|
340
|
|
-export function DeleteRescueRecord(id, params) {
|
|
340
|
+export function DeleteRescueRecord (id, params) {
|
341
|
341
|
return request({
|
342
|
342
|
url: '/m/api/patient/deleterescuerecord?id=' + id,
|
343
|
343
|
method: 'delete',
|
|
@@ -345,7 +345,7 @@ export function DeleteRescueRecord(id, params) {
|
345
|
345
|
})
|
346
|
346
|
}
|
347
|
347
|
|
348
|
|
-export function toSearchPatient(keyword) {
|
|
348
|
+export function toSearchPatient (keyword) {
|
349
|
349
|
console.log('keyword', keyword)
|
350
|
350
|
const params = {
|
351
|
351
|
keyword: keyword
|
|
@@ -357,7 +357,7 @@ export function toSearchPatient(keyword) {
|
357
|
357
|
})
|
358
|
358
|
}
|
359
|
359
|
|
360
|
|
-export function SearchAllPatient(keyword) {
|
|
360
|
+export function SearchAllPatient (keyword) {
|
361
|
361
|
const params = {
|
362
|
362
|
keyword: keyword
|
363
|
363
|
}
|
|
@@ -368,7 +368,7 @@ export function SearchAllPatient(keyword) {
|
368
|
368
|
})
|
369
|
369
|
}
|
370
|
370
|
|
371
|
|
-export function SearchAllBlood(keyword) {
|
|
371
|
+export function SearchAllBlood (keyword) {
|
372
|
372
|
const params = {
|
373
|
373
|
keyword: keyword
|
374
|
374
|
}
|
|
@@ -379,7 +379,7 @@ export function SearchAllBlood(keyword) {
|
379
|
379
|
})
|
380
|
380
|
}
|
381
|
381
|
|
382
|
|
-export function getSlowSearchPatient(keyword) {
|
|
382
|
+export function getSlowSearchPatient (keyword) {
|
383
|
383
|
const params = {
|
384
|
384
|
keyword: keyword
|
385
|
385
|
}
|
|
@@ -390,7 +390,7 @@ export function getSlowSearchPatient(keyword) {
|
390
|
390
|
})
|
391
|
391
|
}
|
392
|
392
|
|
393
|
|
-export function getMemberSearchPatient(keyword) {
|
|
393
|
+export function getMemberSearchPatient (keyword) {
|
394
|
394
|
const params = {
|
395
|
395
|
keyword: keyword
|
396
|
396
|
}
|
|
@@ -401,7 +401,7 @@ export function getMemberSearchPatient(keyword) {
|
401
|
401
|
})
|
402
|
402
|
}
|
403
|
403
|
|
404
|
|
-export function getLongDialysisDetail(id, params) {
|
|
404
|
+export function getLongDialysisDetail (id, params) {
|
405
|
405
|
return request({
|
406
|
406
|
url: '/m/api/patient/getlongdialysisdetail?id=' + id,
|
407
|
407
|
method: 'get',
|
|
@@ -409,7 +409,7 @@ export function getLongDialysisDetail(id, params) {
|
409
|
409
|
})
|
410
|
410
|
}
|
411
|
411
|
|
412
|
|
-export function DeleteLongDialysis(id, params) {
|
|
412
|
+export function DeleteLongDialysis (id, params) {
|
413
|
413
|
return request({
|
414
|
414
|
url: '/m/api/patient/deletelongdialysis?id=' + id,
|
415
|
415
|
method: 'delete',
|
|
@@ -417,7 +417,7 @@ export function DeleteLongDialysis(id, params) {
|
417
|
417
|
})
|
418
|
418
|
}
|
419
|
419
|
|
420
|
|
-export function getDialysisRecord(id, limit, page, startime, endtime, dislysType) {
|
|
420
|
+export function getDialysisRecord (id, limit, page, startime, endtime, dislysType) {
|
421
|
421
|
const params = {
|
422
|
422
|
id: id,
|
423
|
423
|
limit: limit,
|
|
@@ -433,7 +433,7 @@ export function getDialysisRecord(id, limit, page, startime, endtime, dislysType
|
433
|
433
|
})
|
434
|
434
|
}
|
435
|
435
|
|
436
|
|
-export function GetDoctorAdviceDetail(date, id) {
|
|
436
|
+export function GetDoctorAdviceDetail (date, id) {
|
437
|
437
|
const params = {
|
438
|
438
|
date: date,
|
439
|
439
|
id: id
|
|
@@ -446,7 +446,7 @@ export function GetDoctorAdviceDetail(date, id) {
|
446
|
446
|
})
|
447
|
447
|
}
|
448
|
448
|
|
449
|
|
-export function DeleteManagement(id, params) {
|
|
449
|
+export function DeleteManagement (id, params) {
|
450
|
450
|
return request({
|
451
|
451
|
url: '/m/api/patient/deletemanagement?id=' + id,
|
452
|
452
|
method: 'delete',
|
|
@@ -454,7 +454,7 @@ export function DeleteManagement(id, params) {
|
454
|
454
|
})
|
455
|
455
|
}
|
456
|
456
|
|
457
|
|
-export function DeleteChild(id, params) {
|
|
457
|
+export function DeleteChild (id, params) {
|
458
|
458
|
return request({
|
459
|
459
|
url: '/m/api/patient/deletechild?id=' + id,
|
460
|
460
|
method: 'delete',
|
|
@@ -462,7 +462,7 @@ export function DeleteChild(id, params) {
|
462
|
462
|
})
|
463
|
463
|
}
|
464
|
464
|
|
465
|
|
-export function updatedPatient(data) {
|
|
465
|
+export function updatedPatient (data) {
|
466
|
466
|
return request({
|
467
|
467
|
url: '/m/api/patient/updatedpatient',
|
468
|
468
|
method: 'post',
|
|
@@ -470,7 +470,7 @@ export function updatedPatient(data) {
|
470
|
470
|
})
|
471
|
471
|
}
|
472
|
472
|
|
473
|
|
-export function getAllDoctor(params) {
|
|
473
|
+export function getAllDoctor (params) {
|
474
|
474
|
return request({
|
475
|
475
|
url: '/m/api/patient/getalldoctor',
|
476
|
476
|
method: 'get',
|
|
@@ -478,7 +478,7 @@ export function getAllDoctor(params) {
|
478
|
478
|
})
|
479
|
479
|
}
|
480
|
480
|
|
481
|
|
-export function GetAllProjectNameByDate(date, patientid) {
|
|
481
|
+export function GetAllProjectNameByDate (date, patientid) {
|
482
|
482
|
const params = {
|
483
|
483
|
date: date,
|
484
|
484
|
patientid: patientid
|
|
@@ -491,7 +491,7 @@ export function GetAllProjectNameByDate(date, patientid) {
|
491
|
491
|
})
|
492
|
492
|
}
|
493
|
493
|
|
494
|
|
-export function getAllInspection(params) {
|
|
494
|
+export function getAllInspection (params) {
|
495
|
495
|
return request({
|
496
|
496
|
url: '/m/api/patient/getallinspection',
|
497
|
497
|
method: 'get',
|
|
@@ -499,7 +499,7 @@ export function getAllInspection(params) {
|
499
|
499
|
})
|
500
|
500
|
}
|
501
|
501
|
|
502
|
|
-export function getInspection(id, limit, page, startime, endtime, projectid) {
|
|
502
|
+export function getInspection (id, limit, page, startime, endtime, projectid) {
|
503
|
503
|
const params = {
|
504
|
504
|
id: id,
|
505
|
505
|
limit: limit,
|
|
@@ -515,7 +515,7 @@ export function getInspection(id, limit, page, startime, endtime, projectid) {
|
515
|
515
|
})
|
516
|
516
|
}
|
517
|
517
|
|
518
|
|
-export function getMyInformation(id, params) {
|
|
518
|
+export function getMyInformation (id, params) {
|
519
|
519
|
return request({
|
520
|
520
|
url: '/m/api/patient/getmyinformation?id=' + id,
|
521
|
521
|
method: 'get',
|
|
@@ -523,7 +523,7 @@ export function getMyInformation(id, params) {
|
523
|
523
|
})
|
524
|
524
|
}
|
525
|
525
|
|
526
|
|
-export function getMyInformationThree(id, params) {
|
|
526
|
+export function getMyInformationThree (id, params) {
|
527
|
527
|
return request({
|
528
|
528
|
url: '/m/api/patient/getmyinformationThree?id=' + id,
|
529
|
529
|
method: 'get',
|
|
@@ -531,7 +531,7 @@ export function getMyInformationThree(id, params) {
|
531
|
531
|
})
|
532
|
532
|
}
|
533
|
533
|
|
534
|
|
-export function getPatientName(id, params) {
|
|
534
|
+export function getPatientName (id, params) {
|
535
|
535
|
return request({
|
536
|
536
|
url: '/m/api/patient/getpatientname?id=' + id,
|
537
|
537
|
method: 'get',
|
|
@@ -539,7 +539,7 @@ export function getPatientName(id, params) {
|
539
|
539
|
})
|
540
|
540
|
}
|
541
|
541
|
|
542
|
|
-export function getInspectionDetail(patientid, date, projectid) {
|
|
542
|
+export function getInspectionDetail (patientid, date, projectid) {
|
543
|
543
|
const params = {
|
544
|
544
|
patientid: patientid,
|
545
|
545
|
date: date,
|
|
@@ -552,7 +552,7 @@ export function getInspectionDetail(patientid, date, projectid) {
|
552
|
552
|
})
|
553
|
553
|
}
|
554
|
554
|
|
555
|
|
-export function submitFeed(params) {
|
|
555
|
+export function submitFeed (params) {
|
556
|
556
|
return request({
|
557
|
557
|
url: '/m/api/patient/savefeed',
|
558
|
558
|
method: 'get',
|
|
@@ -560,7 +560,7 @@ export function submitFeed(params) {
|
560
|
560
|
})
|
561
|
561
|
}
|
562
|
562
|
|
563
|
|
-export function DeleteInspection(date) {
|
|
563
|
+export function DeleteInspection (date) {
|
564
|
564
|
const params = {
|
565
|
565
|
date: date
|
566
|
566
|
}
|
|
@@ -571,7 +571,7 @@ export function DeleteInspection(date) {
|
571
|
571
|
})
|
572
|
572
|
}
|
573
|
573
|
|
574
|
|
-export function DeleteChildInspection(name, date) {
|
|
574
|
+export function DeleteChildInspection (name, date) {
|
575
|
575
|
const params = {
|
576
|
576
|
name: name,
|
577
|
577
|
date: date
|
|
@@ -583,7 +583,7 @@ export function DeleteChildInspection(name, date) {
|
583
|
583
|
})
|
584
|
584
|
}
|
585
|
585
|
|
586
|
|
-export function SaveMessage(params) {
|
|
586
|
+export function SaveMessage (params) {
|
587
|
587
|
return request({
|
588
|
588
|
url: '/m/api/patient/savemessage',
|
589
|
589
|
method: 'get',
|
|
@@ -591,7 +591,7 @@ export function SaveMessage(params) {
|
591
|
591
|
})
|
592
|
592
|
}
|
593
|
593
|
|
594
|
|
-export function SaveSex(sex, id, orgid) {
|
|
594
|
+export function SaveSex (sex, id, orgid) {
|
595
|
595
|
const params = {
|
596
|
596
|
sex: sex,
|
597
|
597
|
id: id,
|
|
@@ -604,7 +604,7 @@ export function SaveSex(sex, id, orgid) {
|
604
|
604
|
})
|
605
|
605
|
}
|
606
|
606
|
|
607
|
|
-export function SaveBirthday(data) {
|
|
607
|
+export function SaveBirthday (data) {
|
608
|
608
|
return request({
|
609
|
609
|
url: '/m/api/patient/savebirthday',
|
610
|
610
|
method: 'post',
|
|
@@ -612,7 +612,7 @@ export function SaveBirthday(data) {
|
612
|
612
|
})
|
613
|
613
|
}
|
614
|
614
|
|
615
|
|
-export function getOrgName(id, params) {
|
|
615
|
+export function getOrgName (id, params) {
|
616
|
616
|
return request({
|
617
|
617
|
url: '/m/api/patient/getorgname?id=' + id,
|
618
|
618
|
method: 'Get',
|
|
@@ -620,7 +620,7 @@ export function getOrgName(id, params) {
|
620
|
620
|
})
|
621
|
621
|
}
|
622
|
622
|
|
623
|
|
-export function getRoleName(id, orgid) {
|
|
623
|
+export function getRoleName (id, orgid) {
|
624
|
624
|
const params = {
|
625
|
625
|
id: id,
|
626
|
626
|
orgid: orgid
|
|
@@ -633,7 +633,7 @@ export function getRoleName(id, orgid) {
|
633
|
633
|
})
|
634
|
634
|
}
|
635
|
635
|
|
636
|
|
-export function SavePartition(params) {
|
|
636
|
+export function SavePartition (params) {
|
637
|
637
|
return request({
|
638
|
638
|
url: '/m/api/patient/savepartition',
|
639
|
639
|
method: 'get',
|
|
@@ -641,7 +641,7 @@ export function SavePartition(params) {
|
641
|
641
|
})
|
642
|
642
|
}
|
643
|
643
|
|
644
|
|
-export function GetAllZone(page, limit) {
|
|
644
|
+export function GetAllZone (page, limit) {
|
645
|
645
|
const params = {
|
646
|
646
|
page: page,
|
647
|
647
|
limit: limit
|
|
@@ -653,7 +653,7 @@ export function GetAllZone(page, limit) {
|
653
|
653
|
})
|
654
|
654
|
}
|
655
|
655
|
|
656
|
|
-export function DeleteZone(id, params) {
|
|
656
|
+export function DeleteZone (id, params) {
|
657
|
657
|
return request({
|
658
|
658
|
url: '/m/api/patient/deletezone?id=' + id,
|
659
|
659
|
method: 'delete',
|
|
@@ -661,7 +661,7 @@ export function DeleteZone(id, params) {
|
661
|
661
|
})
|
662
|
662
|
}
|
663
|
663
|
|
664
|
|
-export function saveGroup(params) {
|
|
664
|
+export function saveGroup (params) {
|
665
|
665
|
return request({
|
666
|
666
|
url: '/m/api/patient/savegroup',
|
667
|
667
|
method: 'get',
|
|
@@ -669,7 +669,7 @@ export function saveGroup(params) {
|
669
|
669
|
})
|
670
|
670
|
}
|
671
|
671
|
|
672
|
|
-export function getAllGroup(page, limit) {
|
|
672
|
+export function getAllGroup (page, limit) {
|
673
|
673
|
const params = {
|
674
|
674
|
page: page,
|
675
|
675
|
limit: limit
|
|
@@ -681,7 +681,7 @@ export function getAllGroup(page, limit) {
|
681
|
681
|
})
|
682
|
682
|
}
|
683
|
683
|
|
684
|
|
-export function DeleteGroup(id, params) {
|
|
684
|
+export function DeleteGroup (id, params) {
|
685
|
685
|
return request({
|
686
|
686
|
url: '/m/api/patient/deletegroup?id=' + id,
|
687
|
687
|
method: 'delete',
|
|
@@ -689,7 +689,7 @@ export function DeleteGroup(id, params) {
|
689
|
689
|
})
|
690
|
690
|
}
|
691
|
691
|
|
692
|
|
-export function getAllGroupOne(params) {
|
|
692
|
+export function getAllGroupOne (params) {
|
693
|
693
|
return request({
|
694
|
694
|
url: '/m/api/patient/getallgroupone',
|
695
|
695
|
method: 'get',
|
|
@@ -697,7 +697,7 @@ export function getAllGroupOne(params) {
|
697
|
697
|
})
|
698
|
698
|
}
|
699
|
699
|
|
700
|
|
-export function SaveBed(params) {
|
|
700
|
+export function SaveBed (params) {
|
701
|
701
|
return request({
|
702
|
702
|
url: '/m/api/patient/savebed',
|
703
|
703
|
method: 'get',
|
|
@@ -705,7 +705,7 @@ export function SaveBed(params) {
|
705
|
705
|
})
|
706
|
706
|
}
|
707
|
707
|
|
708
|
|
-export function GetAllNumber(page, limit) {
|
|
708
|
+export function GetAllNumber (page, limit) {
|
709
|
709
|
const params = {
|
710
|
710
|
page: page,
|
711
|
711
|
limit: limit
|
|
@@ -717,7 +717,7 @@ export function GetAllNumber(page, limit) {
|
717
|
717
|
})
|
718
|
718
|
}
|
719
|
719
|
|
720
|
|
-export function DeleteBed(id, params) {
|
|
720
|
+export function DeleteBed (id, params) {
|
721
|
721
|
return request({
|
722
|
722
|
url: '/m/api/patient/deletebed?id=' + id,
|
723
|
723
|
method: 'delete',
|
|
@@ -725,7 +725,7 @@ export function DeleteBed(id, params) {
|
725
|
725
|
})
|
726
|
726
|
}
|
727
|
727
|
|
728
|
|
-export function LoginOut(id, params) {
|
|
728
|
+export function LoginOut (id, params) {
|
729
|
729
|
return request({
|
730
|
730
|
url: '/m/api/patient/loginout?id=' + id,
|
731
|
731
|
method: 'get',
|
|
@@ -733,7 +733,7 @@ export function LoginOut(id, params) {
|
733
|
733
|
})
|
734
|
734
|
}
|
735
|
735
|
|
736
|
|
-export function getMemberPatient(params) {
|
|
736
|
+export function getMemberPatient (params) {
|
737
|
737
|
return request({
|
738
|
738
|
url: '/m/api/patient/getmemberpatient',
|
739
|
739
|
method: 'get',
|
|
@@ -741,7 +741,7 @@ export function getMemberPatient(params) {
|
741
|
741
|
})
|
742
|
742
|
}
|
743
|
743
|
|
744
|
|
-export function getSlowPatient(params) {
|
|
744
|
+export function getSlowPatient (params) {
|
745
|
745
|
return request({
|
746
|
746
|
url: '/m/api/patient/getslowpatient',
|
747
|
747
|
method: 'get',
|
|
@@ -749,7 +749,7 @@ export function getSlowPatient(params) {
|
749
|
749
|
})
|
750
|
750
|
}
|
751
|
751
|
|
752
|
|
-export function getBloodPatient(params) {
|
|
752
|
+export function getBloodPatient (params) {
|
753
|
753
|
return request({
|
754
|
754
|
url: '/m/api/patient/getbloodpatient',
|
755
|
755
|
method: 'get',
|
|
@@ -757,7 +757,7 @@ export function getBloodPatient(params) {
|
757
|
757
|
})
|
758
|
758
|
}
|
759
|
759
|
|
760
|
|
-export function DeletePatient(id, params) {
|
|
760
|
+export function DeletePatient (id, params) {
|
761
|
761
|
return request({
|
762
|
762
|
url: '/m/api/patient/deletePatient?id=' + id,
|
763
|
763
|
method: 'delete',
|
|
@@ -765,7 +765,7 @@ export function DeletePatient(id, params) {
|
765
|
765
|
})
|
766
|
766
|
}
|
767
|
767
|
|
768
|
|
-export function saveName(id, name) {
|
|
768
|
+export function saveName (id, name) {
|
769
|
769
|
const params = {
|
770
|
770
|
id: id,
|
771
|
771
|
name: name
|
|
@@ -777,7 +777,7 @@ export function saveName(id, name) {
|
777
|
777
|
})
|
778
|
778
|
}
|
779
|
779
|
|
780
|
|
-export function saveNameTwo(id, name, orgid) {
|
|
780
|
+export function saveNameTwo (id, name, orgid) {
|
781
|
781
|
const params = {
|
782
|
782
|
id: id,
|
783
|
783
|
name: name,
|
|
@@ -790,7 +790,7 @@ export function saveNameTwo(id, name, orgid) {
|
790
|
790
|
})
|
791
|
791
|
}
|
792
|
792
|
|
793
|
|
-export function getAllOrganization(id, params) {
|
|
793
|
+export function getAllOrganization (id, params) {
|
794
|
794
|
return request({
|
795
|
795
|
url: '/m/api/patient/getallorganization?id=' + id,
|
796
|
796
|
method: 'get',
|
|
@@ -798,7 +798,7 @@ export function getAllOrganization(id, params) {
|
798
|
798
|
})
|
799
|
799
|
}
|
800
|
800
|
|
801
|
|
-export function getMyOrganazition(id, params) {
|
|
801
|
+export function getMyOrganazition (id, params) {
|
802
|
802
|
return request({
|
803
|
803
|
url: '/m/api/patient/getmyorganazition?id=' + id,
|
804
|
804
|
method: 'get',
|
|
@@ -806,7 +806,7 @@ export function getMyOrganazition(id, params) {
|
806
|
806
|
})
|
807
|
807
|
}
|
808
|
808
|
|
809
|
|
-export function getOrgInformation(id, params) {
|
|
809
|
+export function getOrgInformation (id, params) {
|
810
|
810
|
return request({
|
811
|
811
|
url: '/m/api/org/getorginformation?id=' + id,
|
812
|
812
|
method: 'get',
|
|
@@ -814,7 +814,7 @@ export function getOrgInformation(id, params) {
|
814
|
814
|
})
|
815
|
815
|
}
|
816
|
816
|
|
817
|
|
-export function getAllOrgType(params) {
|
|
817
|
+export function getAllOrgType (params) {
|
818
|
818
|
return request({
|
819
|
819
|
url: '/m/api/patient/getallorgtype',
|
820
|
820
|
method: 'get',
|
|
@@ -822,7 +822,7 @@ export function getAllOrgType(params) {
|
822
|
822
|
})
|
823
|
823
|
}
|
824
|
824
|
|
825
|
|
-export function updateOrg(params, id) {
|
|
825
|
+export function updateOrg (params, id) {
|
826
|
826
|
return request({
|
827
|
827
|
url: '/m/api/patient/editorg?id=' + id,
|
828
|
828
|
method: 'get',
|
|
@@ -830,7 +830,7 @@ export function updateOrg(params, id) {
|
830
|
830
|
})
|
831
|
831
|
}
|
832
|
832
|
|
833
|
|
-export function getMyInforName(id, orgid) {
|
|
833
|
+export function getMyInforName (id, orgid) {
|
834
|
834
|
const params = {
|
835
|
835
|
id: id,
|
836
|
836
|
orgid: orgid
|
|
@@ -843,7 +843,7 @@ export function getMyInforName(id, orgid) {
|
843
|
843
|
})
|
844
|
844
|
}
|
845
|
845
|
|
846
|
|
-export function getPartionDetail(id, params) {
|
|
846
|
+export function getPartionDetail (id, params) {
|
847
|
847
|
return request({
|
848
|
848
|
url: '/m/api/patient/getpartiondetail?id=' + id,
|
849
|
849
|
method: 'get',
|
|
@@ -851,7 +851,7 @@ export function getPartionDetail(id, params) {
|
851
|
851
|
})
|
852
|
852
|
}
|
853
|
853
|
|
854
|
|
-export function UpdatePartition(params) {
|
|
854
|
+export function UpdatePartition (params) {
|
855
|
855
|
return request({
|
856
|
856
|
url: '/m/api/patient/updatepartition',
|
857
|
857
|
method: 'get',
|
|
@@ -859,7 +859,7 @@ export function UpdatePartition(params) {
|
859
|
859
|
})
|
860
|
860
|
}
|
861
|
861
|
|
862
|
|
-export function getGroupDetail(id, params) {
|
|
862
|
+export function getGroupDetail (id, params) {
|
863
|
863
|
return request({
|
864
|
864
|
url: '/m/api/patient/getgroupdetail?id=' + id,
|
865
|
865
|
method: 'get',
|
|
@@ -867,7 +867,7 @@ export function getGroupDetail(id, params) {
|
867
|
867
|
})
|
868
|
868
|
}
|
869
|
869
|
|
870
|
|
-export function updateGroup(params) {
|
|
870
|
+export function updateGroup (params) {
|
871
|
871
|
return request({
|
872
|
872
|
url: '/m/api/patient/updategroup',
|
873
|
873
|
method: 'get',
|
|
@@ -875,7 +875,7 @@ export function updateGroup(params) {
|
875
|
875
|
})
|
876
|
876
|
}
|
877
|
877
|
|
878
|
|
-export function getBedDetail(id, params) {
|
|
878
|
+export function getBedDetail (id, params) {
|
879
|
879
|
return request({
|
880
|
880
|
url: '/m/api/patient/getbeddetail?id=' + id,
|
881
|
881
|
method: 'get',
|
|
@@ -883,8 +883,7 @@ export function getBedDetail(id, params) {
|
883
|
883
|
})
|
884
|
884
|
}
|
885
|
885
|
|
886
|
|
-export function updateBed(params) {
|
887
|
|
- console.log('params', params)
|
|
886
|
+export function updateBed (params) {
|
888
|
887
|
return request({
|
889
|
888
|
url: '/m/api/patient/updatebed',
|
890
|
889
|
method: 'get',
|
|
@@ -892,7 +891,7 @@ export function updateBed(params) {
|
892
|
891
|
})
|
893
|
892
|
}
|
894
|
893
|
|
895
|
|
-export function getMyOrgInformation(creator, params) {
|
|
894
|
+export function getMyOrgInformation (creator, params) {
|
896
|
895
|
return request({
|
897
|
896
|
url: '/m/api/patient/getmyorginformation?creator=' + creator,
|
898
|
897
|
method: 'get',
|
|
@@ -900,7 +899,7 @@ export function getMyOrgInformation(creator, params) {
|
900
|
899
|
})
|
901
|
900
|
}
|
902
|
901
|
|
903
|
|
-export function getCurrentOrg(params) {
|
|
902
|
+export function getCurrentOrg (params) {
|
904
|
903
|
return request({
|
905
|
904
|
url: '/m/api/patient/getcurrentorg',
|
906
|
905
|
method: 'get',
|
|
@@ -908,7 +907,7 @@ export function getCurrentOrg(params) {
|
908
|
907
|
})
|
909
|
908
|
}
|
910
|
909
|
|
911
|
|
-export function getMyInformationFour(params) {
|
|
910
|
+export function getMyInformationFour (params) {
|
912
|
911
|
return request({
|
913
|
912
|
url: '/m/api/patient/getmyinformationfour',
|
914
|
913
|
method: 'get',
|
|
@@ -916,7 +915,7 @@ export function getMyInformationFour(params) {
|
916
|
915
|
})
|
917
|
916
|
}
|
918
|
917
|
|
919
|
|
-export function submitForm(params) {
|
|
918
|
+export function submitForm (params) {
|
920
|
919
|
return request({
|
921
|
920
|
url: '/m/api/patient/sumitform',
|
922
|
921
|
method: 'Get',
|
|
@@ -924,7 +923,7 @@ export function submitForm(params) {
|
924
|
923
|
})
|
925
|
924
|
}
|
926
|
925
|
|
927
|
|
-export function getRolePosition(params) {
|
|
926
|
+export function getRolePosition (params) {
|
928
|
927
|
return request({
|
929
|
928
|
url: '/m/api/patient/getroleposition',
|
930
|
929
|
method: 'get',
|
|
@@ -932,7 +931,7 @@ export function getRolePosition(params) {
|
932
|
931
|
})
|
933
|
932
|
}
|
934
|
933
|
|
935
|
|
-export function getMobile(params) {
|
|
934
|
+export function getMobile (params) {
|
936
|
935
|
console.log('params', params)
|
937
|
936
|
return request({
|
938
|
937
|
url: '/m/api/patient/getmobile',
|
|
@@ -941,7 +940,7 @@ export function getMobile(params) {
|
941
|
940
|
})
|
942
|
941
|
}
|
943
|
942
|
|
944
|
|
-export function getOrgs(params) {
|
|
943
|
+export function getOrgs (params) {
|
945
|
944
|
return request({
|
946
|
945
|
url: '/m/api/patient/getorgs',
|
947
|
946
|
method: 'get',
|