增加公卫推送信息接口

This commit is contained in:
Euni4U 2025-04-20 17:41:53 +08:00
parent 1bc38d1884
commit 0f2f459d9d
2 changed files with 7 additions and 0 deletions

View File

@ -154,7 +154,12 @@ export const PatientApi = {
PushJYPatientInfo: async (medicalSn: string) => {
return await request.get({ url: `/inspect/patient/PushJYPatientInfo?medicalSn=` + medicalSn })
},
//获取工作量统计
getData : async (params: any) => {
return await request.get({ url: `/inspect/patient/getworkload?dates=${params.dates[0]}&dates=${params.dates[1]}` })
},
//更新患者补充信息
updatePatientSupplement: async (medicalSn: string,idCard: string) => {
return await request.put({ url: `/inspect/patient/updatePatientSupplement?medicalSn=` + medicalSn + `&cardId=` + idCard})
}
}

View File

@ -299,6 +299,8 @@ const handlePrint = async (row: PatientVO) => {
//
await getList()
message.success('打印成功')
//
PatientApi.updatePatientSupplement(row.medicalSn,row.cardId)
} catch (error: any) {
console.error('打印失败:', error)
message.error(`打印失败: ${error.message || '未知错误'}`)