From 3bad0a8e67efc5a1878bc20964b390e279e0dfd2 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期一, 20 十二月 2021 11:41:51 +0800
Subject: [PATCH] Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM

---
 PAMapp/components/Consultant/ConsultantList.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/PAMapp/components/Consultant/ConsultantList.vue b/PAMapp/components/Consultant/ConsultantList.vue
index a8791f8..1e7bd7c 100644
--- a/PAMapp/components/Consultant/ConsultantList.vue
+++ b/PAMapp/components/Consultant/ConsultantList.vue
@@ -10,7 +10,7 @@
         </template>
         <template v-if="isUserLogin && agentList.length === 0">
             <div class="emptyRowStyle">
-                <div class="smTxt txt">����撌脰蝯⊿“���</div>
+                <div class="smTxt txt">{{ noDataPlaceholder }}</div>
             </div>
         </template>
         <template v-if="!isUserLogin">
@@ -32,6 +32,7 @@
 @Component
 export default class ConsultantList extends Vue {
     @Prop() agents!: Consultant[];
+    @Prop() title! : string; 
     @roleStorage.Getter isUserLogin!:boolean;
 
     get agentList(){
@@ -40,6 +41,12 @@
         )
     }
 
+    get noDataPlaceholder(): string {
+      return this.title === 'contactedList'
+                          ? '����撌脰蝯⊿“���'
+                          : '����撌脤憿批��';
+    }
+
 }
 </script>
 

--
Gitblit v1.8.0