From ebee36ca9a39b59d98da3613804791faa8dd2da6 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期六, 22 十一月 2025 16:20:52 +0800
Subject: [PATCH] 打印完善
---
src/api/ecg/appointment/index.ts | 32 ++++++++++++++++++++++++++++++--
1 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts
index 7c4327a..181c91d 100644
--- a/src/api/ecg/appointment/index.ts
+++ b/src/api/ecg/appointment/index.ts
@@ -3,6 +3,10 @@
// 棰勭害 VO
export interface AppointmentVO {
id: number,
+ applyNo: string // 棰勭害鐢宠缂栧彿
+ episodeId: string //灏辫瘖娴佹按鍙�
+ patSrc: number
+ tolerance:number// 鏄惁鑰愯嵂
patId: string // 鎮h�呯紪鍙�
patName: string // 鎮h�呭鍚�
patGender: number // 鎮h�呮�у埆
@@ -16,12 +20,12 @@
patWardCode: string // 鎮h�呮墍鍦ㄧ梾鍖轰唬鐮�
patWardDesc: string // 鎮h�呮墍鍦ㄧ梾鍖哄悕绉�
patBedNo: string // 搴婂彿
- bookId: string // 棰勭害缂栧彿
bookDate: Date // 棰勭害鏃ユ湡
bookTimeslot: number // 棰勭害鏃堕棿娈�
bookTime: Date // 棰勭害鍙戠敓鏃堕棿, 鐐瑰嚮棰勭害鐨勬椂闂�
bookCheckType: number // 棰勭害妫�鏌ョ被鍨�
paid: number //宸蹭粯娆�
+ bookSeqNum: number
}
// 棰勭害 API
@@ -36,9 +40,28 @@
return await request.get({ url: `/ecg/appointment/get?id=` + id })
},
+ //
+ getCurAppointmentByPatIdAndCheckType: async (patId: string, checkType: number) => {
+ return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId + '&checkType=' + checkType })
+ },
+
+ // 浠嶩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 })
+ },
+
// 鏂板棰勭害
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 })
},
// 淇敼棰勭害
@@ -56,9 +79,14 @@
return await request.download({ url: `/ecg/appointment/export-excel`, params })
},
- // 淇敼棰勭害
+ // 棰勭害纭
confirmAppointment: async (data: AppointmentVO) => {
return await request.post({ url: `/ecg/appointment/confirm`, data })
+ },
+
+ // VIP棰勭害纭
+ confirmAppointmentVip: async (data: AppointmentVO) => {
+ return await request.post({ url: `/ecg/appointment/confirm-vip`, data })
}
}
--
Gitblit v1.9.3