| | |
| | | } |
| | | }) |
| | | |
| | | 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' |
| | | }) |
| | | } |
| | | } |