chenyc
2025-04-22 1051ab47ac671486801296ccf0ad7c0ed527d7e6
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)
    })