chenyc
2025-12-09 a7fb2f5eab3e548f040004c1019f1c994eb91ad4
src/samples/sockteStomp.ts
@@ -80,13 +80,16 @@
    // 给一个时间变化
    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,
        patientGenderText:resultInfo.patientInfo.patientGenderText,
        hemoCode:resultInfo.hemoCode===null?"":resultInfo.hemoCode,
        pureWeight:resultInfo.pureWeight===null?"":resultInfo.pureWeight,
        datetime:da,
@@ -105,7 +108,9 @@
        glq:resultInfo.glq,
        preBP:resultInfo.preBP,
        nextRecordDate:resultInfo.nextRecordDate,
        actuallyClliang:resultInfo.actuallyClliang
        actuallyClliang:resultInfo.actuallyClliang,
        下次透析方案名称:resultInfo.下次透析方案名称,
        下次透析时段:resultInfo.下次透析时段
    }
    // 写入vuex里
    patientInfoStore().setpatientInfo(info)