From b9658b7c42ca15e11153f782949c33a9b2d6a07a Mon Sep 17 00:00:00 2001
From: charlie <charlie@lvguanqingdeMacBook-Pro.local>
Date: 星期五, 21 一月 2022 17:23:40 +0800
Subject: [PATCH] bugfix: 顧問結案頁面中的未結案原因select中的icon修正

---
 PAMapp/components/Interview/InterviewRecordCard.vue |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/PAMapp/components/Interview/InterviewRecordCard.vue b/PAMapp/components/Interview/InterviewRecordCard.vue
index 34f1d28..a02c7a6 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
@@ -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[];

--
Gitblit v1.8.0