From a986a8d6fb5e44f7044469f5f420ce0d7b5bf235 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 26 十一月 2025 11:36:02 +0800
Subject: [PATCH] 11
---
src/api/ecg/appointment/index.ts | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts
index 962b361..181c91d 100644
--- a/src/api/ecg/appointment/index.ts
+++ b/src/api/ecg/appointment/index.ts
@@ -3,9 +3,10 @@
// 棰勭害 VO
export interface AppointmentVO {
id: number,
- applyNo: string
- episodeId: number //灏辫瘖娴佹按鍙�
+ applyNo: string // 棰勭害鐢宠缂栧彿
+ episodeId: string //灏辫瘖娴佹按鍙�
patSrc: number
+ tolerance:number// 鏄惁鑰愯嵂
patId: string // 鎮h�呯紪鍙�
patName: string // 鎮h�呭鍚�
patGender: number // 鎮h�呮�у埆
@@ -19,7 +20,6 @@
patWardCode: string // 鎮h�呮墍鍦ㄧ梾鍖轰唬鐮�
patWardDesc: string // 鎮h�呮墍鍦ㄧ梾鍖哄悕绉�
patBedNo: string // 搴婂彿
- bookId: string // 棰勭害缂栧彿
bookDate: Date // 棰勭害鏃ユ湡
bookTimeslot: number // 棰勭害鏃堕棿娈�
bookTime: Date // 棰勭害鍙戠敓鏃堕棿, 鐐瑰嚮棰勭害鐨勬椂闂�
@@ -59,6 +59,10 @@
createAppointment: async (data: AppointmentVO) => {
return await request.post({ url: `/ecg/appointment/create`, data })
},
+ // 鐘舵�佹洿鏂�
+ alterAppointment: async (data: AppointmentVO) => {
+ return await request.post({ url: `/ecg/appointment/updateStatus`, data })
+ },
// 淇敼棰勭害
updateAppointment: async (data: AppointmentVO) => {
--
Gitblit v1.9.3