From 27d64c7c4a2b5647bc991aa8e69d6209202cc4b9 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 16 十月 2024 10:27:49 +0800
Subject: [PATCH] 叫号屏 不能调用 需要登录接口
---
src/views/ecg/callingscreen/bigscreen.vue | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/views/ecg/callingscreen/bigscreen.vue b/src/views/ecg/callingscreen/bigscreen.vue
index 1e618a5..5ed7ccb 100644
--- a/src/views/ecg/callingscreen/bigscreen.vue
+++ b/src/views/ecg/callingscreen/bigscreen.vue
@@ -1,14 +1,15 @@
<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 +99,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