|
@@ -215,6 +215,27 @@ export default {
|
215
|
215
|
res.data.patientInfo.create_time = moment(parseInt(res.data.patientInfo.create_time) * 1000).format('HH:mm')
|
216
|
216
|
this.fisrtQueueInfo = res.data.patientInfo
|
217
|
217
|
this.newFisrtQueueInfo = res.data.patientInfo
|
|
218
|
+ }else if(res.channel == 'fisrtQueueInfo'){
|
|
219
|
+ let fisrtQueueInfo = []
|
|
220
|
+ this.newFisrtQueueInfo = res.data.patientInfo
|
|
221
|
+ if(res.data.patientInfo != null){
|
|
222
|
+ if(this.patientStateVal == 0){
|
|
223
|
+ fisrtQueueInfo = res.data.patientInfo.morning
|
|
224
|
+ if(fisrtQueueInfo != null){
|
|
225
|
+ if(fisrtQueueInfo.create_time){
|
|
226
|
+ fisrtQueueInfo.create_time = moment(parseInt(fisrtQueueInfo.create_time) * 1000).format('HH:mm')
|
|
227
|
+ }
|
|
228
|
+ }
|
|
229
|
+ }else if(this.patientStateVal == 1){
|
|
230
|
+ fisrtQueueInfo = res.data.patientInfo.afternoon
|
|
231
|
+ if(fisrtQueueInfo != null){
|
|
232
|
+ if(fisrtQueueInfo.create_time){
|
|
233
|
+ fisrtQueueInfo.create_time = moment(parseInt(fisrtQueueInfo.create_time) * 1000).format('HH:mm')
|
|
234
|
+ }
|
|
235
|
+ }
|
|
236
|
+ }
|
|
237
|
+ }
|
|
238
|
+ this.fisrtQueueInfo = fisrtQueueInfo
|
218
|
239
|
}
|
219
|
240
|
|
220
|
241
|
}
|