From 4394e4248455637ab7836756058ac872fdf4af10 Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期四, 17 二月 2022 11:39:43 +0800
Subject: [PATCH] Merge branch 'pollex-dev' into sit

---
 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