From 4394e4248455637ab7836756058ac872fdf4af10 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期四, 17 二月 2022 11:39:43 +0800 Subject: [PATCH] Merge branch 'pollex-dev' into sit --- PAMapp/components/Consultant/ConsultantCard.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue index 3fb5605..642c210 100644 --- a/PAMapp/components/Consultant/ConsultantCard.vue +++ b/PAMapp/components/Consultant/ConsultantCard.vue @@ -12,16 +12,20 @@ class="icon-star pam-icon icon--yellow satisfaction" style="margin-top: 0"></i> <template v-if="isAppointment"> - <span v-if="agentInfo.appointmentScore"> - {{ agentInfo.appointmentScore }} - </span> - <div class="unfilled text--center " - style="display:flex" - v-else>�憛�<br />皛踵�漲</div> + <template v-if="agentInfo.appointmentStatus === 'closed' + || agentInfo.appointmentStatus === 'done'"> + <span v-if="agentInfo.appointmentScore"> + {{ agentInfo.appointmentScore }} + </span> + <div class="unfilled text--center " + style="display:flex" + v-else>�憛�<br />皛踵�漲</div> + </template> </template> <template v-else> <span v-if="agentInfo.avgScore">{{ agentInfo.avgScore }}</span> - <span v-else>撠<br />皛踵�漲</span> + <span class="unfilled text--center " + style="display:flex" v-else>撠<br />皛踵�漲</span> </template> </div> @@ -41,7 +45,7 @@ @click="isRemoveAgentPopup = true" >蝘駁</div> <div - v-if="notScoreAppointmentYet" + v-if="notScoreAppointmentYet && (agentInfo.appointmentStatus === 'closed' || agentInfo.appointmentStatus === 'done')" class="text--primary text--underline cursor--pointer xsTxt text--bold" @click="reviewsBtn = true">蝯虫�遛��漲閰��</div> </el-col> @@ -87,7 +91,7 @@ </div> </div> - <div v-if="notScoreAppointmentYet" class="reserved-btn"> + <div v-if="notScoreAppointmentYet && (agentInfo.appointmentStatus === 'closed' || agentInfo.appointmentStatus === 'done')" class="reserved-btn"> <el-button type="primary" @click.native="reviewsBtn = true">蝯虫�遛��漲閰��</el-button> </div> -- Gitblit v1.8.0