34
chenyc
2023-05-19 5f863174c87662b967d4c5e123ea0cd3e6e11ebb
src/samples/sockteStomp.ts
@@ -90,7 +90,11 @@
        hemoCode:resultInfo.hemoCode===null?"":resultInfo.hemoCode,
        pureWeight:resultInfo.pureWeight===null?"":resultInfo.pureWeight,
        datetime:da,
        isScheduled:resultInfo.isScheduled
        clothesWeight:resultInfo.clothesWeight===null?0:resultInfo.clothesWeight,
        isScheduled:resultInfo.isScheduled,
        isAfterMed:resultInfo.isAfterMed,
        deviceNo:resultInfo.deviceNo,
        preWeight:resultInfo.preWeight
    }
    // 写入vuex里
    patientInfoStore().setpatientInfo(info)
@@ -187,4 +191,4 @@
        stompClient.send(`/app/patient/info/set`,{},JSON.stringify(mode))
    }
}
export {creatorClient,sendPationCode,sendPationSet,writeResult}
export {creatorClient,sendPationCode,sendPationSet,writeResult,writePatient}