eight
2025-04-11 425c897ba7b369a73312f262d44a64f017a0d5d3
update
已修改1个文件
6 ■■■■ 文件已修改
src/views/ecg/callingscreen/bigscreen.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/ecg/callingscreen/bigscreen.vue
@@ -28,7 +28,7 @@
const startScrolling = () => {
  setInterval(() => {
    getList();
    if ( curSpeakPat === null ) {
    if ( curSpeakPat == null ) {
      initiateSpeak()
    }
  }, 5000); // 每X秒滚动一次
@@ -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 + "就诊");
  }
}