From 7e30454cde5d0efb11ff3638f9cdb870706e4c26 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期三, 16 二月 2022 16:47:36 +0800 Subject: [PATCH] update: [客戶] 顧問已聯絡清單 sort by appointmentLastModifiedDate --- PAMapp/pages/myConsultantList.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/PAMapp/pages/myConsultantList.vue b/PAMapp/pages/myConsultantList.vue index 453f05e..33caf53 100644 --- a/PAMapp/pages/myConsultantList.vue +++ b/PAMapp/pages/myConsultantList.vue @@ -98,7 +98,7 @@ this.contactedList = this.contactedList .filter((appointment) => appointment['appointmentStatus'] !== 'reserved') - .map((appointment) => ({ ...appointment, sortTime: new Date(appointment.updateTime)})) + .map((appointment) => ({ ...appointment, sortTime: new Date(appointment.appointmentLastModifiedDate)})) .sort((preAppointment, nextAppointment) => +nextAppointment.sortTime - +preAppointment.sortTime); } -- Gitblit v1.8.0