| | |
| | | type="flex" |
| | | class="pam-paragraph"> |
| | | <UiField label="進件時間" :labelSize="20"> |
| | | <input |
| | | class="appointment-client-detail-close__input" |
| | | v-model="appointmentCloseInfo.planCode" |
| | | placeholder="TBD: 日期元件" |
| | | type="text"> |
| | | <DateTimePicker @changeDateTime="appointmentCloseDate = $event"></DateTimePicker> |
| | | </UiField> |
| | | </el-row> |
| | | </template> |
| | |
| | | <el-button @click="closeAppointment">確認</el-button> |
| | | </el-row> |
| | | |
| | | <PopUpFrame :isOpen.sync="isShowSuccessAlert"> |
| | | <div class="text--middle invite-review"> |
| | | <div class="mb-30 mt-10">結案成功</div> |
| | | <el-button type="primary" @click="closeAlert">確定</el-button> |
| | | </div> |
| | | </PopUpFrame> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | |
| | | contactStatus = ContactStatus; |
| | | |
| | | appointmentCloseDate = ''; |
| | | isShowSuccessAlert = false; |
| | | |
| | | appointmentCloseInfo = { |
| | | closedOtherReason : '', |
| | | closedReason : 'other', |
| | | planCode : '', |
| | | policyEntryDate : '', |
| | | policyEntryDate : this.appointmentCloseDate, |
| | | policyholderIdentityId: '', |
| | | remark : '', |
| | | selectCloseOption : 'done', |
| | |
| | | policyholderIdentityId: this.appointmentCloseInfo.policyholderIdentityId, |
| | | } |
| | | appointmentService.closeAppointment(toDoneAppointment).then((res) => res); |
| | | this.isShowSuccessAlert = true; |
| | | } else { |
| | | const toCloseAppointment: ToCloseAppointment = { |
| | | appointmentId : appointmentId, |
| | |
| | | remark : this.appointmentCloseInfo.remark, |
| | | } |
| | | appointmentService.closeAppointment(toCloseAppointment).then((res) => res); |
| | | this.isShowSuccessAlert = true; |
| | | } |
| | | } |
| | | |
| | | closeAlert(){ |
| | | this.isShowSuccessAlert = false ; |
| | | this.$router.push(`/myAppointmentList/contactedList`); |
| | | } |
| | | |
| | | } |
| | |
| | | color: $MID_GREY; |
| | | } |
| | | } |
| | | .invite-review{ |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | } |
| | | </style> |