From b25b546b267f7d101686e173a72b9f2d09810fa8 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 02 九月 2024 13:31:50 +0800
Subject: [PATCH] 手动闭诊 功能

---
 src/views/ecg/room/RoomStatusSetting.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/ecg/room/RoomStatusSetting.vue b/src/views/ecg/room/RoomStatusSetting.vue
index a134e8e..8e22048 100644
--- a/src/views/ecg/room/RoomStatusSetting.vue
+++ b/src/views/ecg/room/RoomStatusSetting.vue
@@ -8,6 +8,7 @@
   </div>
   <div>
     <el-button @click="startBiz" > 鎵嬪姩寮�璇� </el-button>
+    <el-button @click="closeBiz" > 鎵嬪姩闂瘖 </el-button>
     <el-button @click="resetRoom" > 閲嶇疆璇婂 </el-button>
     <el-button @click="resetSchedule" > 閲嶇疆瀹氭椂浠诲姟 </el-button>
     <el-button @click="refresh" > 鍒锋柊 </el-button>
@@ -45,7 +46,11 @@
 }
 
 const startBiz = async () => {
-    await QueueApi.startBiz();
+    await RoomApi.startBiz();
+}
+
+const closeBiz = async () => {
+    await RoomApi.closeBiz();
 }
 
 const resetRoom = async () => {

--
Gitblit v1.9.3