From 9ae3fa318f8e17c2f20dcf000879f7cad99ee5ae Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 15 十月 2024 09:16:39 +0800
Subject: [PATCH] just comment

---
 src/views/ecg/doctor/components/QueuePanel.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/views/ecg/doctor/components/QueuePanel.vue b/src/views/ecg/doctor/components/QueuePanel.vue
index f55d1a2..154050c 100644
--- a/src/views/ecg/doctor/components/QueuePanel.vue
+++ b/src/views/ecg/doctor/components/QueuePanel.vue
@@ -33,8 +33,13 @@
     jumpFlag: 0
   }
 
-  const data = await DoctorApi.recallPatient(patientVO);
-  emit("event_RecallFinish")
+  let data = ""
+  if (item.status === 5) // 甯歌銆侀鐢� 杩囧彿
+    data = await DoctorApi.recallPatient(patientVO);
+  else if (item.status === 7)
+    data = await DoctorApi.recallInstallPatient(patientVO);
+
+  emit("event_RecallFinish") // 瑁呮満 杩囧彿
   message.info(data)
 }
 
@@ -47,7 +52,7 @@
 <!--  {{item.roomName}} {{item.bedNo}}-->
   <dict-tag :type="DICT_TYPE.ECG_CHECK_TYPE" :value="item.bookCheckType" />
   <dict-tag :type="DICT_TYPE.ECG_QUEUE_STATUS" :value="item.status" />
-  <el-button v-if="item.status === 5" @click="recall(item)"> 鍙洖 </el-button>
+  <el-button v-if="item.status === 5 || item.status === 7" @click="recall(item)"> 鍙洖 </el-button>
 </div>
 </template>
 

--
Gitblit v1.9.3