From 82ba3b46e14f25f6a7c3653661033ddac12703c6 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期二, 01 八月 2023 09:17:18 +0800 Subject: [PATCH] Update: rename consultantType to consultationMethod --- PAMapp/components/Consultant/ConsultantCard.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue index 99e9ba6..6a3fd6c 100644 --- a/PAMapp/components/Consultant/ConsultantCard.vue +++ b/PAMapp/components/Consultant/ConsultantCard.vue @@ -1,6 +1,6 @@ <template> <div> - <el-row type="flex" class="rowStyle" :class="{'new': !agentInfo.customerViewTime }"> + <el-row type="flex" class="rowStyle" :class="{'new': !agentInfo.customerViewTime && $route.name !== 'myConsultantList-contactedList' }"> <el-col class="flex_column pl-5" :xs="5" :sm="3"> <UiAvatar :size="50" @@ -12,7 +12,7 @@ class="icon-star pam-icon icon--yellow satisfaction" style="margin-top: 0"></i> <template v-if="isAppointment"> - <template v-if="agentInfo.appointmentStatus === 'close' + <template v-if="agentInfo.appointmentStatus === 'closed' || agentInfo.appointmentStatus === 'done'"> <span v-if="agentInfo.appointmentScore"> {{ agentInfo.appointmentScore }} @@ -32,7 +32,6 @@ </el-col> <el-col :xs="10" :sm="15"> <div class="smTxt_bold name">{{agentInfo.name}}</div> - {{agentInfo.appointmentStatus}} <div class="professionals"> <span class="professionalsTxt" @@ -77,7 +76,8 @@ <p>�批嚗{gender}}</p> <p>撟湧翩嚗{appointmentDetail.age | toAgeLabel }}</p> <p>�璆哨�{appointmentDetail.job}}</p> - <p>��瘙�{appointmentDetail.requirement.split(',').join('��')}}</p> + <p>隢株岷�撘�{appointmentDetail.consultationMethod | toConsultationMethod }}</p> + <p>��瘙�{appointmentDetail.requirement ? appointmentDetail.requirement.split(',').join('��') : '--'}}</p> <p v-for="(item, index) in hopeContactTime" :key="index" -- Gitblit v1.8.0