From 768e6dc2390863e2ebd0b57a0a1aaa9cf2796eaa Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 14 十月 2024 16:46:21 +0800
Subject: [PATCH] 常规检查 放弃功能

---
 src/api/ecg/doctor/index.ts |  103 ++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 97 insertions(+), 6 deletions(-)

diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index f6f9089..040377d 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -1,21 +1,112 @@
 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 {
+  finishedNum: number
+  readyNum: number
+  receivedNum: number
+  passedNum: number
+  queuingNum: number
 }
 
 // 鍖荤敓 API
 export const DoctorApi = {
 
-  // 涓嬩竴浣嶆偅鑰�
-  nextPatient: async (params: RoomBedVO) => {
-    return await request.get({ url: `/ecg/doctor/nextpatient`, params })
+  // 鍖荤敓鏆傚仠锛屾殏鏃朵笉鎺ユ敹鎮h��
+  bedDoctorPause: async (params) => {
+    return await request.get({ url: `/ecg/doctor/bed-doctor-pause`, params })
   },
 
-  // 鐪嬪畬鎮h��
-  finishPatient: async (params: RoomBedVO) => {
-    return await request.get({ url: `/ecg/doctor/finishpatient`, 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 })
+  },
+
+  // 杩囧彿锛屽彇涓嬩竴浣嶆偅鑰�
+  passNextPatient: async (params: RoomBedVO) => {
+    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 })
+  },
+
+  // 鍙� 甯歌妫�鏌ャ�侀鐢� 鎮h�呭垪琛�
+  getPatientList: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-patient-list`, params })
+  },
+
+  // 鍙� 宸查鐢� 鎮h�呭垪琛�
+  getReceivedPatientList: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-received-patient-list`, params })
+  },
+
+  // 鍙栨偅鑰呯粺璁�
+  getPatientStatistic: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-patient-statistic`, params })
+  },
+
+  // 璁惧棰嗙敤缁熻
+  getDevReadyStatistic: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-dev-ready-statistic`, params })
+  },
+
+  // 璁惧瑁呮満缁熻
+  getDevInstallStatistic: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-dev-install-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