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 }