diff --git a/src/api/inspect/inspectpatient/index.ts b/src/api/inspect/inspectpatient/index.ts index eecd495..c190a35 100644 --- a/src/api/inspect/inspectpatient/index.ts +++ b/src/api/inspect/inspectpatient/index.ts @@ -77,24 +77,27 @@ export const PatientApi = { }, //获取检验报告 - getReportTj: async (medicalSn: string,type:string) => { + getReportTj: async (medicalSn: string, type: string) => { return await request.get({ url: `/inspect/patient/getReportTj?medicalSn=` + medicalSn + `&type=` + type }) }, //获取超声报告 getUSTj: async (medicalSn: string) => { - return await request.get({ url: `/inspect/patient/getUSTj?medicalSn=` + medicalSn}) + return await request.get({ url: `/inspect/patient/getUSTj?medicalSn=` + medicalSn }) }, //获取心电报告 GetApiEcgInfo: async (medicalSn: string) => { - return await request.get({ url: `/inspect/patient/getecgTj?medicalSn=` + medicalSn}) + 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}) + GetApiYbjcInfo: async (medicalSn: string, cardId: string) => { + return await request.put({ url: `/inspect/patient/GetApiYbjcInfo?medicalSn=` + medicalSn + `&cardId=` + cardId }) }, //新增患者信息和体检项目 insertPatinetInfo: async (data: PatientVO) => { return await request.post({ url: `/inspect/patient/insertPatinetInfo`, data }) }, + createPatientInspectDataReport: async (medicalSn: any) => { + return await request.get({ url: `/inspect/patient/createPatientInspectDataReport?medicalSn=` + medicalSn, timeout: 110 * 1000 }) + } } diff --git a/src/views/summary/reprot-print/report-print.vue b/src/views/summary/reprot-print/report-print.vue index 0c63efc..ef855e3 100644 --- a/src/views/summary/reprot-print/report-print.vue +++ b/src/views/summary/reprot-print/report-print.vue @@ -1,5 +1,5 @@