From 5e17ffe4ac5922abec6114d7da4c39f50d6768a6 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期五, 14 一月 2022 12:45:15 +0800
Subject: [PATCH] update: 顧問-預約單列表調整為三個頁面籤的邏輯調整

---
 PAMapp/components/Client/ClientList.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/PAMapp/components/Client/ClientList.vue b/PAMapp/components/Client/ClientList.vue
index afdcdfc..820c043 100644
--- a/PAMapp/components/Client/ClientList.vue
+++ b/PAMapp/components/Client/ClientList.vue
@@ -18,19 +18,24 @@
 <script lang='ts'>
 import { Vue, Component, Prop } from 'nuxt-property-decorator';
 
-import { ClientInfo } from '~/assets/ts/models/client.model';
+import { Appointment } from '~/shared/models/appointment.model';
 
 @Component
 export default class ClientList extends Vue {
-    @Prop() clients!: ClientInfo[];
+    @Prop() clients!: Appointment[];
     @Prop() title!: string;
 
     //////////////////////////////////////////////////////////////////////
 
     get noDataPlaceholder(): string {
-      return this.title === 'reservedList'
-                          ? '����撌脤��恥�'
-                          : '����撌脰蝯∪恥�';
+      let noDataWording = '����撌脩�����';
+      if (this.title === 'contactedList') {
+        noDataWording = '����蝝赤銝剔���';
+      }
+      if (this.title === 'reservedList') {
+        noDataWording = '������蝯∠���';
+      }
+      return noDataWording;
     }
 }
 </script>

--
Gitblit v1.8.0