From f6b12c03f6a0ee7b3ee6e4a4fba233af355634cf Mon Sep 17 00:00:00 2001 From: Euni4U <958079825@qq.com> Date: Thu, 13 Mar 2025 18:09:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E8=88=AC=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inspect/inspectpatient/index.ts | 4 ++++ .../Department-entry/Medical-examination-vehicle.vue | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/api/inspect/inspectpatient/index.ts b/src/api/inspect/inspectpatient/index.ts index 15b56aa..bc6d328 100644 --- a/src/api/inspect/inspectpatient/index.ts +++ b/src/api/inspect/inspectpatient/index.ts @@ -89,4 +89,8 @@ export const PatientApi = { GetApiEcgInfo: async (medicalSn: string) => { return await request.get({ url: `/inspect/patient/getecgTj?medicalSn=` + medicalSn}) }, + //获取一般检查项目结果 + GetApiYbjcInfo: async (medicalSn: string,cardId:string) => { + return await request.put({ url: `/inspect/patient/GetApiYbjcInfo?medicalSn=` + medicalSn + `&cardId=` + cardId}) + }, } diff --git a/src/views/Department-entry/Medical-examination-vehicle.vue b/src/views/Department-entry/Medical-examination-vehicle.vue index b8e7733..2f024f8 100644 --- a/src/views/Department-entry/Medical-examination-vehicle.vue +++ b/src/views/Department-entry/Medical-examination-vehicle.vue @@ -1009,7 +1009,7 @@ const handleSync = async () => { const medicalSn = selectedPatient.value.medicalSn // 定义需要同步的类型 - const types = ['XCG', 'NCG', 'SHQX','ECG'] + const types = ['XCG', 'NCG', 'SHQX','ECG','YBJC'] // 并行请求所有报告(包括检验报告和超声报告) const syncPromises = [ @@ -1032,6 +1032,12 @@ const handleSync = async () => { .catch(error => { console.warn('获取心电报告失败:', error) return null + }), + // 一般检查报告请求 + PatientApi.GetApiYbjcInfo(medicalSn, '15262719621023461x')//测试一般检查 + .catch(error => { + console.warn('获取一般检查报告失败:', error) + return null }) ]