From 0f2f459d9d021050ecf19e9b3f74df9d340c66a6 Mon Sep 17 00:00:00 2001 From: Euni4U <958079825@qq.com> Date: Sun, 20 Apr 2025 17:41:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=AC=E5=8D=AB=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E4=BF=A1=E6=81=AF=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 | 5 +++++ src/views/Inspection-checklist/Inspection-checklist.vue | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/api/inspect/inspectpatient/index.ts b/src/api/inspect/inspectpatient/index.ts index 41290cc..7919227 100644 --- a/src/api/inspect/inspectpatient/index.ts +++ b/src/api/inspect/inspectpatient/index.ts @@ -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}) + } } diff --git a/src/views/Inspection-checklist/Inspection-checklist.vue b/src/views/Inspection-checklist/Inspection-checklist.vue index 5e8de0d..297b5fd 100644 --- a/src/views/Inspection-checklist/Inspection-checklist.vue +++ b/src/views/Inspection-checklist/Inspection-checklist.vue @@ -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 || '未知错误'}`)