| | |
| | | { |
| | | "name": "sign-tool", |
| | | "version": "2.5.3", |
| | | "version": "2.5.4", |
| | | "icon": "public/favicon.ico", |
| | | "main": "dist/electron/main/index.js", |
| | | "author": "", |
| | |
| | | patientCodeLs = mode.patientCode |
| | | } |
| | | else { |
| | | // console.log(`patientCodeLs===${patientCodeLs} ,mode.patCode${mode.patientCode}`) |
| | | // speech.value?.speak({ text: "不能重复称重,请先刷卡然后再称重" }).then(() => { |
| | | // console.log("播报完成...") |
| | | // }) |
| | | // api上传 |
| | | updatePatient(mode).then(re => { |
| | | console.log(re) |
| | | }).catch(() => { |
| | | ElMessage.error('结果上报出错,请联系后台管理员') |
| | | }) |
| | | // sendPationSet(mode) |
| | | patientCodeLs = mode.patientCode |
| | | } |
| | | // 计算目标脱水量 |
| | | if (Number(weightInfo.value.result) > 0 && Number(patientInfo.value.pureWeight) !== 0) { |