From e89834c34e8f987cd59a167aa8c8369a731ef44c Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 11 四月 2025 12:19:27 +0800 Subject: [PATCH] 根据检查类型 , 自动确费 --- 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