From e25465c223a2e63422acfb58414597ca8fc4df09 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期四, 13 十一月 2025 18:01:55 +0800
Subject: [PATCH] 排队异常、小屏适配问题
---
src/api/ecg/doctor/index.ts | 33 +++++++++++++++++++++++++--------
1 files changed, 25 insertions(+), 8 deletions(-)
diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index 0cdf94e..f41ab61 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -1,5 +1,12 @@
import request from '@/config/axios'
+export interface RoomProfileVO {
+ roomId: number | null // 璇婂缂栧彿
+ roomName: string | null
+ bedNum: number | null // 璇婄枟搴婃暟閲�
+ callingScreenType: number | null // 鍙彿灞忕被鍨�
+}
+
export interface RoomBedVO {
roomId: number | null // 璇婂缂栧彿
roomName: string | null
@@ -13,17 +20,17 @@
bedNo: string // 璇婄枟搴婄紪鍙�
patId: string // 鎮h�呯紪鍙�
checkType: number // 妫�鏌ョ被鍨�
- jumpFlag: number // 鎻掗槦鏍囪
- roomId_operator: number
- bedNo_operator: string
+ jumpFlag?: number // 鎻掗槦鏍囪
+ roomId_operator: number | null
+ bedNo_operator: string | null
}
export interface PatientStatisticVO {
- finishedNum: number
- readyNum: number
- receivedNum: number
- passedNum: number
- queuingNum: number
+ finishedNum?: number
+ readyNum?: number
+ receivedNum?: number
+ passedNum?: number
+ queuingNum?: number
}
// 鍖荤敓 API
@@ -114,6 +121,16 @@
return await request.get({ url: `/ecg/doctor/get-dev-install-statistic`, params })
},
+ // 杩囧彿 [鎺掗槦涓璢 鎮h��
+ passWaitingPatient: async (params: PatientVO) => {
+ return await request.get({ url: `/ecg/doctor/pass-waiting-patient`, params })
+ },
+
+ // 鍙洖 [杩囧彿-鎺掗槦涓璢 鎮h��
+ recallPassWaitingPatient: async (params: PatientVO) => {
+ return await request.get({ url: `/ecg/doctor/recall-pass-waiting-patient`, params })
+ },
+
// 鍙洖杩囧彿鎮h��
recallPatient: async (params: PatientVO) => {
return await request.get({ url: `/ecg/doctor/recall-patient`, params })
--
Gitblit v1.9.3