From 106d90222ad7fb031cae93876e904e9dc8e5ce7f Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 11 四月 2025 16:05:47 +0800 Subject: [PATCH] fix warnings --- src/views/ecg/appointment/AppointmentConfirm.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue index 9ddf270..b0adea6 100644 --- a/src/views/ecg/appointment/AppointmentConfirm.vue +++ b/src/views/ecg/appointment/AppointmentConfirm.vue @@ -87,13 +87,11 @@ <script setup lang="ts"> import {DICT_TYPE, getIntDictOptions} from '@/utils/dict' import { AppointmentApi, AppointmentVO } from '@/api/ecg/appointment' -import {useCheckTypeStore} from "@/store/modules/checkType"; import CheckItemPanel from "@/views/ecg/appointment/CheckItemPanel.vue"; +import {getCheckTypeName} from "@/utils/checkTypeFormatter"; /** 棰勭害纭 琛ㄥ崟 */ defineOptions({ name: 'AppointmentConfirm' }) - -const checkTypeStore = useCheckTypeStore(); const queryParams = reactive({ patId: '' @@ -104,6 +102,7 @@ const formData = ref<AppointmentVO>({ id: 0, applyNo: "", + episodeId: "", patSrc: 0, patId: "", patName: "", @@ -118,12 +117,12 @@ patWardCode: "", patWardDesc: "", patBedNo: "", - bookId: "", bookTime: new Date(), bookDate: new Date(), bookTimeslot: 9301030, bookCheckType: getCheckTypeName(100), paid: 0, + bookSeqNum: 0, }) const formRef = ref() // 琛ㄥ崟 Ref @@ -158,6 +157,7 @@ formData.value = { id: 0, applyNo: "", + episodeId: "", patSrc: 0, patId: "", patName: "", @@ -172,13 +172,12 @@ patWardCode: "", patWardDesc: "", patBedNo: "", - bookId: "", bookTime: new Date(), bookDate: new Date(), bookTimeslot: 9301030, bookCheckType: getCheckTypeName(100), paid: 0, - bookSeqNum: 0 + bookSeqNum: 0, } formRef.value?.resetFields() } -- Gitblit v1.9.3