fixed: [客戶] 首頁久未回應的顧問dialog - 點擊取消預約後的 null of undefied error
| | |
| | | @click.native="reviewsBtn = true">給予滿意度評分</el-button> |
| | | </div> |
| | | |
| | | <div v-if="appointmentDetail.communicateStatus === 'reserved' && !isAppointment" class="text--center mt-10"> |
| | | <div v-if="appointmentDetail.communicateStatus === 'reserved'" class="text--center mt-10"> |
| | | <el-button @click="isCancelPopup = true">取消預約</el-button> |
| | | <el-button @click="edit" type="primary">編輯</el-button> |
| | | </div> |
| | |
| | | return !this.appointmentDetail.satisfactionScore; |
| | | }; |
| | | return false; |
| | | } |
| | | |
| | | get isAppointment(): boolean { |
| | | return !!this.agentInfo['appointmentStatus']; |
| | | } |
| | | |
| | | } |