From ff6cb58bffa6483e9349a7b32cc8838f2fa4f62d Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期五, 10 十二月 2021 18:35:13 +0800
Subject: [PATCH] TODO#132188 [顧問的滿意度評比分數與篩選功能先不顯示,但保戶依然可以進行滿意度評比與查看]

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

diff --git a/PAMapp/components/Client/ClientCard.vue b/PAMapp/components/Client/ClientCard.vue
index 44a5316..76e6f2b 100644
--- a/PAMapp/components/Client/ClientCard.vue
+++ b/PAMapp/components/Client/ClientCard.vue
@@ -15,8 +15,9 @@
                     :size="50"
                     src=""
                 ></el-avatar>
-                <div class="satisfaction">
+                <div class="satisfaction" v-if="!hideReviews">
                     <template v-if="client.satisfactionScore">
+                        TODO:���遛��漲
                         <i class="icon-star pam-icon icon--yellow satisfaction"></i>
                         <span>{{client.satisfactionScore}}</span>
                     </template>
@@ -97,7 +98,7 @@
 import { Vue, Component, Prop, Action } from 'nuxt-property-decorator';
 import { isMobileDevice } from '~/assets/ts/device';
 import { ClientInfo, markAsContact, recordRead } from '~/assets/ts/api/appointment';
-
+import { hideReviews } from '~/assets/ts/const/hide-reviews';
 @Component({
     filters: {
         formatNumber(index: number) {
@@ -124,6 +125,7 @@
     @Prop() client!: ClientInfo;
     isVisibleDialog = false;
     width = '';
+    hideReviews = hideReviews;
 
     get requirements() {
         return this.client.requirement.split(',');

--
Gitblit v1.8.0