From e6dff096a9e94d1a5323e82f74bc1368ff7a72d6 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 12 九月 2024 13:47:17 +0800
Subject: [PATCH] 装机 作业列表

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

diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index 53ae9a0..4f6e59a 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -1,8 +1,16 @@
 import request from '@/config/axios'
 
 export interface RoomBedVO {
+  roomId: number | null // 璇婂缂栧彿
+  roomName: string | null
+  bedNo: string | null // 璇婄枟搴婄紪鍙�
+}
+
+export interface PatientVO {
   roomId: number // 璇婂缂栧彿
   bedNo: string // 璇婄枟搴婄紪鍙�
+  patId: string // 鎮h�呯紪鍙�
+  jumpFlag: number // 鎻掗槦鏍囪
 }
 
 export interface PatientStatisticVO {
@@ -14,6 +22,31 @@
 
 // 鍖荤敓 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) => {
@@ -33,6 +66,16 @@
   // 鍙栨偅鑰呯粺璁�
   getPatientStatistic: async (params: RoomBedVO) => {
     return await request.get({ url: `/ecg/doctor/get-patient-statistic`, params })
+  },
+
+  // 鍙洖杩囧彿鎮h��
+  recallPatient: async (params: PatientVO) => {
+    return await request.get({ url: `/ecg/doctor/recall-patient`, params })
+  },
+
+  // 鍙洖杩囧彿鎮h��
+  patientJump: async (params: PatientVO) => {
+    return await request.get({ url: `/ecg/doctor/patient-jump`, params })
   }
 
 }

--
Gitblit v1.9.3