增加回传接口
This commit is contained in:
parent
e4501658ae
commit
143f090fe5
@ -149,5 +149,9 @@ export const PatientApi = {
|
|||||||
//获取条形码编号
|
//获取条形码编号
|
||||||
GetbarcodeInfo: async (medicalSn: string) => {
|
GetbarcodeInfo: async (medicalSn: string) => {
|
||||||
return await request.get({ url: `/inspect/patient/GetbarcodeInfo?medicalSn=` + medicalSn })
|
return await request.get({ url: `/inspect/patient/GetbarcodeInfo?medicalSn=` + medicalSn })
|
||||||
|
},
|
||||||
|
//体检报告信息回传
|
||||||
|
PushJYPatientInfo: async (medicalSn: string) => {
|
||||||
|
return await request.get({ url: `/inspect/patient/PushJYPatientInfo?medicalSn=` + medicalSn })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2208,6 +2208,8 @@ const handleSaveAllResults = async () => {
|
|||||||
|
|
||||||
ElMessage.success('所有检查结果保存成功')
|
ElMessage.success('所有检查结果保存成功')
|
||||||
await PatientApi.generateReport(selectedPatient.value?.medicalSn)
|
await PatientApi.generateReport(selectedPatient.value?.medicalSn)
|
||||||
|
// 体检报告信息回传
|
||||||
|
PatientApi.PushJYPatientInfo(selectedPatient.value?.medicalSn)
|
||||||
// 重新加载数据以更新界面
|
// 重新加载数据以更新界面
|
||||||
await refreshExamData()
|
await refreshExamData()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user