|
@@ -1,18 +1,15 @@
|
1
|
1
|
import request from '@/utils/request'
|
2
|
2
|
|
3
|
|
-export function getWeekPanels(t,patitionId) {
|
4
|
|
-
|
|
3
|
+export function getWeekPanels(t, patitionId) {
|
5
|
4
|
return request({
|
6
|
|
- url: '/api/schedule/weekpanel?data=' + t+"&patitionid="+patitionId,
|
|
5
|
+ url: '/api/schedule/weekpanel?data=' + t + '&patitionid=' + patitionId,
|
7
|
6
|
method: 'get'
|
8
|
7
|
})
|
9
|
8
|
}
|
10
|
9
|
|
11
|
|
-
|
12
|
|
-export function getWeekPanelsOne(t,patitionId){
|
13
|
|
-
|
|
10
|
+export function getWeekPanelsOne(t, patitionId) {
|
14
|
11
|
return request({
|
15
|
|
- url: '/api/schedule/weekpanelone?data=' + t+"&patitionid="+patitionId,
|
|
12
|
+ url: '/api/schedule/weekpanelone?data=' + t + '&patitionid=' + patitionId,
|
16
|
13
|
method: 'get'
|
17
|
14
|
})
|
18
|
15
|
}
|
|
@@ -21,15 +18,15 @@ export function getSchedules(params) {
|
21
|
18
|
return request({
|
22
|
19
|
url: '/api/schedule/schedules',
|
23
|
20
|
method: 'get',
|
24
|
|
- params:params,
|
|
21
|
+ params: params
|
25
|
22
|
})
|
26
|
23
|
}
|
27
|
24
|
|
28
|
|
-export function getSchedulesOne(params){
|
|
25
|
+export function getSchedulesOne(params) {
|
29
|
26
|
return request({
|
30
|
27
|
url: '/api/schedule/schedulesone',
|
31
|
28
|
method: 'get',
|
32
|
|
- params:params,
|
|
29
|
+ params: params
|
33
|
30
|
})
|
34
|
31
|
}
|
35
|
32
|
|
|
@@ -72,12 +69,12 @@ export function GetPatientSchedules(id) {
|
72
|
69
|
})
|
73
|
70
|
}
|
74
|
71
|
|
75
|
|
-export function GetWeekSchedulePrintInitData(date,type) {
|
|
72
|
+export function GetWeekSchedulePrintInitData(date, type) {
|
76
|
73
|
return request({
|
77
|
74
|
url: '/api/schedule/print/initdata',
|
78
|
75
|
method: 'get',
|
79
|
76
|
params: {
|
80
|
|
- date: date,
|
|
77
|
+ date: date
|
81
|
78
|
}
|
82
|
79
|
})
|
83
|
80
|
}
|
|
@@ -106,24 +103,21 @@ export function getScheduleWeekDay(params) {
|
106
|
103
|
})
|
107
|
104
|
}
|
108
|
105
|
|
109
|
|
-
|
110
|
|
-export function exportSchedule(params,date) {
|
|
106
|
+export function exportSchedule(params, date) {
|
111
|
107
|
return request({
|
112
|
|
- url: '/api/schedule/export?date='+date,
|
|
108
|
+ url: '/api/schedule/export?date=' + date,
|
113
|
109
|
method: 'Post',
|
114
|
110
|
data: params
|
115
|
111
|
})
|
116
|
112
|
}
|
117
|
113
|
|
118
|
|
-
|
119
|
114
|
export function initDate() {
|
120
|
115
|
return request({
|
121
|
116
|
url: '/api/excel_date/init',
|
122
|
|
- method: 'Get',
|
|
117
|
+ method: 'Get'
|
123
|
118
|
})
|
124
|
119
|
}
|
125
|
120
|
|
126
|
|
-
|
127
|
121
|
export function exportScheduleTemplate(params) {
|
128
|
122
|
return request({
|
129
|
123
|
url: '/api/schedule_template/export',
|
|
@@ -132,110 +126,106 @@ export function exportScheduleTemplate(params) {
|
132
|
126
|
})
|
133
|
127
|
}
|
134
|
128
|
|
135
|
|
-
|
136
|
|
-export function getNextScheduleWeekDay(params){
|
137
|
|
-
|
|
129
|
+export function getNextScheduleWeekDay(params) {
|
138
|
130
|
return request({
|
139
|
|
- url:"/api/schedule/getnextscheduleweekday",
|
140
|
|
- method:"get",
|
141
|
|
- params:params
|
|
131
|
+ url: '/api/schedule/getnextscheduleweekday',
|
|
132
|
+ method: 'get',
|
|
133
|
+ params: params
|
142
|
134
|
})
|
143
|
135
|
}
|
144
|
136
|
|
|
137
|
+export function getThreeWeekList(params) {
|
|
138
|
+ return request({
|
|
139
|
+ url: '/api/schedule/getthreeweeklist',
|
|
140
|
+ method: 'get',
|
|
141
|
+ params: params
|
|
142
|
+ })
|
|
143
|
+}
|
145
|
144
|
|
146
|
|
-export function getThreeWeekList(params){
|
147
|
|
-
|
|
145
|
+export function getAllZones(params) {
|
148
|
146
|
return request({
|
149
|
|
- url:"/api/schedule/getthreeweeklist",
|
150
|
|
- method:"get",
|
151
|
|
- params:params
|
|
147
|
+ url: '/api/schedule/getallzones',
|
|
148
|
+ method: 'get',
|
|
149
|
+ params: params
|
152
|
150
|
})
|
153
|
151
|
}
|
154
|
152
|
|
155
|
|
-export function getAllZones(params){
|
156
|
|
-
|
|
153
|
+export function copyPatientSchedule(params) {
|
157
|
154
|
return request({
|
158
|
|
- url:"/api/schedule/getallzones",
|
159
|
|
- method:"get",
|
160
|
|
- params:params
|
|
155
|
+ url: '/api/schedule/copypatientschedules',
|
|
156
|
+ method: 'Get',
|
|
157
|
+ params: params
|
161
|
158
|
})
|
162
|
159
|
}
|
163
|
160
|
|
164
|
|
-export function copyPatientSchedule(params){
|
|
161
|
+export function saveRemindPrint(params) {
|
165
|
162
|
return request({
|
166
|
|
- url:"/api/schedule/copypatientschedules",
|
167
|
|
- method:"Get",
|
168
|
|
- params:params
|
|
163
|
+ url: '/api/schedule/saveremindprint',
|
|
164
|
+ method: 'get',
|
|
165
|
+ params: params
|
169
|
166
|
})
|
170
|
167
|
}
|
171
|
168
|
|
172
|
|
-export function saveRemindPrint(params){
|
173
|
|
- return request({
|
174
|
|
- url:"/api/schedule/saveremindprint",
|
175
|
|
- method:"get",
|
176
|
|
- params:params
|
177
|
|
- })
|
|
169
|
+export function getRemindPrintList(params) {
|
|
170
|
+ return request({
|
|
171
|
+ url: '/api/schedule/getremindprintlist',
|
|
172
|
+ method: 'get',
|
|
173
|
+ params: params
|
|
174
|
+ })
|
178
|
175
|
}
|
179
|
176
|
|
180
|
|
-export function getRemindPrintList(params){
|
181
|
|
-
|
|
177
|
+export function getScheduleList(params) {
|
182
|
178
|
return request({
|
183
|
|
- url:"/api/schedule/getremindprintlist",
|
184
|
|
- method:"get",
|
185
|
|
- params:params
|
|
179
|
+ url: '/api/schedule/getbloodschedulelist',
|
|
180
|
+ method: 'get',
|
|
181
|
+ params: params
|
186
|
182
|
})
|
187
|
183
|
}
|
188
|
184
|
|
189
|
|
-export function getScheduleList(params){
|
190
|
|
-
|
|
185
|
+export function getPrintList(params) {
|
191
|
186
|
return request({
|
192
|
|
- url:"/api/schedule/getbloodschedulelist",
|
193
|
|
- method:"get",
|
194
|
|
- params:params,
|
|
187
|
+ url: '/api/schedule/getprintlist',
|
|
188
|
+ method: 'Get',
|
|
189
|
+ params: params
|
195
|
190
|
})
|
196
|
191
|
}
|
197
|
192
|
|
198
|
|
-export function getPrintList(params){
|
199
|
|
-
|
|
193
|
+export function getAllZoneList(params) {
|
200
|
194
|
return request({
|
201
|
|
- url:"/api/schedule/getprintlist",
|
202
|
|
- method:"Get",
|
203
|
|
- params:params,
|
|
195
|
+ url: '/api/schedule/getallzonelist',
|
|
196
|
+ method: 'get',
|
|
197
|
+ params: params
|
204
|
198
|
})
|
205
|
199
|
}
|
206
|
200
|
|
207
|
|
-export function getAllZoneList(params){
|
208
|
|
-
|
|
201
|
+export function getPatientSheduleCount(params) {
|
209
|
202
|
return request({
|
210
|
|
- url:"/api/schedule/getallzonelist",
|
211
|
|
- method:"get",
|
212
|
|
- params:params
|
|
203
|
+ url: '/api/schedule/getpatientschedulecount',
|
|
204
|
+ method: 'get',
|
|
205
|
+ params: params
|
213
|
206
|
})
|
214
|
207
|
}
|
215
|
208
|
|
216
|
|
-export function getPatientSheduleCount(params){
|
217
|
|
-
|
|
209
|
+export function postScheduleTemplate(params) {
|
218
|
210
|
return request({
|
219
|
|
- url:"/api/schedule/getpatientschedulecount",
|
220
|
|
- method:"get",
|
221
|
|
- params:params
|
|
211
|
+ url: '/api/schedule/postscheduletemplate',
|
|
212
|
+ method: 'get',
|
|
213
|
+ params: params
|
222
|
214
|
})
|
223
|
215
|
}
|
224
|
216
|
|
225
|
|
-export function postScheduleTemplate(params){
|
226
|
|
-
|
|
217
|
+export function getScheduleTemplate(params) {
|
227
|
218
|
return request({
|
228
|
|
- url:"/api/schedule/postscheduletemplate",
|
229
|
|
- method:"get",
|
230
|
|
- params:params
|
|
219
|
+ url: '/api/schedule/getscheduletemplate',
|
|
220
|
+ method: 'get',
|
|
221
|
+ params: params
|
231
|
222
|
})
|
232
|
223
|
}
|
233
|
224
|
|
234
|
|
-export function getScheduleTemplate(params){
|
235
|
|
-
|
|
225
|
+export function getNextWeekPanels(params) {
|
236
|
226
|
return request({
|
237
|
|
- url:"/api/schedule/getscheduletemplate",
|
238
|
|
- method:"get",
|
239
|
|
- params:params,
|
|
227
|
+ url: '/api/schedule/getnextweekpanels',
|
|
228
|
+ method: 'get',
|
|
229
|
+ params: params
|
240
|
230
|
})
|
241
|
|
-}
|
|
231
|
+}
|