From 83bc7f6d33934f56fd1df80c7e8975e7c887d606 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 23 十月 2024 22:12:05 +0800
Subject: [PATCH] 检查类型 字典移除,使用 本地存储

---
 src/views/ecg/appointment/AppointmentConfirm.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue
index 0e57f85..d985e7c 100644
--- a/src/views/ecg/appointment/AppointmentConfirm.vue
+++ b/src/views/ecg/appointment/AppointmentConfirm.vue
@@ -53,7 +53,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"
@@ -111,10 +111,13 @@
 <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: 'AppointmentConfirm' })
 
+const checkTypeStore = useCheckTypeStore();
+
 const message = useMessage() // 娑堟伅寮圭獥
 
 const loading = ref(true) // 鍒楄〃鐨勫姞杞戒腑

--
Gitblit v1.9.3