| | |
| | | </div> |
| | | <div v-if="is_ce_wen" style="width: 100%; height: 20%;"> |
| | | <div style="font-size: 1.5rem; color: #FFFFFF;margin-left: 0.5rem;"> |
| | | 测温:<span v-if="dangqian_wendu>30">{{dangqian_wendu}}°C</span> |
| | | 体温:<span v-if="dangqian_wendu>30">{{dangqian_wendu}}°C</span> |
| | | <span v-else> /</span> |
| | | </div> |
| | | </div> |
| | |
| | | import { confingInfoStore } from '@/stores/StoresConfing' |
| | | import {base64toFile} from '@/samples/faceApi' |
| | | import{initPort} from '@/samples/portApi' |
| | | import{initPort as oumulongHbp9030 } from '@/samples/deviceApi/oumulong-HBP-9030' |
| | | import { ElLoading, ElMessage } from 'element-plus' |
| | | let trackerTask: any = null; |
| | | // 标识用的画布 |
| | |
| | | weight: weightInfo.value.result, |
| | | bloodPressure: '' |
| | | } |
| | | if(dangqian_wendu.value>30){ |
| | | mode.temperature=dangqian_wendu.value |
| | | } |
| | | fasongNum.value++ |
| | | ipcRenderer.invoke('logger', `患者结果上传,第${fasongNum.value}次`) |
| | | ipcRenderer.invoke('logger', '参数:'+JSON.stringify(mode)) |
| | |
| | | patientCode: patientInfo.value.code, |
| | | weight: '', |
| | | bloodPressure: xyjInfo.value.result |
| | | } |
| | | if(dangqian_wendu.value>30){ |
| | | mode.temperature=dangqian_wendu.value |
| | | } |
| | | fasongNum.value++ |
| | | ipcRenderer.invoke('logger', `患者结果上传,第${fasongNum.value}次`) |
| | |
| | | if(is_ce_wen.value){ |
| | | initPort(configData.value.portPath,configData.value.baudRate) |
| | | } |
| | | // 是否开启血压计联机 |
| | | if(configData.value.Is_xyj){ |
| | | oumulongHbp9030(configData.value.xueyanjiPortPath,configData.value.xueyanjiBaudRate) |
| | | } |
| | | // 是否开启脸识别 |
| | | isUseFaceRecogService.value = configData.value.isUseFaceRecogService |
| | | console.log('人脸识别',isUseFaceRecogService.value) |