From 1b145b5655fa023032c8713bb2375bccdf0fc314 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 24 十月 2024 11:13:40 +0800 Subject: [PATCH] 领用完成后 立即刷新 患者列表 --- src/views/ecg/queue/index.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/ecg/queue/index.vue b/src/views/ecg/queue/index.vue index 2ae3585..32f3639 100644 --- a/src/views/ecg/queue/index.vue +++ b/src/views/ecg/queue/index.vue @@ -49,7 +49,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" @@ -137,7 +137,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="seqNum" /> @@ -217,6 +217,7 @@ import queueForm from './QueueForm.vue' import {DICT_TYPE, getIntDictOptions} from '@/utils/dict' import {DoctorApi, PatientVO} from "@/api/ecg/doctor"; +import {useCheckTypeStore} from "@/store/modules/checkType"; /** 鎺掗槦 鍒楄〃 */ defineOptions({ name: 'queue' }) @@ -224,6 +225,8 @@ const message = useMessage() // 娑堟伅寮圭獥 const { t } = useI18n() // 鍥介檯鍖� +const checkTypeStore = useCheckTypeStore(); + const loading = ref(true) // 鍒楄〃鐨勫姞杞戒腑 const list = ref<QueueVO[]>([]) // 鍒楄〃鐨勬暟鎹� const total = ref(0) // 鍒楄〃鐨勬�婚〉鏁� -- Gitblit v1.9.3