From 6657e1941f1b517c66a47ec14ef5ed65afb75e21 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 24 十月 2024 17:27:20 +0800
Subject: [PATCH] update
---
src/views/ecg/appointment/AppointmentForm.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/views/ecg/appointment/AppointmentForm.vue b/src/views/ecg/appointment/AppointmentForm.vue
index 1d85507..a1a18ed 100644
--- a/src/views/ecg/appointment/AppointmentForm.vue
+++ b/src/views/ecg/appointment/AppointmentForm.vue
@@ -68,7 +68,7 @@
<el-form-item label="棰勭害妫�鏌ョ被鍨�" prop="bookCheckType">
<el-select v-model="formData.bookCheckType" placeholder="璇烽�夋嫨棰勭害妫�鏌ョ被鍨�">
<el-option
- v-for="dict in getIntDictOptions(DICT_TYPE.ECG_CHECK_TYPE)"
+ v-for="dict in checkTypeStore.getCheckTypeOptions()"
:key="dict.value"
:label="dict.label"
:value="dict.value"
@@ -157,9 +157,12 @@
<script setup lang="ts">
import {DICT_TYPE, getIntDictOptions} from '@/utils/dict'
import { AppointmentApi, AppointmentVO } from '@/api/ecg/appointment'
+import {useCheckTypeStore} from "@/store/modules/checkType";
/** 棰勭害 琛ㄥ崟 */
defineOptions({ name: 'AppointmentForm' })
+
+const checkTypeStore = useCheckTypeStore();
const { t } = useI18n() // 鍥介檯鍖�
const message = useMessage() // 娑堟伅寮圭獥
@@ -186,7 +189,7 @@
bookTime: undefined,
bookDate: new Date().getTime(),
bookTimeslot: 9000930,
- bookCheckType: 10,
+ bookCheckType: 100, //甯歌妫�鏌�
paid: 0,
})
const formRules = reactive({
@@ -262,7 +265,7 @@
bookTime: undefined,
bookDate: new Date().getTime(),
bookTimeslot: 9000930,
- bookCheckType: 10
+ bookCheckType: checkTypeStore.getCheckTypeName(100)
}
formRef.value?.resetFields()
}
--
Gitblit v1.9.3