| | |
| | | } |
| | | 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) { |