From 81847996079f71527c1471f272be43b5b4f77490 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期二, 08 二月 2022 12:15:18 +0800 Subject: [PATCH] fixed: [ClientCard] 顯示滿意度帶來的 side-effect --- PAMapp/components/Consultant/ConsultantCard.vue | 4 ++-- PAMapp/components/Client/ClientCard.vue | 4 ++-- PAMapp/shared/models/consultant.model.ts | 24 ++++++++++++------------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/PAMapp/components/Client/ClientCard.vue b/PAMapp/components/Client/ClientCard.vue index 7235847..7cbde5d 100644 --- a/PAMapp/components/Client/ClientCard.vue +++ b/PAMapp/components/Client/ClientCard.vue @@ -48,7 +48,7 @@ ></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> @@ -61,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 268987e..d318031 100644 --- a/PAMapp/components/Consultant/ConsultantCard.vue +++ b/PAMapp/components/Consultant/ConsultantCard.vue @@ -7,8 +7,8 @@ :agentNo="agentInfo.agentNo" @click.native="showAgentDetail(agentInfo.agentNo)" ></UiAvatar> - <div v-if="!hideReviews"> - <i class="icon-star pam-icon icon--yellow satisfaction"></i> + <div v-if="!hideReviews" style="display: flex; justify-content: flex-start; align-items: center; margin-top: 6px; font-size: 12px"> + <i class="icon-star pam-icon icon--yellow satisfaction" style="margin-top: 0"></i> <template v-if="isAppointment"> <span v-if="notScoreAppointmentYet"> {{ agentInfo.satisfactionScore }} diff --git a/PAMapp/shared/models/consultant.model.ts b/PAMapp/shared/models/consultant.model.ts index 3a9c680..69bb11c 100644 --- a/PAMapp/shared/models/consultant.model.ts +++ b/PAMapp/shared/models/consultant.model.ts @@ -1,18 +1,18 @@ import { Appointment } from "./appointment.model"; export interface Consultant { - agentNo : string; - name : string; - img : string; - expertise : string[]; - avgScore : number; - contactStatus? : string; - createTime : Date | string; - updateTime : Date | string; - customerViewTime? : Date | string; - role : string; - seniority : string, - appointments? : Appointment[]; + agentNo : string; + appointments? : Appointment[]; + avgScore : number; + contactStatus? : string; + createTime : string; + customerViewTime?: string; + expertise : string[]; + img : string; + name : string; + role : string; + seniority : string; + updateTime : string; } export interface ConsultantWithAppointmentId extends Consultant { -- Gitblit v1.8.0