From 5f2d3ce8c386837a87bdb08401e9ac62aecc6805 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 24 十月 2024 17:46:50 +0800
Subject: [PATCH] just ui format
---
src/views/ecg/appointment/index.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/views/ecg/appointment/index.vue b/src/views/ecg/appointment/index.vue
index 9bc34d7..e8e07c1 100644
--- a/src/views/ecg/appointment/index.vue
+++ b/src/views/ecg/appointment/index.vue
@@ -149,7 +149,7 @@
class="!w-240px"
>
<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"
@@ -229,7 +229,7 @@
</el-table-column>
<el-table-column label="棰勭害妫�鏌ョ被鍨�" align="center" prop="bookCheckType">
<template #default="scope">
- <dict-tag :type="DICT_TYPE.ECG_CHECK_TYPE" :value="scope.row.bookCheckType" />
+ {{checkTypeStore.getCheckTypeName(scope.row.bookCheckType)}}
</template>
</el-table-column>
<el-table-column label="棰勭害鏉ユ簮" align="center" prop="bookSrc">
@@ -277,6 +277,7 @@
import download from '@/utils/download'
import { AppointmentApi, AppointmentVO } from '@/api/ecg/appointment'
import AppointmentForm from './AppointmentForm.vue'
+import {useCheckTypeStore} from "@/store/modules/checkType";
/** 棰勭害 鍒楄〃 */
defineOptions({ name: 'Appointment' })
@@ -312,6 +313,8 @@
const queryFormRef = ref() // 鎼滅储鐨勮〃鍗�
const exportLoading = ref(false) // 瀵煎嚭鐨勫姞杞戒腑
+const checkTypeStore = useCheckTypeStore();
+
/** 鏌ヨ鍒楄〃 */
const getList = async () => {
loading.value = true
--
Gitblit v1.9.3