From 68d959e0efcd39b6bddab96191dff912c1c76813 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 24 十月 2024 14:18:35 +0800 Subject: [PATCH] bug fix --- src/api/ecg/appointment/index.ts | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts index c3b56eb..45283ba 100644 --- a/src/api/ecg/appointment/index.ts +++ b/src/api/ecg/appointment/index.ts @@ -21,6 +21,7 @@ bookTimeslot: number // 棰勭害鏃堕棿娈� bookTime: Date // 棰勭害鍙戠敓鏃堕棿, 鐐瑰嚮棰勭害鐨勬椂闂� bookCheckType: number // 棰勭害妫�鏌ョ被鍨� + paid: number //宸蹭粯娆� } // 棰勭害 API @@ -35,6 +36,11 @@ return await request.get({ url: `/ecg/appointment/get?id=` + id }) }, + // 鏌ヨ棰勭害璇︽儏 + getAppointmentByPatId: async (patId: string) => { + return await request.get({ url: `/ecg/appointment/get-by-patient?patId=` + patId }) + }, + // 鏂板棰勭害 createAppointment: async (data: AppointmentVO) => { return await request.post({ url: `/ecg/appointment/create`, data }) -- Gitblit v1.9.3