From d3bc7c7a7c30dc81ceff5c82cd8cbf2ef76d6a43 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期六, 02 十一月 2024 20:03:49 +0800 Subject: [PATCH] 小票显示年龄 --- src/api/ecg/appointment/index.ts | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts index 45283ba..bbcd7eb 100644 --- a/src/api/ecg/appointment/index.ts +++ b/src/api/ecg/appointment/index.ts @@ -36,9 +36,19 @@ 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 }) + // + 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 }) }, // 鏂板棰勭害 -- Gitblit v1.9.3