From f1b5639963597b9d8c8ffeae747036e111fb7e69 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 16 十月 2024 14:08:07 +0800 Subject: [PATCH] 检查项目 大屏显示列 配置 --- src/views/ecg/callingscreen/bigscreen.vue | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/views/ecg/callingscreen/bigscreen.vue b/src/views/ecg/callingscreen/bigscreen.vue index 823cec8..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 @@ -122,7 +123,7 @@ <el-footer height="100px" style="padding: 0 0"> <el-header height="30px" style="background-color: #98b8e5; line-height: 30px;">杩囧彿鍖�</el-header> <span v-for="(passedItem, index) in listPassed" :key="index"> - {{nameDesensitize(passedItem.patName) + " "}} + {{nameDesensitize(passedItem.patName) + " " + passedItem.roomName + " "}} </span> </el-footer> </el-container> -- Gitblit v1.9.3