Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM
| | |
| | | onMyAppointmentListChange() { |
| | | const unreadList = this.myAppointmentList |
| | | .filter(item => item.communicateStatus !== 'contacted' && !item.consultantReadTime) |
| | | .sort((a, b) => a.consultantViewTime > b.consultantViewTime ? 1 : -1); |
| | | .sort((a, b) => a.appointmentDate > b.appointmentDate ? -1 : 1); |
| | | |
| | | const readList = this.myAppointmentList |
| | | .filter(item => item.communicateStatus !== 'contacted' && item.consultantReadTime) |
| | |
| | | UPDATE omo.appointment SET contact_time = appointment_date where communicate_status = 'CONTACTED'; |
| | | UPDATE omo.appointment SET consultant_view_time = appointment_date where communicate_status = 'CONTACTED'; |
| | | UPDATE omo.appointment SET consultant_read_time = appointment_date where communicate_status = 'CONTACTED'; |