保誠-保戶業務員媒合平台
Tomas
2024-01-11 f316bd2d97efb54ef48fde17b4e38fba2fc7b1aa
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) {