| | |
| | | <el-col class="flex_column" :xs="5" :sm="3"> |
| | | <UiAvatar |
| | | :size="50" |
| | | :fileName="agentInfo.img" |
| | | :fileName="avatarFileName" |
| | | @click.native="showAgentDetail(agentInfo.agentNo)" |
| | | ></UiAvatar> |
| | | <div class="satisfaction"> |
| | |
| | | <div class="professionals"> |
| | | <span |
| | | class="professionalsTxt" |
| | | v-for="(expertise, index) in agentInfo.expertise" |
| | | v-for="(expertise, index) in expertises" |
| | | :key="index" |
| | | >#{{expertise}}</span> |
| | | </div> |
| | |
| | | name: '' |
| | | }; |
| | | |
| | | get avatarFileName() { |
| | | console.log('avatarFileName') |
| | | return this.agentInfo.img ? this.agentInfo.img : this.agentInfo.image; |
| | | } |
| | | |
| | | get expertises() { |
| | | return this.agentInfo.expertise ? this.agentInfo.expertise : this.agentInfo.expertises; |
| | | } |
| | | get gender() { |
| | | if (this.appointmentDetail.gender) { |
| | | return this.appointmentDetail.gender === 'male' ? '男性' : '女性'; |