From 1f4db481c48e6beb5c787f126576e63363b10a13 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 20 八月 2024 15:02:00 +0800
Subject: [PATCH] update

---
 src/api/ecg/appointment/index.ts |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts
index 609fa7b..c138ee5 100644
--- a/src/api/ecg/appointment/index.ts
+++ b/src/api/ecg/appointment/index.ts
@@ -2,7 +2,7 @@
 
 // 棰勭害 VO
 export interface AppointmentVO {
-  id: string
+  id: number,
   patId: string // 鎮h�呯紪鍙�
   patName: string // 鎮h�呭鍚�
   patGender: number // 鎮h�呮�у埆
@@ -20,7 +20,7 @@
   bookDate: Date // 棰勭害鏃ユ湡
   bookTimeslot: number // 棰勭害鏃堕棿娈�
   bookTime: Date // 棰勭害鍙戠敓鏃堕棿
-  bookCheckType: boolean // 棰勭害妫�鏌ョ被鍨�
+  bookCheckType: number // 棰勭害妫�鏌ョ被鍨�
 }
 
 // 棰勭害 API
@@ -53,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