From 549e0a0cda7fdaafc3d2e456b61187b7eed2c131 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 25 十一月 2024 20:14:34 +0800 Subject: [PATCH] Fix bug, 当天多个预约 打印小票检查项目不对 --- src/api/ecg/appointment/index.ts | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts index 836edaa..d2338b0 100644 --- a/src/api/ecg/appointment/index.ts +++ b/src/api/ecg/appointment/index.ts @@ -24,6 +24,7 @@ bookTime: Date // 棰勭害鍙戠敓鏃堕棿, 鐐瑰嚮棰勭害鐨勬椂闂� bookCheckType: number // 棰勭害妫�鏌ョ被鍨� paid: number //宸蹭粯娆� + bookSeqNum: number } // 棰勭害 API @@ -39,8 +40,8 @@ }, // - getCurAppointmentByPatId: async (patId: string) => { - return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId }) + getCurAppointmentByPatIdAndCheckType: async (patId: string, checkType: number) => { + return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId + '&checkType=' + checkType }) }, // 浠嶩IS鎴栬�匘B鏌ヨ棰勭害璇︽儏 @@ -73,9 +74,14 @@ return await request.download({ url: `/ecg/appointment/export-excel`, params }) }, - // 淇敼棰勭害 + // 棰勭害纭 confirmAppointment: async (data: AppointmentVO) => { return await request.post({ url: `/ecg/appointment/confirm`, data }) + }, + + // VIP棰勭害纭 + confirmAppointmentVip: async (data: AppointmentVO) => { + return await request.post({ url: `/ecg/appointment/confirm-vip`, data }) } } -- Gitblit v1.9.3