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 | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/PAMapp/components/Appointment/AppointmentClosedInfo.vue b/PAMapp/components/Appointment/AppointmentClosedInfo.vue index daa81d9..dc92814 100644 --- a/PAMapp/components/Appointment/AppointmentClosedInfo.vue +++ b/PAMapp/components/Appointment/AppointmentClosedInfo.vue @@ -39,6 +39,7 @@ 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 AppointmentClosedInfo extends Vue { @@ -46,12 +47,27 @@ @Prop() appointmentDetail!: Appointment; + contactStatus = ContactStatus; + ////////////////////////////////////////////////////////////////////// editAppointmentHasClosed(): void{ 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