| | |
| | | |
| | | <div style="display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 20px"> |
| | | <div v-for="_appointment in appointmentVOList" :key="_appointment.applyNo"> |
| | | <CheckItemPanel :appointment="_appointment" /> |
| | | <CheckItemPanel :appointment="_appointment" @event_appoint_confirm="onEventAppointConfirm"/> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | |
| | | /** 重置表单 */ |
| | | const resetForm = () => { |
| | | appointmentVOList.value.length=0; |
| | | formData.value = { |
| | | id: 0, |
| | | applyNo: "", |
| | |
| | | bookTimeslot: 9301030, |
| | | bookCheckType: checkTypeStore.getCheckTypeName(100), |
| | | paid: 0, |
| | | bookSeqNum: 0 |
| | | } |
| | | formRef.value?.resetFields() |
| | | } |
| | | |
| | | const onEventAppointConfirm = () => { |
| | | /* |
| | | if (null !== appointmentVOList.value && appointmentVOList.value.length === 1) { |
| | | queryParams.patId = "" |
| | | } |
| | | */ |
| | | queryParams.patId = "" |
| | | } |
| | | |
| | | /** 初始化 **/ |
| | | onMounted(() => { |
| | | resetForm() |