|
@@ -1,113 +1,114 @@
|
1
|
1
|
import request from '@/utils/request'
|
2
|
2
|
|
3
|
|
-export function getDialysisScheduals (params) {
|
|
3
|
+export function getDialysisScheduals(params) {
|
4
|
4
|
return request({
|
5
|
5
|
url: '/m/api/scheduals',
|
6
|
6
|
method: 'get',
|
7
|
|
- params: params,
|
|
7
|
+ params: params
|
8
|
8
|
})
|
9
|
9
|
}
|
10
|
10
|
|
11
|
|
-export function getWaitingScheduals (params) {
|
|
11
|
+export function getWaitingScheduals(params) {
|
12
|
12
|
return request({
|
13
|
13
|
url: '/m/api/waiting_scheduals',
|
14
|
14
|
method: 'get',
|
15
|
|
- params: params,
|
|
15
|
+ params: params
|
16
|
16
|
})
|
17
|
17
|
}
|
18
|
18
|
|
19
|
|
-export function getDialysisRecord (params) {
|
|
19
|
+export function getDialysisRecord(params) {
|
20
|
20
|
return request({
|
21
|
21
|
url: '/m/api/dialysis/record',
|
22
|
22
|
method: 'get',
|
23
|
|
- params: params,
|
|
23
|
+ params: params
|
24
|
24
|
})
|
25
|
25
|
}
|
26
|
26
|
|
27
|
|
-export function dialysisGlobalConfig () {
|
|
27
|
+export function dialysisGlobalConfig() {
|
28
|
28
|
return request({
|
29
|
29
|
url: '/m/api/dialysisglobalconfig',
|
30
|
|
- method: 'get',
|
|
30
|
+ method: 'get'
|
31
|
31
|
})
|
32
|
32
|
}
|
33
|
33
|
|
34
|
|
-export function commitTreatmentSummary (params) {
|
|
34
|
+export function commitTreatmentSummary(params) {
|
35
|
35
|
return request({
|
36
|
36
|
url: '/m/api/dialysis/treatmentSummary',
|
37
|
37
|
method: 'post',
|
38
|
|
- params: params,
|
|
38
|
+ params: params
|
39
|
39
|
|
40
|
40
|
})
|
41
|
41
|
}
|
42
|
42
|
|
43
|
|
-export function commitDoubleCheck (params) {
|
|
43
|
+export function commitDoubleCheck(params) {
|
44
|
44
|
return request({
|
45
|
45
|
url: '/m/api/dialysis/doublecheck',
|
46
|
46
|
method: 'post',
|
47
|
|
- params: params,
|
|
47
|
+ params: params
|
48
|
48
|
|
49
|
49
|
})
|
50
|
50
|
}
|
51
|
51
|
|
52
|
|
-export function commitAcceptsAssessment (params) {
|
|
52
|
+export function commitAcceptsAssessment(params) {
|
53
|
53
|
return request({
|
54
|
54
|
url: '/m/api/dialysis/acceptsAssessment',
|
55
|
55
|
method: 'post',
|
56
|
|
- params: params,
|
|
56
|
+ params: params
|
57
|
57
|
|
58
|
58
|
})
|
59
|
59
|
}
|
60
|
60
|
|
61
|
|
-export function finish (params) {
|
|
61
|
+export function finish(params) {
|
62
|
62
|
return request({
|
63
|
63
|
url: '/m/api/dialysis/finish',
|
64
|
64
|
method: 'post',
|
65
|
|
- params: params,
|
|
65
|
+ params: params
|
66
|
66
|
})
|
67
|
67
|
}
|
68
|
68
|
|
69
|
|
-export function commitDialysisPrescription (params) {
|
|
69
|
+export function commitDialysisPrescription(params) {
|
70
|
70
|
console.log(params)
|
71
|
71
|
return request({
|
72
|
72
|
url: '/m/api/dialysis/dialysisPrescription',
|
73
|
73
|
method: 'post',
|
74
|
|
- params: params,
|
|
74
|
+ params: params
|
75
|
75
|
})
|
76
|
76
|
}
|
77
|
77
|
|
78
|
|
-export function commitAssessmentAfterDislysis (params) {
|
|
78
|
+export function commitAssessmentAfterDislysis(params) {
|
79
|
79
|
return request({
|
80
|
80
|
url: '/m/api/dialysis/assessmentAfterDislysis',
|
81
|
81
|
method: 'post',
|
82
|
|
- params: params,
|
|
82
|
+ params: params
|
83
|
83
|
})
|
84
|
84
|
}
|
85
|
85
|
|
86
|
|
-export function addMonitorRecord (params) {
|
|
86
|
+export function addMonitorRecord(params) {
|
87
|
87
|
return request({
|
88
|
88
|
url: '/m/api/monitor/add',
|
89
|
89
|
method: 'post',
|
90
|
|
- params: params,
|
|
90
|
+ params: params
|
91
|
91
|
})
|
92
|
92
|
}
|
93
|
93
|
|
94
|
|
-export function editMonitorRecord (params) {
|
|
94
|
+export function editMonitorRecord(params) {
|
|
95
|
+ console.log('params', params)
|
95
|
96
|
return request({
|
96
|
97
|
url: '/m/api/monitor/edit',
|
97
|
98
|
method: 'post',
|
98
|
|
- params: params,
|
|
99
|
+ params: params
|
99
|
100
|
})
|
100
|
101
|
}
|
101
|
102
|
|
102
|
|
-export function deleteMonitorRecord (params) {
|
|
103
|
+export function deleteMonitorRecord(params) {
|
103
|
104
|
return request({
|
104
|
105
|
url: '/m/api/monitor/delete',
|
105
|
106
|
method: 'post',
|
106
|
|
- params: params,
|
|
107
|
+ params: params
|
107
|
108
|
})
|
108
|
109
|
}
|
109
|
110
|
|
110
|
|
-export function GetAllZone (params) {
|
|
111
|
+export function GetAllZone(params) {
|
111
|
112
|
return request({
|
112
|
113
|
url: '/m/api/dialysis/allzone',
|
113
|
114
|
method: 'get',
|
|
@@ -115,7 +116,7 @@ export function GetAllZone (params) {
|
115
|
116
|
})
|
116
|
117
|
}
|
117
|
118
|
|
118
|
|
-export function getSchedualPatient (params) {
|
|
119
|
+export function getSchedualPatient(params) {
|
119
|
120
|
return request({
|
120
|
121
|
url: '/m/api/dialysis/patients',
|
121
|
122
|
method: 'get',
|
|
@@ -123,7 +124,7 @@ export function getSchedualPatient (params) {
|
123
|
124
|
})
|
124
|
125
|
}
|
125
|
126
|
|
126
|
|
-export function postSolution (params) {
|
|
127
|
+export function postSolution(params) {
|
127
|
128
|
return request({
|
128
|
129
|
url: '/m/api/solution',
|
129
|
130
|
method: 'post',
|
|
@@ -131,7 +132,7 @@ export function postSolution (params) {
|
131
|
132
|
})
|
132
|
133
|
}
|
133
|
134
|
|
134
|
|
-export function startDialysis (params) {
|
|
135
|
+export function startDialysis(params) {
|
135
|
136
|
return request({
|
136
|
137
|
url: '/m/api/dialysis/start',
|
137
|
138
|
method: 'post',
|
|
@@ -139,7 +140,7 @@ export function startDialysis (params) {
|
139
|
140
|
})
|
140
|
141
|
}
|
141
|
142
|
|
142
|
|
-export function getLastAccepts (params) {
|
|
143
|
+export function getLastAccepts(params) {
|
143
|
144
|
return request({
|
144
|
145
|
url: '/m/api/accepts/get',
|
145
|
146
|
method: 'get',
|
|
@@ -147,7 +148,7 @@ export function getLastAccepts (params) {
|
147
|
148
|
})
|
148
|
149
|
}
|
149
|
150
|
|
150
|
|
-export function getPrintDialysisRecord (params) {
|
|
151
|
+export function getPrintDialysisRecord(params) {
|
151
|
152
|
return request({
|
152
|
153
|
url: '/m/api/print/dialysisorder',
|
153
|
154
|
method: 'Get',
|
|
@@ -155,7 +156,7 @@ export function getPrintDialysisRecord (params) {
|
155
|
156
|
})
|
156
|
157
|
}
|
157
|
158
|
|
158
|
|
-export function getUrgentScheduleInitData (params) {
|
|
159
|
+export function getUrgentScheduleInitData(params) {
|
159
|
160
|
return request({
|
160
|
161
|
url: '/m/api/schedule/urgentinit',
|
161
|
162
|
method: 'Get',
|
|
@@ -163,15 +164,15 @@ export function getUrgentScheduleInitData (params) {
|
163
|
164
|
})
|
164
|
165
|
}
|
165
|
166
|
|
166
|
|
-export function postUrgentSchedule (params) {
|
|
167
|
+export function postUrgentSchedule(params) {
|
167
|
168
|
return request({
|
168
|
169
|
url: '/m/api/schedule/urgentadd',
|
169
|
170
|
method: 'post',
|
170
|
|
- params: params,
|
|
171
|
+ params: params
|
171
|
172
|
})
|
172
|
173
|
}
|
173
|
174
|
|
174
|
|
-export function postSign (params) {
|
|
175
|
+export function postSign(params) {
|
175
|
176
|
return request({
|
176
|
177
|
url: '/m/api/dialysis/sign',
|
177
|
178
|
method: 'Post',
|
|
@@ -180,7 +181,7 @@ export function postSign (params) {
|
180
|
181
|
})
|
181
|
182
|
}
|
182
|
183
|
|
183
|
|
-export function GetMonitor (params) {
|
|
184
|
+export function GetMonitor(params) {
|
184
|
185
|
return request({
|
185
|
186
|
url: '/m/api/monitor/get',
|
186
|
187
|
method: 'get',
|
|
@@ -188,7 +189,7 @@ export function GetMonitor (params) {
|
188
|
189
|
})
|
189
|
190
|
}
|
190
|
191
|
|
191
|
|
-export function GetMonitorToday (params) {
|
|
192
|
+export function GetMonitorToday(params) {
|
192
|
193
|
return request({
|
193
|
194
|
url: '/m/api/monitor/gettodaylast',
|
194
|
195
|
method: 'get',
|
|
@@ -196,7 +197,7 @@ export function GetMonitorToday (params) {
|
196
|
197
|
})
|
197
|
198
|
}
|
198
|
199
|
|
199
|
|
-export function PostSearch (keyword) {
|
|
200
|
+export function PostSearch(keyword) {
|
200
|
201
|
return request({
|
201
|
202
|
url: '/m/api/patients/search?keyword=' + keyword,
|
202
|
203
|
method: 'post'
|
|
@@ -204,64 +205,50 @@ export function PostSearch (keyword) {
|
204
|
205
|
})
|
205
|
206
|
}
|
206
|
207
|
|
207
|
|
-export function PostModifyStartDialysis (params) {
|
|
208
|
+export function PostModifyStartDialysis(params) {
|
208
|
209
|
return request({
|
209
|
210
|
url: '/m/api/startOrder/edit',
|
210
|
211
|
method: 'post',
|
211
|
|
- params: params,
|
|
212
|
+ params: params
|
212
|
213
|
})
|
213
|
214
|
}
|
214
|
215
|
|
215
|
|
-export function PostModifyEndDialysis (params) {
|
|
216
|
+export function PostModifyEndDialysis(params) {
|
216
|
217
|
return request({
|
217
|
218
|
url: '/m/api/finishOrder/edit',
|
218
|
219
|
method: 'post',
|
219
|
|
- params: params,
|
|
220
|
+ params: params
|
220
|
221
|
})
|
221
|
222
|
}
|
222
|
223
|
|
223
|
|
-
|
224
|
|
-
|
225
|
|
-
|
226
|
|
-export function CreateGroupAdvice(id, groupno, advices){
|
|
224
|
+export function CreateGroupAdvice(id, groupno, advices) {
|
227
|
225
|
return request({
|
228
|
|
- url:'/m/api/advice_remind/create?id='+id + '&groupno=' + groupno,
|
229
|
|
- method:'post',
|
230
|
|
- data:advices,
|
|
226
|
+ url: '/m/api/advice_remind/create?id=' + id + '&groupno=' + groupno,
|
|
227
|
+ method: 'post',
|
|
228
|
+ data: advices
|
231
|
229
|
})
|
232
|
|
-
|
233
|
230
|
}
|
234
|
231
|
|
235
|
|
-
|
236
|
|
-export function CreateDryWeight(params){
|
|
232
|
+export function CreateDryWeight(params) {
|
237
|
233
|
return request({
|
238
|
|
- url:"/m/api/dryweight/commit",
|
239
|
|
- method:'post',
|
240
|
|
- params:params,
|
|
234
|
+ url: '/m/api/dryweight/commit',
|
|
235
|
+ method: 'post',
|
|
236
|
+ params: params
|
241
|
237
|
})
|
242
|
|
-
|
243
|
238
|
}
|
244
|
239
|
|
245
|
|
-
|
246
|
|
-export function GetSolution(params){
|
|
240
|
+export function GetSolution(params) {
|
247
|
241
|
return request({
|
248
|
|
- url:"/m/api/solution/get",
|
249
|
|
- method:'get',
|
250
|
|
- params:params,
|
|
242
|
+ url: '/m/api/solution/get',
|
|
243
|
+ method: 'get',
|
|
244
|
+ params: params
|
251
|
245
|
})
|
252
|
|
-
|
253
|
246
|
}
|
254
|
247
|
|
255
|
|
-
|
256
|
|
-
|
257
|
|
-
|
258
|
|
-
|
259
|
|
-
|
260
|
|
-export function GetSchedualNumber(params){
|
|
248
|
+export function GetSchedualNumber(params) {
|
261
|
249
|
return request({
|
262
|
|
- url:"/m/api/schedule/get",
|
263
|
|
- method:'get',
|
264
|
|
- params:params,
|
|
250
|
+ url: '/m/api/schedule/get',
|
|
251
|
+ method: 'get',
|
|
252
|
+ params: params
|
265
|
253
|
})
|
266
|
|
-
|
267
|
254
|
}
|