From 425c897ba7b369a73312f262d44a64f017a0d5d3 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 11 四月 2025 10:18:50 +0800
Subject: [PATCH] update
---
src/views/ecg/callingscreen/bigscreen.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/ecg/callingscreen/bigscreen.vue b/src/views/ecg/callingscreen/bigscreen.vue
index f6f8576..df12138 100644
--- a/src/views/ecg/callingscreen/bigscreen.vue
+++ b/src/views/ecg/callingscreen/bigscreen.vue
@@ -28,7 +28,7 @@
const startScrolling = () => {
setInterval(() => {
getList();
- if ( curSpeakPat === null ) {
+ if ( curSpeakPat == null ) {
initiateSpeak()
}
}, 5000); // 姣廥绉掓粴鍔ㄤ竴娆�
@@ -48,8 +48,8 @@
const initiateSpeak = async () => {
curSpeakPat = await CallApi.getNextCall()
- if (curSpeakPat !== null) {
- console.info( curSpeakPat )
+ //console.info( "initiateSpeak", curSpeakPat, curSpeakPat?.called )
+ if (curSpeakPat != null && curSpeakPat.called === 0) {
speak("璇枫��" + curSpeakPat.patName + "鍒�" + curSpeakPat.roomName + "灏辫瘖");
}
}
--
Gitblit v1.9.3