From 497f54b264eba626b77e79fec2ca6947ccae19e4 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期二, 14 十二月 2021 15:45:23 +0800 Subject: [PATCH] refactor: myAppointmentList --- 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