From 3fd7a12be67b3412035731aa8ff23575b92d6009 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 27 十一月 2024 14:15:04 +0800 Subject: [PATCH] 预约小票 格式调整 --- src/api/ecg/appointment/index.ts | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts index e5d9f03..962b361 100644 --- a/src/api/ecg/appointment/index.ts +++ b/src/api/ecg/appointment/index.ts @@ -3,11 +3,13 @@ // 棰勭害 VO export interface AppointmentVO { id: number, + applyNo: string + episodeId: number //灏辫瘖娴佹按鍙� + patSrc: number patId: string // 鎮h�呯紪鍙� patName: string // 鎮h�呭鍚� patGender: number // 鎮h�呮�у埆 patBirthday: Date // 鎮h�呯敓鏃� - patAge: number patMobile: string // 鎮h�呮墜鏈� patPhone: string // 鎮h�呯數璇� patIdentityId: string // 韬唤璇佸彿 @@ -23,6 +25,7 @@ bookTime: Date // 棰勭害鍙戠敓鏃堕棿, 鐐瑰嚮棰勭害鐨勬椂闂� bookCheckType: number // 棰勭害妫�鏌ョ被鍨� paid: number //宸蹭粯娆� + bookSeqNum: number } // 棰勭害 API @@ -38,8 +41,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鏌ヨ棰勭害璇︽儏 @@ -72,9 +75,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