From b5646e3f08bf45a27a3db92f5e27568a5448cb03 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 10 十二月 2024 12:34:11 +0800
Subject: [PATCH] 优化串口重连
---
src/samples/sockteStomp.ts | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/samples/sockteStomp.ts b/src/samples/sockteStomp.ts
index 17ae283..5f6a3f9 100644
--- a/src/samples/sockteStomp.ts
+++ b/src/samples/sockteStomp.ts
@@ -78,7 +78,7 @@
}
const writePatient=(resultInfo:any)=>{
// 给一个时间变化
- const da=new Date().toTimeString()
+ const da=new Date()
console.log(da)
const info={
id:resultInfo.patientInfo===null?0:resultInfo.patientInfo.id,
@@ -102,7 +102,9 @@
txq:resultInfo.txq,
medMethod:resultInfo.medMethod,
glq:resultInfo.glq,
- preBP:resultInfo.preBP
+ preBP:resultInfo.preBP,
+ nextRecordDate:resultInfo.nextRecordDate,
+ actuallyClliang:resultInfo.actuallyClliang
}
// 写入vuex里
patientInfoStore().setpatientInfo(info)
--
Gitblit v1.8.0