chenyc
2022-09-20 a6b4fd6c0219bb41415cd232daa12ca28eb8add7
src/samples/sockteStomp.ts
@@ -123,7 +123,8 @@
        deviceCode:resultInfo.deviceCode===null?"":resultInfo.deviceCode,
        hemoCode:resultInfo.hemoCode===null?"":resultInfo.hemoCode,
        pureWeight:resultInfo.pureWeight===null?"":resultInfo.pureWeight,
        datetime:da
        datetime:da,
        isScheduled:resultInfo.isScheduled
    }
    // 写入vuex里
    patientInfoStore().setpatientInfo(info)
@@ -150,6 +151,7 @@
}
const PatientCallback=function(message:any){
    if (message.body) {
        console.log('00000000000000',message.body)
        const data=JSON.parse(message.body)
        console.log(data,'患者信息读取')
        writePatient(data)