From e4bb67837897301d82bcd7ad9e391422d6e7f865 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 15 十月 2024 14:13:50 +0800
Subject: [PATCH] refactor

---
 src/views/ecg/doctor/Routine.vue |    2 +-
 src/views/ecg/doctor/index.vue   |    2 +-
 src/api/ecg/doctor/index.ts      |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index 2bac52d..27681bf 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -80,8 +80,8 @@
   },
 
   // 鍙� 甯歌妫�鏌ャ�侀鐢� 鎮h�呭垪琛�
-  getPatientList: async (params: RoomBedVO) => {
-    return await request.get({ url: `/ecg/doctor/get-patient-list`, params })
+  getToBeCheckedPatientList: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-to-be-checked-list`, params })
   },
 
   // 鍙� [寰呰鏈篯 鎮h�呭垪琛�
diff --git a/src/views/ecg/doctor/Routine.vue b/src/views/ecg/doctor/Routine.vue
index c3a23bd..943e3a1 100644
--- a/src/views/ecg/doctor/Routine.vue
+++ b/src/views/ecg/doctor/Routine.vue
@@ -83,7 +83,7 @@
     return
   }
 
-  patientList.value = await DoctorApi.getPatientList(roomBedVO)
+  patientList.value = await DoctorApi.getToBeCheckedPatientList(roomBedVO)
   getOnstagePatient()
   patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO)
   const queueVO2 = await DoctorApi.bedDoctorGet(roomBedVO)
diff --git a/src/views/ecg/doctor/index.vue b/src/views/ecg/doctor/index.vue
index e98c963..7819df7 100644
--- a/src/views/ecg/doctor/index.vue
+++ b/src/views/ecg/doctor/index.vue
@@ -85,7 +85,7 @@
     return
   }
 
-  patientList.value = await DoctorApi.getPatientList(roomBedVO)
+  patientList.value = await DoctorApi.getToBeCheckedPatientList(roomBedVO)
   getOnstagePatient()
   patientStat.value = await DoctorApi.getDevReadyStatistic(roomBedVO)
   const queueVO2 = await DoctorApi.bedDoctorGet(roomBedVO)

--
Gitblit v1.9.3