From 3041bdc8daee6f17ab790bbab0bfdbf22f244573 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期四, 27 一月 2022 10:18:51 +0800
Subject: [PATCH] update: [前單] 在相關功能顯示滿意度資訊、打開滿意度相關功能

---
 PAMapp/pages/quickFilter/index.vue                          |    3 +--
 PAMapp/components/Consultant/ConsultantCard.vue             |    1 -
 PAMapp/components/QuickFilter/QuickFilterConsultantList.vue |    1 -
 PAMapp/pages/recommendConsultant/result.vue                 |    1 -
 PAMapp/components/Consultant/ConsultantSwiper.vue           |    1 -
 PAMapp/components/Client/ClientCard.vue                     |    5 ++---
 PAMapp/pages/recommendConsultant/index.vue                  |    5 ++---
 PAMapp/pages/agentInfo/edit/_agentNo.vue                    |    1 -
 PAMapp/shared/const/quickFilter-questionList.ts             |   14 +++++++-------
 PAMapp/shared/const/hide-reviews.ts                         |    2 +-
 10 files changed, 13 insertions(+), 21 deletions(-)

diff --git a/PAMapp/components/Client/ClientCard.vue b/PAMapp/components/Client/ClientCard.vue
index 70510bf..7235847 100644
--- a/PAMapp/components/Client/ClientCard.vue
+++ b/PAMapp/components/Client/ClientCard.vue
@@ -48,13 +48,12 @@
                 ></AppointmentProgress>
             </div>
         </div>
-            <!-- <el-col :xs="5" :sm="3" align="middle">
+            <el-col :xs="5" :sm="3" align="middle">
                 <el-avatar
                     :size="50"
                 ></el-avatar>
                 <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>
@@ -62,7 +61,7 @@
                         <div class="unfilled">�憛急遛��漲</div>
                     </template>
                 </div>
-            </el-col> -->
+            </el-col>
 
             <div class="flex-column contactInfo" :xs="4" :sm="6">
 
diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue
index 416dcb8..a1be707 100644
--- a/PAMapp/components/Consultant/ConsultantCard.vue
+++ b/PAMapp/components/Consultant/ConsultantCard.vue
@@ -7,7 +7,6 @@
                     :agentNo="agentInfo.agentNo"
                     @click.native="showAgentDetail(agentInfo.agentNo)"
                 ></UiAvatar>
-                <!-- TODO:���遛��漲 -->
                 <div v-if="!hideReviews">
                     <i class="icon-star pam-icon icon--yellow satisfaction"  v-if="notScoreAppointmentYet"></i>
                     <span v-if="notScoreAppointmentYet">
diff --git a/PAMapp/components/Consultant/ConsultantSwiper.vue b/PAMapp/components/Consultant/ConsultantSwiper.vue
index 01f568b..39d3475 100644
--- a/PAMapp/components/Consultant/ConsultantSwiper.vue
+++ b/PAMapp/components/Consultant/ConsultantSwiper.vue
@@ -18,7 +18,6 @@
               </UiAvatar>
               <div class="name">{{agentInfo.name}}</div>
               <div v-if="!hideReviews">
-                <!-- TODO:���遛��漲 -->
                 <i class="icon-star pam-icon icon--yellow"></i>
                 <span class="satisfaction">{{agentInfo.avgScore}}</span>
               </div>
diff --git a/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue b/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue
index 71555ba..7daefd9 100644
--- a/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue
+++ b/PAMapp/components/QuickFilter/QuickFilterConsultantList.vue
@@ -32,7 +32,6 @@
                         <div class="mb-10">{{item.seniority}}</div>
                     </el-col>
                     <el-col :span="12" v-if="!hideReviews">
-                        <!-- TODO:���遛��漲 -->
                         <div class="smTxt_bold mb-10 text--prudential_grey">摰X皛踵�漲</div>
                         <div>
                             <i class="icon-star pam-icon icon--yellow "></i>
diff --git a/PAMapp/pages/agentInfo/edit/_agentNo.vue b/PAMapp/pages/agentInfo/edit/_agentNo.vue
index 93b4dce..82d013a 100644
--- a/PAMapp/pages/agentInfo/edit/_agentNo.vue
+++ b/PAMapp/pages/agentInfo/edit/_agentNo.vue
@@ -12,7 +12,6 @@
         class="pt-10"
         justify="center"
         align="middle" v-if="!hideReviews">
