eight
2024-11-25 549e0a0cda7fdaafc3d2e456b61187b7eed2c131
src/views/ecg/appointment/AppointmentForm.vue
@@ -219,7 +219,7 @@
    }
  }
}
const openByQueue = async (type: string, patId: string) => {
const openByQueue = async (type: string, patId: string, checkType: number) => {
  dialogVisible.value = true
  dialogTitle.value = t('action.' + type)
  formType.value = type
@@ -228,7 +228,7 @@
  if (patId) {
    formLoading.value = true
    try {
      formData.value = await AppointmentApi.getCurAppointmentByPatId( patId )
      formData.value = await AppointmentApi.getCurAppointmentByPatIdAndCheckType( patId, checkType )
    } finally {
      formLoading.value = false
    }