From 026b04258bd4217ae4c53125655d6073c1bce474 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期一, 24 一月 2022 10:39:15 +0800
Subject: [PATCH] remove: 移除 agenda 功能畫面(暫不提供此功能)

---
 PAMapp/components/Appointment/AppointmentClosedInfo.vue |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/PAMapp/components/Appointment/AppointmentClosedInfo.vue b/PAMapp/components/Appointment/AppointmentClosedInfo.vue
index 8b08adb..dc92814 100644
--- a/PAMapp/components/Appointment/AppointmentClosedInfo.vue
+++ b/PAMapp/components/Appointment/AppointmentClosedInfo.vue
@@ -39,12 +39,15 @@
 import { Vue, Component, Prop } from 'nuxt-property-decorator';
 
 import { Appointment } from '~/shared/models/appointment.model';
+import { ContactStatus } from '~/shared/models/enum/contact-status';
 
 @Component
-export default class AppointmentRecordList extends Vue {
+export default class AppointmentClosedInfo extends Vue {
 
     @Prop()
     appointmentDetail!: Appointment;
+
+    contactStatus = ContactStatus;
 
     //////////////////////////////////////////////////////////////////////
 
@@ -52,6 +55,19 @@
       this.$router.push(`/appointment/${this.appointmentDetail.id}/close`);
     }
 
+    get displayClosedType(): string {
+      let closedType = '��漱';
+      switch (this.appointmentDetail.communicateStatus) {
+        case this.contactStatus.CLOSE:
+          closedType = '���漱';
+          break;
+        case this.contactStatus.CANCEL:
+          closedType = '����';
+          break;
+      }
+      return closedType;
+    }
+
 }
 </script>
 

--
Gitblit v1.8.0