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 | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/ecg/callingscreen/bigscreen.vue b/src/views/ecg/callingscreen/bigscreen.vue index 08214a1..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 + "灏辫瘖"); } } @@ -98,7 +98,7 @@ </script> <template> - <div style="height: 100%; display:flex; flex-direction: column; padding-left: 5px; padding-right: 5px"> + <div style="height: 100%; display:flex; flex-direction: column; height: 100vh; overflow-y: auto; padding-left: 5px; padding-right: 5px"> <div style="display:flex; justify-content: center; align-items: center; background: var(--el-color-primary-light-7); font-size: 22px; "> <img height="40px" src="@/assets/imgs/jinhua.png"/> 閲戝崕浜烘皯鍖婚櫌 -- Gitblit v1.9.3