-        <!-- TODO:���遛��漲 -->
           <i class="pam-icon icon--primary icon-star"></i>
           <h3 class="mdTxt">{{ agentInfo.avgScore }}</h3>
       </el-row>
diff --git a/PAMapp/pages/quickFilter/index.vue b/PAMapp/pages/quickFilter/index.vue
index dcd7795..5ec1194 100644
--- a/PAMapp/pages/quickFilter/index.vue
+++ b/PAMapp/pages/quickFilter/index.vue
@@ -22,8 +22,7 @@
               {{item.value | formatSeniorityTitle}}
               <span class="smTxt">{{item.value | formatSenioritySubTitle}}</span>
             </span>
-            <!-- TODO:���遛��漲 -->
-            <!-- <span v-else-if="item.option === 'avgScore'">{{item.value + '��誑銝遛��漲'}}</span> -->
+            <span v-else-if="item.option === 'avgScore' && !hideReviews">{{item.value + '��誑銝遛��漲'}}</span>
             <span v-else>{{item.value}}</span>
           </UiTags>
         </template>
diff --git a/PAMapp/pages/recommendConsultant/index.vue b/PAMapp/pages/recommendConsultant/index.vue
index 937de58..5e7eb41 100644
--- a/PAMapp/pages/recommendConsultant/index.vue
+++ b/PAMapp/pages/recommendConsultant/index.vue
@@ -35,12 +35,11 @@
       <SingleSelectBtn :singleSelected.sync="strictQueryDto.seniority"
         :options="seniorityOptions" />
     </div>
-    <!-- <div class="pam-paragraph">
-      TODO:���遛��漲
+    <div class="pam-paragraph" v-if="!hideReviews">
       <div class="pb-10 mdTxt">憿批�遛��漲</div>
       <el-rate class="pam-consultant-rate" v-model="strictQueryDto.avgScore">
       </el-rate>
-    </div> -->
+    </div>
     <div class="pam-paragraph">
       <div class="rec-popular">
         <div class="pb-10 mdTxt">���瑼Y揣</div>
diff --git a/PAMapp/pages/recommendConsultant/result.vue b/PAMapp/pages/recommendConsultant/result.vue
index c92a75e..b9c8889 100644
--- a/PAMapp/pages/recommendConsultant/result.vue
+++ b/PAMapp/pages/recommendConsultant/result.vue
@@ -37,7 +37,6 @@
                             {{ info.seniority }}
                             </div>
                         </el-col>
-                        <!-- TODO:���遛��漲 -->
                         <el-col :span="12" v-if="!hideReviews">
                             <div class="field__label">
                             摰X皛踵�漲
diff --git a/PAMapp/shared/const/hide-reviews.ts b/PAMapp/shared/const/hide-reviews.ts
index e8a6eb8..35d2e34 100644
--- a/PAMapp/shared/const/hide-reviews.ts
+++ b/PAMapp/shared/const/hide-reviews.ts
@@ -1 +1 @@
-export const hideReviews = true;
\ No newline at end of file
+export const hideReviews = false;
diff --git a/PAMapp/shared/const/quickFilter-questionList.ts b/PAMapp/shared/const/quickFilter-questionList.ts
index d6c08f0..3539755 100644
--- a/PAMapp/shared/const/quickFilter-questionList.ts
+++ b/PAMapp/shared/const/quickFilter-questionList.ts
@@ -12,12 +12,12 @@
         ],
         type: 'radio'
     },
-    // { TODO:���遛��漲
-    //     name: 'avgScore',
-    //     title: '憿批�遛��漲',
-    //     detail: [],
-    //     type: ''
-    // },
+    {
+        name: 'avgScore',
+        title: '憿批�遛��漲',
+        detail: [],
+        type: ''
+    },
     {
         name: 'communicationStyles',
         title: '皞�◢�',
@@ -45,4 +45,4 @@
     //     detail: [],
     //     type: 'radio'
     // }
-];
\ No newline at end of file
+];

--
Gitblit v1.8.0