| | |
| | | |
| | | <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> |
| | | |
| | |
| | | formRef.value?.resetFields() |
| | | } |
| | | |
| | | const onEventAppointConfirm = () => { |
| | | queryParams.patId = "" |
| | | } |
| | | |
| | | /** 初始化 **/ |
| | | onMounted(() => { |
| | | resetForm() |
| | |
| | | } |
| | | }) |
| | | |
| | | const emit = defineEmits(['event_appoint_confirm']) // 定义 success 事件,用于操作成功后的回调 |
| | | |
| | | const checkTypeStore = useCheckTypeStore(); |
| | | |
| | | const checkTypeTimeslotList = ref<QueueSequenceVO>() |
| | |
| | | } |
| | | const data = await AppointmentApi.confirmAppointmentVip(tempAppointment) |
| | | bookSeqNum.value = data |
| | | // 发送操作成功的事件 |
| | | emit('event_appoint_confirm') |
| | | _printNote() |
| | | ElNotification({ |
| | | title: '温馨提示', |
| | |
| | | } else { |
| | | const data = await AppointmentApi.confirmAppointment(props.appointment) |
| | | bookSeqNum.value = data |
| | | // 发送操作成功的事件 |
| | | emit('event_appoint_confirm') |
| | | _printNote() |
| | | ElNotification({ |
| | | title: '温馨提示', |
| | | message: data, |
| | | type: 'warning' |
| | | type: 'info' |
| | | }) |
| | | } |
| | | } |