34
chenyc
2023-05-19 5f863174c87662b967d4c5e123ea0cd3e6e11ebb
src/samples/httpApi.ts
@@ -13,17 +13,12 @@
        clientCode:confingInfoStore().confingInfo.clientCode,
        queryCode:codeStr
    }
    console.log('发送患者code 到http',mode)
    getPatientInfo2(mode).then(re=>{
        console.log('获取到患者信息-------')
        console.log(re)
        writePatient(re.data)
    })  
}
const updatePatientApi=(pam:object)=>{
    console.log('发送患者结果到后台 到http',pam)
    updatePatient(pam).then(re=>{
        console.log('发送患者结果到后端返回',re)
        writeResult(re.data)
    })