From 34b08e1c461f5e08675fcff95525956d7c4bef11 Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期四, 17 二月 2022 11:38:48 +0800
Subject: [PATCH] Merge branch 'Phase3' into pollex-dev

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

diff --git a/PAMapp/pages/myConsultantList.vue b/PAMapp/pages/myConsultantList.vue
index e1e993d..33caf53 100644
--- a/PAMapp/pages/myConsultantList.vue
+++ b/PAMapp/pages/myConsultantList.vue
@@ -90,6 +90,7 @@
                 appointmentDate: appointment.appointmentDate,
                 appointmentScore: appointment.satisfactionScore,
                 appointmentStatus: appointment.communicateStatus,
+                appointmentLastModifiedDate: appointment.lastModifiedDate
               };
               this.contactedList.push(consultantWithAppointmentId);
             })
@@ -97,7 +98,7 @@
 
         this.contactedList = this.contactedList
           .filter((appointment) => appointment['appointmentStatus'] !== 'reserved')
-          .map((appointment) => ({ ...appointment, sortTime: new Date(appointment.appointmentDate)}))
+          .map((appointment) => ({ ...appointment, sortTime: new Date(appointment.appointmentLastModifiedDate)}))
           .sort((preAppointment, nextAppointment) => +nextAppointment.sortTime - +preAppointment.sortTime);
       }
 

--
Gitblit v1.8.0