From 348e6bcdc7fa566a48b96dea53d24ec6dda49e1d Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 11 四月 2025 18:06:40 +0800
Subject: [PATCH] update

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

diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index 4f6e59a..40e43b2 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -1,21 +1,34 @@
 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�呯紪鍙�
-  jumpFlag: number // 鎻掗槦鏍囪
+  checkType: number // 妫�鏌ョ被鍨�
+  jumpFlag?: number // 鎻掗槦鏍囪
+  roomId_operator: number | null
+  bedNo_operator: string | null
 }
 
 export interface PatientStatisticVO {
   finishedNum: number
   readyNum: number
+  receivedNum: number
   passedNum: number
   queuingNum: number
 }
@@ -48,9 +61,19 @@
     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 })
   },
 
   // 杩囧彿锛屽彇涓嬩竴浣嶆偅鑰�
@@ -58,9 +81,29 @@
     return await request.get({ url: `/ecg/doctor/pass-next-patient`, params })
   },
 
-  // 鍙栧垵濮嬫偅鑰呭垪琛�
-  getPatientList: async (params: RoomBedVO) => {
-    return await request.get({ url: `/ecg/doctor/get-patient-list`, params })
+  // 瑁呮満杩囧彿锛屽彇涓嬩竴浣嶆偅鑰�
+  passInstallNextPatient: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/pass-install-next-patient`, params })
+  },
+
+  // 閲嶅彨
+  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�呭垪琛�
+  getToBeCheckedPatientList: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-to-be-checked-list`, params })
+  },
+
+  // 鍙� [寰呰鏈篯 鎮h�呭垪琛�
+  getToBeInstalledPatientList: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-to-be-installed-list`, params })
   },
 
   // 鍙栨偅鑰呯粺璁�
@@ -68,12 +111,37 @@
     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��
+  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 })
   },
 
-  // 鍙洖杩囧彿鎮h��
+  // 鍙洖 瀹夎杩囧彿 鎮h��
+  recallInstallPatient: async (params: PatientVO) => {
+    return await request.get({ url: `/ecg/doctor/recall-install-patient`, params })
+  },
+
+  // 鍔犳�ユ偅鑰�
   patientJump: async (params: PatientVO) => {
     return await request.get({ url: `/ecg/doctor/patient-jump`, params })
   }

--
Gitblit v1.9.3