From 2f0fb1f7bd5a3b2a5c8a6b57e78d18d164591004 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期六, 12 十月 2024 10:18:15 +0800
Subject: [PATCH] update

---
 src/api/ecg/doctor/index.ts |   43 ++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 42 insertions(+), 1 deletions(-)

diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index 3ee013c..7adea64 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -2,6 +2,7 @@
 
 export interface RoomBedVO {
   roomId: number | null // 璇婂缂栧彿
+  roomName: string | null
   bedNo: string | null // 璇婄枟搴婄紪鍙�
 }
 
@@ -22,9 +23,44 @@
 // 鍖荤敓 API
 export const DoctorApi = {
 
-  // 鐪嬪畬锛屽彇涓嬩竴浣嶆偅鑰�
+  // 鍖荤敓鏆傚仠锛屾殏鏃朵笉鎺ユ敹鎮h��
+  bedDoctorPause: async (params) => {
+    return await request.get({ url: `/ecg/doctor/bed-doctor-pause`, params })
+  },
+
+  // 鍖荤敓鎭㈠锛屾仮澶嶆帴鏀舵偅鑰�
+  bedDoctorResume: async (params) => {
+    return await request.get({ url: `/ecg/doctor/bed-doctor-resume`, params })
+  },
+
+  // 鍖荤敓鍏ュ骇锛�
+  bedDoctorOn: async (params) => {
+    return await request.get({ url: `/ecg/doctor/bed-doctor-on`, params })
+  },
+
+  // 鍖荤敓绂诲骇锛�
+  bedDoctorOff: async (params) => {
+    return await request.get({ url: `/ecg/doctor/bed-doctor-off`, params })
+  },
+
+  // 鑾峰彇鍖荤敓鐨勫伐浣嶄俊鎭�
+  bedDoctorGet: async (params) => {
+    return await request.get({ url: `/ecg/doctor/bed-doctor-get`, params })
+  },
+
+  // 甯歌鍙彿锛屽彇涓嬩竴浣嶆偅鑰�
   finishNextPatient: async (params: RoomBedVO) => {
     return await request.get({ url: `/ecg/doctor/finish-next-patient`, params })
+  },
+
+  // 棰嗙敤鍙彿锛屽彇涓嬩竴浣嶆偅鑰�
+  finishReceiveNextPatient: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/finish-receive-next-patient`, params })
+  },
+
+  // 瑁呮満鍙彿锛屽彇涓嬩竴浣嶆偅鑰�
+  finishInstallNextPatient: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/finish-install-next-patient`, params })
   },
 
   // 杩囧彿锛屽彇涓嬩竴浣嶆偅鑰�
@@ -32,6 +68,11 @@
     return await request.get({ url: `/ecg/doctor/pass-next-patient`, params })
   },
 
+  // 閲嶅彨
+  callAgainPatient: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/call-again`, params })
+  },
+
   // 鍙栧垵濮嬫偅鑰呭垪琛�
   getPatientList: async (params: RoomBedVO) => {
     return await request.get({ url: `/ecg/doctor/get-patient-list`, params })

--
Gitblit v1.9.3