From 3fc8398a9da85854e5e95c2c4cca14389d5dd5f8 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期三, 16 二月 2022 15:02:49 +0800
Subject: [PATCH] Fixed#135481 修正[ 顧問管理流程 ] 滿意度 : 顧問把預約單結案後,客戶端的顧問清單會顯示該顧問預約單狀態為「進行預約」正確 , 但是卻顯示「給予滿意度評分」的連結。填寫滿意度後無法送出

---
 PAMapp/components/Interview/InterviewRecordCard.vue |   25 ++++++++++++-------------
 1 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/PAMapp/components/Interview/InterviewRecordCard.vue b/PAMapp/components/Interview/InterviewRecordCard.vue
index 34f1d28..2a8bb4c 100644
--- a/PAMapp/components/Interview/InterviewRecordCard.vue
+++ b/PAMapp/components/Interview/InterviewRecordCard.vue
@@ -7,12 +7,17 @@
                 >
                     <div class="record-log-card-date-container">
                         <div class="record-log-card-date-container-circle">
-                            <div class="xxsTxt bold line-height">{{item.createdDate | formatYear}}</div>
                             <div>
                                 <UiDateFormat
                                     class="xxsTxt bold line-height"
                                     :date="item.createdDate"
-                                    onlyShowSection="DAY" />
+                                    onlyShowSection="YEAR" />
+                            </div>
+                            <div>
+                                <UiDateFormat
+                                    class="xxsTxt bold line-height"
+                                    :date="item.createdDate"
+                                    onlyShowSection="DATE" />
                             </div>
                             <div>
                                 <UiDateFormat
@@ -28,7 +33,7 @@
                                 <span v-else-if="item.email">(Email)</span>
                                 <span v-else>(���陛閮�)</span>
                             </div>
-                            <div class="mt-10">���{item.interviewDate | formatDate}}</div>
+                            <div v-if="item.phone" class="mt-10">���{item.interviewDate | formatDate}}</div>
                         </div>
                 </section>
                 <div class="time-line"></div>
@@ -40,15 +45,7 @@
 import { Component, Prop, Vue } from "nuxt-property-decorator";
 import { NoticeLogs } from "~/shared/models/appointment.model";
 
-@Component({
-    filters: {
-        formatYear(value) {
-            if (value) {
-                return new Date(value).getFullYear();
-            }
-        }
-    }
-})
+@Component
 export default class RecordCard extends Vue {
     @Prop()
     noticeLogsList!: NoticeLogs[];
@@ -73,6 +70,8 @@
                 justify-content: center;
                 align-items: center;
                 align-content: center;
+                background-color:#1B365D;
+                color: #fff;
             }
         }
     }
@@ -96,4 +95,4 @@
     margin-left: 13px;
     margin-top: 10px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0