From 348e6bcdc7fa566a48b96dea53d24ec6dda49e1d Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 11 四月 2025 18:06:40 +0800 Subject: [PATCH] update --- src/views/ecg/appointment/AppointmentForm.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/ecg/appointment/AppointmentForm.vue b/src/views/ecg/appointment/AppointmentForm.vue index 864f5a3..64a4759 100644 --- a/src/views/ecg/appointment/AppointmentForm.vue +++ b/src/views/ecg/appointment/AppointmentForm.vue @@ -158,6 +158,7 @@ import {DICT_TYPE, getIntDictOptions} from '@/utils/dict' import { AppointmentApi, AppointmentVO } from '@/api/ecg/appointment' import {useCheckTypeStore} from "@/store/modules/checkType"; +import {getCheckTypeName} from "@/utils/checkTypeFormatter"; /** 棰勭害 琛ㄥ崟 */ defineOptions({ name: 'AppointmentForm' }) @@ -282,7 +283,7 @@ bookTime: undefined, bookDate: new Date().getTime(), bookTimeslot: 9000930, - bookCheckType: checkTypeStore.getCheckTypeName(100), + bookCheckType: getCheckTypeName(100), paid: 0, } formRef.value?.resetFields() @@ -290,7 +291,7 @@ const searchBookInfo = async () => { const tmpPatId = formData.value.patId - if (null === tmpPatId || "" === tmpPatId) + if (null == tmpPatId || "" === tmpPatId) return const data = await AppointmentApi.queryAppointmentFromHis( tmpPatId ) // 瀵瑰簲鏁版嵁搴撲腑 pat_id -- Gitblit v1.9.3