From a3fd8c61c63f5ea5624371d8726fb141c336de38 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 14 十月 2024 10:42:52 +0800
Subject: [PATCH] just rename

---
 src/views/ecg/doctor/DevInstall.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/ecg/doctor/DevInstall.vue b/src/views/ecg/doctor/DevInstall.vue
index c2d66dc..d9e1158 100644
--- a/src/views/ecg/doctor/DevInstall.vue
+++ b/src/views/ecg/doctor/DevInstall.vue
@@ -23,6 +23,7 @@
 const patientStat = ref<PatientStatisticVO>({
     finishedNum: 0,
     readyNum: 0,
+    receivedNum: 0,
     passedNum: 0,
     queuingNum: 0
 })
@@ -40,7 +41,7 @@
   finishFlag.value = true
   try {
     patientList.value = await DoctorApi.finishInstallNextPatient(roomBedVO.value)
-    patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO.value)
+    patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value)
     getInstallingPatient()
   } finally {
     finishFlag.value = false
@@ -51,7 +52,7 @@
   passFlag.value = true
   try {
     patientList.value = await DoctorApi.passNextPatient(roomBedVO.value)
-    patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO.value)
+    patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value)
     getInstallingPatient()
   } finally {
     passFlag.value = false
@@ -84,7 +85,7 @@
 
   patientList.value = await DoctorApi.getReceivedPatientList(roomBedVO.value)
   getInstallingPatient()
-  patientStat.value = await DoctorApi.getPatientStatistic(roomBedVO.value)
+  patientStat.value = await DoctorApi.getDevInstallStatistic(roomBedVO.value)
   const queueVO2 = await DoctorApi.bedDoctorGet(roomBedVO.value)
   if (queueVO2.status === 20)
     state.value = true

--
Gitblit v1.9.3