eight
2025-04-11 106d90222ad7fb031cae93876e904e9dc8e5ce7f
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()
}