| | |
| | | const getUserMediaFail = ref(false) // 获取用户媒体失败 |
| | | let lsDateTime:any=new Date() |
| | | const msg = ref<string>("没识别到人脸..."); |
| | | const datetext=computed(()=>{ |
| | | return formatDate(new Date(),'YYYY-mm-dd WWW') |
| | | }) |
| | | const datetext=ref(formatDate(new Date(),'YYYY-mm-dd WWW')) |
| | | /**体重发送时候显示在界面的体重 */ |
| | | const weightInfoResult=ref() |
| | | let timer:any=new Date() |
| | |
| | | id: 0, |
| | | code: '', |
| | | name: '', |
| | | patientNamePyFull:'', |
| | | patientAvatarIcon: '', |
| | | deviceCode: '', |
| | | hemoCode: '', |
| | |
| | | // 人脸识别成功后 1查看是否开启测温 |
| | | // console.log(`患者信息识别成功:${patientInfo.value.name}`) |
| | | ipcRenderer.invoke('logger', `患者信息识别成功:${patientInfo.value.name}`) |
| | | let str = `${patientInfo.value.name}识别成功,分区:${patientInfo.value.设备分区名称},床号:${patientInfo.value.deviceNo},` |
| | | let str = `${patientInfo.value.patientNamePyFull?patientInfo.value.patientNamePyFull:patientInfo.value.name}识别成功,分区:${patientInfo.value.设备分区名称},床号:${patientInfo.value.deviceNo},` |
| | | dialogVisible.value = false |
| | | speech.value?.speak({ text: str }).then(() => { |
| | | }) |
| | |
| | | if(clockNum.value===0){ |
| | | fuxuan() |
| | | } |
| | | datetext.value= formatDate(new Date(),'YYYY-mm-dd WWW') |
| | | date.value=formatDate(new Date(),'YYYY-mm-dd HH:MM') |
| | | if(Number(date.value.substring(11,13))<12){ |
| | | timeShidaun.value='上午好!' |