| | |
| | | <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" |
| | |
| | | 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> |
| | |
| | | @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> |
| | |
| | | </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> |