From 6c8cebd73a1e6eca84373214c22791483955471b Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 16 十月 2024 11:58:53 +0800 Subject: [PATCH] 诊间屏 过号不独立显示,底色区分 --- src/views/ecg/callingscreen/bigscreen.vue | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/views/ecg/callingscreen/bigscreen.vue b/src/views/ecg/callingscreen/bigscreen.vue index 1e618a5..c215856 100644 --- a/src/views/ecg/callingscreen/bigscreen.vue +++ b/src/views/ecg/callingscreen/bigscreen.vue @@ -1,14 +1,14 @@ <script setup lang="ts"> -import {ScreenApi, CallingVO} from "@/api/ecg/screen"; +import {ScreenApi, ScreenQueueVO} from "@/api/ecg/screen"; import {CallApi, CallVO} from "@/api/ecg/call"; -import {DICT_TYPE} from "@/utils/dict"; +import {queueStatusConvert} from "@/utils/statusFormatter"; defineOptions({ name: 'bigscreen' }) -const listReady = ref<CallingVO[]>([]) // 鍒楄〃鐨勬暟鎹� -const listWaiting = ref<CallingVO[]>([]) // 鍒楄〃鐨勬暟鎹� -const listPassed = ref<CallingVO[]>([]) // +const listReady = ref<ScreenQueueVO[]>([]) // 鍒楄〃鐨勬暟鎹� +const listWaiting = ref<ScreenQueueVO[]>([]) // 鍒楄〃鐨勬暟鎹� +const listPassed = ref<ScreenQueueVO[]>([]) // let curSpeakPat : CallVO | null = null; @@ -98,12 +98,13 @@ label="鎮h�呭鍚�" width="80"> <template #default="scope"> - {{ nameDesensitize(scope.row.patName) }} + {{scope.row.seqNum}} {{ nameDesensitize(scope.row.patName) }} </template> </el-table-column> - <el-table-column label="鐘舵��" align="center" prop="status" width="80"> + <el-table-column label="鐘舵��" align="center" prop="status" width="100"> <template #default="scope"> - <dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="scope.row.status" /> +<!-- <dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="scope.row.status" />--> + {{queueStatusConvert(scope.row.status)}} </template> </el-table-column> <el-table-column -- Gitblit v1.9.3