From b5e123281f226d6d191ca161aa331b1c2064f6a1 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 21 十月 2025 16:02:26 +0800
Subject: [PATCH] 添加界面参数
---
src/samples/sockteStomp.ts | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/samples/sockteStomp.ts b/src/samples/sockteStomp.ts
index 63189f3..e1fcc92 100644
--- a/src/samples/sockteStomp.ts
+++ b/src/samples/sockteStomp.ts
@@ -78,12 +78,13 @@
}
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,
code:resultInfo.patientInfo===null?'':resultInfo.patientInfo.code,
name:resultInfo.patientInfo===null?'':resultInfo.patientInfo.patientName,
+ patientNamePyFull:resultInfo.patientInfo===null?'':resultInfo.patientInfo.patientNamePyFull,
patientAvatarIcon:resultInfo.patientInfo===null?'':resultInfo.patientInfo.patientAvatarIcon,
deviceCode:resultInfo.deviceCode===null?"":resultInfo.deviceCode,
patientGender:resultInfo.patientInfo.patientGender,
@@ -94,6 +95,7 @@
isScheduled:resultInfo.isScheduled,
isAfterMed:resultInfo.isAfterMed,
deviceNo:resultInfo.deviceNo,
+ 设备分区名称:resultInfo.设备分区名称,
preWeight:resultInfo.preWeight,
// s上次体重
lastTimeAfterWeight:resultInfo.lastTimeAfterWeight,
--
Gitblit v1.8.0