From e143ee9f40fe269f57c0269f548d459c196f3c89 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期三, 17 十一月 2021 16:52:30 +0800
Subject: [PATCH] update 我的顧問清單/預約清單: 需求單連絡時段格式

---
 PAMapp/components/Consultant/ConsultantCard.vue |    2 +-
 PAMapp/pages/questionnaire/_agentNo.vue         |    2 +-
 PAMapp/components/Client/ClientCard.vue         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/PAMapp/components/Client/ClientCard.vue b/PAMapp/components/Client/ClientCard.vue
index ec0d0b2..1d98b46 100644
--- a/PAMapp/components/Client/ClientCard.vue
+++ b/PAMapp/components/Client/ClientCard.vue
@@ -98,7 +98,7 @@
 
     get hopeContactTime() {
         const contactList = this.client.hopeContactTime.split("'").map(item => item.slice(0, item.length));
-        return contactList.filter(item => !!item)
+        return contactList.filter(item => !!item && item !== ",")
     }
 
     get time() {
diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue
index fcbb9b7..0f2dac1 100644
--- a/PAMapp/components/Consultant/ConsultantCard.vue
+++ b/PAMapp/components/Consultant/ConsultantCard.vue
@@ -139,7 +139,7 @@
     get hopeContactTime() {
         const contactList = this.appointmentDetail.hopeContactTime
             .split("'").map(item => item.slice(0, item.length));
-        return contactList.filter(item => !!item)
+        return contactList.filter(item => !!item && item !== ",")
     }
     reserveCommunication() {
         const contactStatus = this.agentInfo.contactStatus;
diff --git a/PAMapp/pages/questionnaire/_agentNo.vue b/PAMapp/pages/questionnaire/_agentNo.vue
index 6727003..5142e87 100644
--- a/PAMapp/pages/questionnaire/_agentNo.vue
+++ b/PAMapp/pages/questionnaire/_agentNo.vue
@@ -242,7 +242,7 @@
                     })
 
                     return initScheduleList.map(i => {
-                        return `'${i.selectWeekOptions},${i.selectTimesOptions}'`}
+                        return `'${i.selectWeekOptions}��${i.selectTimesOptions}'`}
                     ).toString()
                 }
 

--
Gitblit v1.8.0