From 96d7bd0c2e99994cdc09bd61ef42307504fc5efa Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期一, 25 七月 2022 16:56:15 +0800
Subject: [PATCH] update: [nuxt-config] GTM code

---
 PAMapp/components/Interview/InterviewAdd.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/PAMapp/components/Interview/InterviewAdd.vue b/PAMapp/components/Interview/InterviewAdd.vue
index 145c41f..171345f 100644
--- a/PAMapp/components/Interview/InterviewAdd.vue
+++ b/PAMapp/components/Interview/InterviewAdd.vue
@@ -21,8 +21,10 @@
               ><i class="icon-edit"></i></span>
           </el-col>
       </el-row>
+
       <template v-if="!interviewId || isEdit">
           <DateTimePicker
+            :disabledBeforeSpecificDate="appointmentDetail.appointmentDate"
             @changeDateTime="interviewTime = $event"
             :defaultValue="defaultValue"
           ></DateTimePicker>
@@ -45,7 +47,7 @@
         </el-input>
       </template>
       <template v-else>
-          <div class="fs-20 mt-20">
+          <div class="fs-20 mt-20 text--break-all line-height">
               {{content}}
           </div>
       </template>
@@ -186,7 +188,7 @@
         this.confirmTxt = confirmTxt;
         this.updateAppointmentDetail(+this.appointmentId);
 
-        if (new Date(this.interviewTime).getTime() >= new Date().getTime()) {
+        if (new Date(this.interviewTime).getTime() >= new Date().getTime() && (!this.appointmentDetail.appointmentClosedInfo)) {
             this.showFutureDateConfirmPopup = true;
         } else {
             this.showConfirmPopup = true;

--
Gitblit v1.8.0