增加公卫推送信息接口
This commit is contained in:
parent
1bc38d1884
commit
0f2f459d9d
@ -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})
|
||||
}
|
||||
}
|
||||
|
@ -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 || '未知错误'}`)
|
||||
|
Loading…
Reference in New Issue
Block a user