From 660f9e6478056aff8a52149c1bc1a0491d53ac71 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 30 十月 2024 18:12:58 +0800 Subject: [PATCH] 标记当前工作 是否 允许当前页面操作 --- src/api/ecg/appointment/index.ts | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts index c138ee5..402e9d2 100644 --- a/src/api/ecg/appointment/index.ts +++ b/src/api/ecg/appointment/index.ts @@ -19,8 +19,9 @@ bookId: string // 棰勭害缂栧彿 bookDate: Date // 棰勭害鏃ユ湡 bookTimeslot: number // 棰勭害鏃堕棿娈� - bookTime: Date // 棰勭害鍙戠敓鏃堕棿 + bookTime: Date // 棰勭害鍙戠敓鏃堕棿, 鐐瑰嚮棰勭害鐨勬椂闂� bookCheckType: number // 棰勭害妫�鏌ョ被鍨� + paid: number //宸蹭粯娆� } // 棰勭害 API @@ -35,6 +36,16 @@ return await request.get({ url: `/ecg/appointment/get?id=` + id }) }, + // 浠嶩IS鎴栬�匘B鏌ヨ棰勭害璇︽儏 + getAppointmentByPatId: async (patId: string) => { + return await request.get({ url: `/ecg/appointment/get-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