eight
2024-11-26 c771431b0402393fb432a2a8536768086c9fd09b
src/views/ecg/appointment/CheckItemPanel.vue
@@ -21,6 +21,8 @@
  }
})
const emit = defineEmits(['event_appoint_confirm']) // 定义 success 事件,用于操作成功后的回调
const checkTypeStore = useCheckTypeStore();
const checkTypeTimeslotList = ref<QueueSequenceVO>()
@@ -46,6 +48,8 @@
          }
          const data = await AppointmentApi.confirmAppointmentVip(tempAppointment)
          bookSeqNum.value = data
          // 发送操作成功的事件
          emit('event_appoint_confirm')
          _printNote()
          ElNotification({
            title: '温馨提示',
@@ -63,11 +67,13 @@
  } else {
    const data = await AppointmentApi.confirmAppointment(props.appointment)
    bookSeqNum.value = data
    // 发送操作成功的事件
    emit('event_appoint_confirm')
    _printNote()
    ElNotification({
      title: '温馨提示',
      message: data,
      type: 'warning'
      type: 'info'
    })
  }
}