From 921e56017c29cf97c0ffe90c879243d5fd79a19b Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期一, 06 十二月 2021 14:00:42 +0800
Subject: [PATCH] fixed TODO#131490 [預約清單] 資料排序

---
 PAMapp/pages/myAppointmentList/appointmentList.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/PAMapp/pages/myAppointmentList/appointmentList.vue b/PAMapp/pages/myAppointmentList/appointmentList.vue
index 4e6ac07..8cee481 100644
--- a/PAMapp/pages/myAppointmentList/appointmentList.vue
+++ b/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)

--
Gitblit v1.8.0