From b6e9939aec90be36f7533e20cc92b09ad4035b07 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期五, 21 一月 2022 11:30:45 +0800
Subject: [PATCH] update: TODO#134562 客戶端-預約單狀態調整

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

diff --git a/PAMapp/pages/myConsultantList.vue b/PAMapp/pages/myConsultantList.vue
index 33a6746..e1e993d 100644
--- a/PAMapp/pages/myConsultantList.vue
+++ b/PAMapp/pages/myConsultantList.vue
@@ -76,7 +76,7 @@
 
     // format consultant list
       this.consultantList = (this.myConsultantList || [])
-        .filter(item => item.contactStatus === 'picked' || item.contactStatus === 'reserved')
+        .filter(item => item.contactStatus !== 'contacted')
         .map((item) => ({ ...item, formatDate: new Date(item.updateTime || item.createTime)}))
         .sort((preItem, nextItem) => +nextItem.formatDate - +preItem.formatDate );
 
@@ -96,7 +96,7 @@
           });
 
         this.contactedList = this.contactedList
-          .filter((appointment) => appointment['appointmentStatus'] === 'contacted' || appointment['appointmentStatus'] === 'closed' || appointment['appointmentStatus'] === 'done')
+          .filter((appointment) => appointment['appointmentStatus'] !== 'reserved')
           .map((appointment) => ({ ...appointment, sortTime: new Date(appointment.appointmentDate)}))
           .sort((preAppointment, nextAppointment) => +nextAppointment.sortTime - +preAppointment.sortTime);
       }

--
Gitblit v1.8.0