From 107bb47a563a7b551ea2bb616fa2ba3d8a52ee7a Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 08 十一月 2024 16:17:12 +0800 Subject: [PATCH] update --- src/api/ecg/appointment/index.ts | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts index 7c4327a..836edaa 100644 --- a/src/api/ecg/appointment/index.ts +++ b/src/api/ecg/appointment/index.ts @@ -3,6 +3,8 @@ // 棰勭害 VO export interface AppointmentVO { id: number, + applyNo: string + patSrc: number patId: string // 鎮h�呯紪鍙� patName: string // 鎮h�呭鍚� patGender: number // 鎮h�呮�у埆 @@ -36,6 +38,21 @@ return await request.get({ url: `/ecg/appointment/get?id=` + id }) }, + // + getCurAppointmentByPatId: async (patId: string) => { + return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId }) + }, + + // 浠嶩IS鎴栬�匘B鏌ヨ棰勭害璇︽儏 + queryAndCreateAppointmentByPatId: async (patId: string) => { + return await request.get({ url: `/ecg/appointment/query-and-create-by-patient?patId=` + patId }) + }, + + // 浠嶩IS鏌ヨ棰勭害鎴栧紑鍗曚俊鎭� + queryAppointmentFromHis: async (patId: string) => { + return await request.get({ url: `/ecg/appointment/query-his-by-patient?patId=` + patId }) + }, + // 鏂板棰勭害 createAppointment: async (data: AppointmentVO) => { return await request.post({ url: `/ecg/appointment/create`, data }) -- Gitblit v1.9.3