From 0f914ac5b4f15a610f4f142aa15a2bcf5205a21f Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 31 三月 2025 10:53:03 +0800
Subject: [PATCH] update queue status formatter
---
src/api/ecg/doctor/index.ts | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index 27681bf..fe702c0 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -1,16 +1,28 @@
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
bedNo: string | null // 璇婄枟搴婄紪鍙�
+ checkTypes: number[] | null
+ opType: number | null
}
export interface PatientVO {
roomId: number // 璇婂缂栧彿
bedNo: string // 璇婄枟搴婄紪鍙�
patId: string // 鎮h�呯紪鍙�
+ checkType: number // 妫�鏌ョ被鍨�
jumpFlag: number // 鎻掗槦鏍囪
+ roomId_operator: number
+ bedNo_operator: string
}
export interface PatientStatisticVO {
@@ -75,8 +87,13 @@
},
// 閲嶅彨
- callAgainPatient: async (params: RoomBedVO) => {
+ callPatientAgain: async (params: RoomBedVO) => {
return await request.get({ url: `/ecg/doctor/call-again`, params })
+ },
+
+ // 閲嶅彨 瀹夎
+ callInstallingPatientAgain: async (params: RoomBedVO) => {
+ return await request.get({ url: `/ecg/doctor/call-install-again`, params })
},
// 鍙� 甯歌妫�鏌ャ�侀鐢� 鎮h�呭垪琛�
@@ -104,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