保誠-保戶業務員媒合平台
HelenHuang
2021-12-06 b912b025ab9d6f1bd6510282d7f05f3768057722
Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM
修改2個檔案
4 ■■■ 已變更過的檔案
PAMapp/pages/myAppointmentList/appointmentList.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
pamapi/src/doc/sql/20211203_w.sql 2 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/myAppointmentList/appointmentList.vue
@@ -39,7 +39,7 @@
    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)
pamapi/src/doc/sql/20211203_w.sql
@@ -1 +1,3 @@
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';