From 0de81c2b3f56f57121f6a9f911c599cef70eeeb2 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期二, 05 九月 2023 14:23:27 +0800 Subject: [PATCH] Update: 0901-P5 URL manipulation --- PAMapp/components/Interview/InterviewMsg.vue | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/PAMapp/components/Interview/InterviewMsg.vue b/PAMapp/components/Interview/InterviewMsg.vue index cbc2813..ac9f657 100644 --- a/PAMapp/components/Interview/InterviewMsg.vue +++ b/PAMapp/components/Interview/InterviewMsg.vue @@ -155,18 +155,19 @@ this.interviewContent.customContent =''; } - addInterview() { - const appointmentInformation: ToInformAppointment = { - appointmentId: this.client.id, - email : this.client?.email, - interviewDate: this.interviewContent.interviewTime, - message : this.interviewTxt, - phone : this.client?.phone, - }; - appointmentService.informAppointment(appointmentInformation).then((_) => { - this.isShowSuccessAlert = true ; - }); - } + addInterview() { + const appointmentInformation: ToInformAppointment = { + appointmentId: this.client?.id || 0, + email: this.client?.email || '', + interviewDate: this.interviewContent.interviewTime, + message: this.interviewTxt, + phone: this.client?.phone || '', + }; + appointmentService.informAppointment(appointmentInformation).then((_) => { + this.isShowSuccessAlert = true; + }); + } + closeAllDialog() { this.isShowSuccessAlert = false ; -- Gitblit v1.8.0