From 4b8c80fc5bb864e1785dc171879d0061c4449b27 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期四, 20 一月 2022 14:06:27 +0800 Subject: [PATCH] update: UiDateFormat 增加年份 & 月/日 判斷 --- 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