From 766d791b1aa3525ddef7a74afb199abc5d44bc50 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期四, 20 一月 2022 18:07:45 +0800 Subject: [PATCH] update: 客戶端- 待結案後才能發送滿意度 --- PAMapp/pages/questionnaire/_agentNo.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/PAMapp/pages/questionnaire/_agentNo.vue b/PAMapp/pages/questionnaire/_agentNo.vue index 6593094..1c2d4a2 100644 --- a/PAMapp/pages/questionnaire/_agentNo.vue +++ b/PAMapp/pages/questionnaire/_agentNo.vue @@ -353,10 +353,9 @@ private getLatestReserved(agentNo) { const agentInfo = this.myConsultantList.filter(item => item.agentNo === agentNo); - const appointmentInfo = agentInfo.length > 0 && agentInfo[0].appointments ? agentInfo[0].appointments! - .filter((appointment) => appointment.communicateStatus !== 'contacted') + .filter((appointment) => appointment.communicateStatus === 'reserved') .map((reversedAppointment) => ( { ...reversedAppointment, sortDate: new Date(reversedAppointment.appointmentDate) -- Gitblit v1.8.0