From 1592d266eb7cea3a096c17d4ae3c0d01c679da7b Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期五, 21 一月 2022 16:15:01 +0800 Subject: [PATCH] update: TODO#134585 串接 顧問主動發送滿意度 API --- PAMapp/components/Interview/InterviewAdd.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PAMapp/components/Interview/InterviewAdd.vue b/PAMapp/components/Interview/InterviewAdd.vue index 7a47229..e2d695f 100644 --- a/PAMapp/components/Interview/InterviewAdd.vue +++ b/PAMapp/components/Interview/InterviewAdd.vue @@ -165,24 +165,24 @@ } this.updateRecord(updateInterviewRecord); } - this.updateAppointmentDetail(+this.appointmentId); } private createdRecord(interviewRecordInfo) { appointmentService.createInterviewRecord(interviewRecordInfo).then(res => { - this.confirmTxt = '�憓���' - this.showPopUp(); + this.showPopUp('�憓���'); }); } private updateRecord(updateInterviewRecord) { appointmentService.updateInterviewRecord(updateInterviewRecord).then(res => { - this.confirmTxt = '蝺刻摩����'; - this.showPopUp(); + this.showPopUp('蝺刻摩����'); }); } - private showPopUp() { + private showPopUp(confirmTxt) { + this.confirmTxt = confirmTxt; + this.updateAppointmentDetail(+this.appointmentId); + if (new Date(this.interviewTime).getTime() >= new Date().getTime()) { this.showFutureDateConfirmPopup = true; } else { -- Gitblit v1.8.0