保誠-保戶業務員媒合平台
Tomas
2023-08-05 e86a7e7259c1f53d71797513b4a66eefaab2cec0
Fixed: [弱掃] p21.1 Indentation does not match nesting level
修改1個檔案
49 ■■■■ 已變更過的檔案
PAMapp/components/Consultant/ConsultantCard.vue 49 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Consultant/ConsultantCard.vue
@@ -270,32 +270,35 @@
        }
        return ''
    }
    get actionBtnLabel() {
      const isAppointment = !!this.agentInfo['appointmentStatus'];
      if (isAppointment) {
        if (this.agentInfo['appointmentStatus'] === 'contacted') {
            return '已聯絡';
        }
        if (this.agentInfo['appointmentStatus'] === 'reserved') {
            return '已預約';
        }
        if (this.agentInfo['appointmentStatus'] === 'done') {
            return '已成交';
        }
        if (this.agentInfo['appointmentStatus'] === 'closed') {
            return '未成交';
        }
      } else {
        if (this.agentInfo.contactStatus === 'contacted') {
            return '已聯絡';
        }
        if (this.agentInfo.contactStatus === 'reserved') {
            return '已預約';
        }
  get actionBtnLabel() {
    const isAppointment = !!this.agentInfo['appointmentStatus'];
    if (isAppointment) {
      if (this.agentInfo['appointmentStatus'] === 'contacted') {
        return '已聯絡';
      }
        return '進行預約';
      if (this.agentInfo['appointmentStatus'] === 'reserved') {
        return '已預約';
      }
      if (this.agentInfo['appointmentStatus'] === 'done') {
        return '已成交';
      }
      if (this.agentInfo['appointmentStatus'] === 'closed') {
        return '未成交';
      }
    } else {
      if (this.agentInfo.contactStatus === 'contacted') {
        return '已聯絡';
      }
      if (this.agentInfo.contactStatus === 'reserved') {
        return '已預約';
      }
    }
    return '進行預約';
  }
    get actionBtnStyle() {
      const isAppointment = !!this.agentInfo['appointmentStatus'];
      if (isAppointment) {