From f5831acafe510f9a79f8e2ecf6dee09026d67fc6 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 20 一月 2022 16:09:09 +0800 Subject: [PATCH] Merge branch 'Phase3' of https://dev.pollex.com.tw:8443/r/pcalife/PAM into Phase3 --- PAMapp/store/appointment.store.ts | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/PAMapp/store/appointment.store.ts b/PAMapp/store/appointment.store.ts index 02576cb..e8c8eff 100644 --- a/PAMapp/store/appointment.store.ts +++ b/PAMapp/store/appointment.store.ts @@ -35,6 +35,11 @@ .filter(item => item.communicateStatus === this.contactStatus.DONE || item.communicateStatus === this.contactStatus.CLOSE ).length; } + get isCloseAppointment(): boolean { + const closedStatusList = [this.contactStatus.DONE, this.contactStatus.CLOSE, this.contactStatus.CANCEL]; + return closedStatusList.includes(this.appointmentDetail!.communicateStatus); + } + ////////////////////////////////////////////////////////////////////// @Mutation -- Gitblit v1.8.0