From 4138fa77375ab7e1750fd7de7d2627306a7959bc Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 26 八月 2024 09:33:15 +0800 Subject: [PATCH] update --- src/api/ecg/appointment/index.ts | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts index ed0ee0f..c3b56eb 100644 --- a/src/api/ecg/appointment/index.ts +++ b/src/api/ecg/appointment/index.ts @@ -2,6 +2,7 @@ // 棰勭害 VO export interface AppointmentVO { + id: number, patId: string // 鎮h�呯紪鍙� patName: string // 鎮h�呭鍚� patGender: number // 鎮h�呮�у埆 @@ -18,8 +19,8 @@ bookId: string // 棰勭害缂栧彿 bookDate: Date // 棰勭害鏃ユ湡 bookTimeslot: number // 棰勭害鏃堕棿娈� - bookTime: Date // 棰勭害鍙戠敓鏃堕棿 - bookCheckType: boolean // 棰勭害妫�鏌ョ被鍨� + bookTime: Date // 棰勭害鍙戠敓鏃堕棿, 鐐瑰嚮棰勭害鐨勬椂闂� + bookCheckType: number // 棰勭害妫�鏌ョ被鍨� } // 棰勭害 API @@ -52,5 +53,11 @@ // 瀵煎嚭棰勭害 Excel exportAppointment: async (params) => { return await request.download({ url: `/ecg/appointment/export-excel`, params }) + }, + + // 淇敼棰勭害 + confirmAppointment: async (data: AppointmentVO) => { + return await request.post({ url: `/ecg/appointment/confirm`, data }) } + } -- Gitblit v1.9.3