保誠-保戶業務員媒合平台
Tomas
2022-01-03 c0da44cffc55d5b2cf018b3dc4e4486dd29a5666
fixed: merge error
修改2個檔案
20 ■■■■■ 已變更過的檔案
PAMapp/components/Ui/UiAvatar.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/agentInfo/_agentNo.vue 18 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Ui/UiAvatar.vue
@@ -15,7 +15,7 @@
    size!: number;
    @Prop()
    fileName!: string;
    agentNo!: string;
    get imgSrc() {
        return process.env.BASE_URL + '/consultant/avatar/' + this.agentNo;
PAMapp/pages/agentInfo/_agentNo.vue
@@ -224,28 +224,22 @@
  fieldInfoTitle = '';
  fieldInfoDesc = '';
  hideReviews = hideReviews ;
  //////////////////////////////////////////////////////////////////////
  get agentName(): string {
    return `${this.agentInfo.name}(${this.agentInfo.role})`;
  }
  get displayCommunicationStyleList(): string[] {
    return this.agentInfo.communicationStyle.split('、').filter((item) => item);
  }
  async asyncData(context: Context) {
    const agentNo = context.route.params.agentNo;
    return {
      agentInfo: await myConsultantService.getConsultantDetail(agentNo).then((res) => res)
    }
  }
 
  //////////////////////////////////////////////////////////////////////
 
  alertAddSuccess(): void {
      this.isAlertAddSuccess = true;
  }
  alertFieldInfo(field: string): void {
    this.isAlertFieldInfo = true;
    switch(field) {
@@ -260,12 +254,14 @@
    }
  }
//////////////////////////////////////////////////////////////////////
  get agentName(): string {
    return `${this.agentInfo.name}(${this.agentInfo.role})`;
  }
  
  get displayCommunicationStyleList(): string[] {
    return this.agentInfo.communicationStyle.split('、').filter((item) => item);
  }
}
</script>