chenyc
2025-06-30 d518ec81bbdb5f9f66584609bf5ae4c18347cd59
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,
@@ -94,6 +94,7 @@
        isScheduled:resultInfo.isScheduled,
        isAfterMed:resultInfo.isAfterMed,
        deviceNo:resultInfo.deviceNo,
        设备分区名称:resultInfo.设备分区名称,
        preWeight:resultInfo.preWeight,
        // s上次体重
        lastTimeAfterWeight:resultInfo.lastTimeAfterWeight,
@@ -102,7 +103,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)