From e2b8d0260e54c5dab2a595a3b1cf71b69734f3fb Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期三, 26 一月 2022 14:50:22 +0800 Subject: [PATCH] fixed#134865: [ 顧問管理流程 ] 安琪拉客戶預約熊蔡顧問 , 9:33 新的一筆預約單狀態變為約訪中 , 但歷史紀錄只要是熊蔡的預約單 , 在已聯絡列表中都會顯示 9:33 建立的 --- 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 31c4095..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 '~/shared/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