From 1ffc8033b5c013399185dd3cca85b66ea6506517 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期一, 31 七月 2023 19:34:33 +0800 Subject: [PATCH] revert: Fixed: 調整錯誤的 insert API URL --- PAMapp/components/Consultant/ConsultantCard.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue index 99e9ba6..464c572 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,7 @@ <p>�批嚗{gender}}</p> <p>撟湧翩嚗{appointmentDetail.age | toAgeLabel }}</p> <p>�璆哨�{appointmentDetail.job}}</p> - <p>��瘙�{appointmentDetail.requirement.split(',').join('��')}}</p> + <p>��瘙�{appointmentDetail.requirement ? appointmentDetail.requirement.split(',').join('��') : '--'}}</p> <p v-for="(item, index) in hopeContactTime" :key="index" -- Gitblit v1.8.0