| | |
| | | } |
| | | //发送消除某些状态 |
| | | const fuxuan=()=>{ |
| | | console.log('返回---') |
| | | const datetimeCON = patientInfoStore().patientInfo.datetime |
| | | // 获取是否是一台主机连2个设备 |
| | | const islinkDouble=confingInfoStore().confingInfo.islinkDouble |
| | |
| | | }) |
| | | sockteStore().setxyjSockte({ |
| | | type: '血压计', |
| | | deviceName: '', |
| | | result: '', |
| | | resultTime: '', |
| | | state: 2 |
| | | }) |
| | | sockteStore().setfaceSockte({ |
| | | type: '人脸识别', |
| | | deviceName: '', |
| | | result: '', |
| | | resultTime: '', |
| | |
| | | if (patientInfo.value.id !== 0 && patientInfo.value.name !== '' && patientInfo.value.isScheduled === 1) { |
| | | // console.log(`患者信息识别成功:${patientInfo.value.name}`) |
| | | ipcRenderer.invoke('logger', `患者信息识别成功:${patientInfo.value.name}`) |
| | | let str = `${patientInfo.value.name}识别成功。` |
| | | let str = `${patientInfo.value.name}识别成功。床号:${patientInfo.value.deviceNo}` |
| | | state.dialogVisible = false |
| | | speech.value?.speak({ text: str }).then(() => { |
| | | }) |
| | |
| | | },3000) |
| | | }) |
| | | return { |
| | | ...toRefs(state),isUseFaceRecogService, guyanbi, loginRef, isLink, netLink, weightInfo, patientInfo, xyjInfo, inputRef, inputChabge |
| | | ...toRefs(state),isUseFaceRecogService,fuxuan, guyanbi, loginRef, isLink, netLink, weightInfo, patientInfo, xyjInfo, inputRef, inputChabge |
| | | } |
| | | } |
| | | } |
| | |
| | | <h4>人脸识别中。。。</h4> |
| | | </div> |
| | | </template> |
| | | <login ref="loginRef" /> |
| | | <login ref="loginRef" :dialogVisible="dialogVisible" /> |
| | | </el-dialog> |
| | | </div> |
| | | <el-dialog title="提示" v-model="netLink" width="30%"> |
| | |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <div class="chongzhi" @click="fuxuan"> |
| | | 返回 |
| | | </div> |
| | | </div> |
| | | |
| | | </template> |
| | |
| | | margin: 0; |
| | | |
| | | } |
| | | .chongzhi{ |
| | | width: 100px; |
| | | height: 100px; |
| | | background: #769AFF; |
| | | color: #FFFFFF; |
| | | font-size: 20px; |
| | | line-height: 100px; |
| | | text-align: center; |
| | | position:fixed; |
| | | bottom:0px; |
| | | right:0px; |
| | | border-radius: 50px; |
| | | } |
| | | .devcont{ |
| | | width: 100%; |
| | | height: 99%; |