| | |
| | | <div |
| | | class="delete" |
| | | v-if="showRemoveBtn" |
| | | @click="removeAgent" |
| | | @click="isRemoveAgentPopup = true" |
| | | >移除</div> |
| | | <div |
| | | v-if="notScoreAppointmentYet" |
| | |
| | | </div> |
| | | </PopUpFrame> |
| | | |
| | | <PopUpFrame :isOpen.sync="isConfirmPopup"> |
| | | <div class="text--center mdTxt">已成功取消此筆預約</div> |
| | | <PopUpFrame :isOpen.sync="isConfirmPopup"> |
| | | <div class="text--center mdTxt">已成功{{confirmTxt}}</div> |
| | | <div class="text--center mt-30"> |
| | | <el-button @click="isConfirmPopup = false" type="primary">確定</el-button> |
| | | </div> |
| | | </PopUpFrame> |
| | | |
| | | <PopUpFrame :isOpen.sync="isRemoveAgentPopup"> |
| | | <div class="text--center mdTxt">是否移除顧問 <span class="text--primary">{{agentInfo.name}}</span>?</div> |
| | | <div class="text--center mt-30"> |
| | | <el-button @click="isRemoveAgentPopup = false">否</el-button> |
| | | <el-button @click="removeAgent" type="primary">是</el-button> |
| | | </div> |
| | | </PopUpFrame> |
| | | </div> |
| | |
| | | isCancelPopup = false; |
| | | hideReviews = hideReviews; |
| | | isConfirmPopup = false; |
| | | isRemoveAgentPopup = false; |
| | | confirmTxt = ''; |
| | | |
| | | appointmentDetail: any = { |
| | | age : '', |
| | |
| | | |
| | | removeAgent() { |
| | | this.removeFromMyConsultantList(this.agentInfo.agentNo).then((removeOk) => { |
| | | this.isRemoveAgentPopup = false; |
| | | setTimeout(() => { |
| | | this.confirmTxt = '移除顧問'; |
| | | this.isConfirmPopup = true; |
| | | }, 300); |
| | | |
| | | }); |
| | | } |
| | | |
| | |
| | | this.isVisibleDialog = false; |
| | | this.isCancelPopup = false; |
| | | setTimeout(() => { |
| | | this.confirmTxt = '取消此筆預約'; |
| | | this.isConfirmPopup = true; |
| | | |
| | | }, 300); |
| | | }); |
| | | } |
| | |
| | | } |
| | | |
| | | .delete { |
| | | display: inline-block; |
| | | color: $PRIMARY_RED; |
| | | font-size: 14px; |
| | | font-weight: bold; |