From cf3e3ef409f839bc7be56c09c99cee2654d77fa4 Mon Sep 17 00:00:00 2001
From: jazz <jazzxhunter@163.com>
Date: 星期四, 07 十二月 2023 17:36:54 +0800
Subject: [PATCH] update_202312071736_项目-治疗室屏幕web-切图接口对接v3

---
 src/components/xio_room_status_chg/index.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/components/xio_room_status_chg/index.vue b/src/components/xio_room_status_chg/index.vue
index 208e4d2..0bba5ad 100644
--- a/src/components/xio_room_status_chg/index.vue
+++ b/src/components/xio_room_status_chg/index.vue
@@ -5,13 +5,13 @@
       <div class="btn_box flex flex-center">
         <div style="width: 100%;">
           <div class="line flex flex-ver flex-sb">
-            <div class="btn_box_item flex flex-center white" @click="changeStatus('绌洪棽')">
+            <div class="btn_box_item flex flex-center white" @click="changeStatus('绌洪棽', 0)">
               <div class="flex flex-ver">
                 <img class="icon" src="../../assets/img/free.png">
                 <div class="tx">绌洪棽</div>
               </div>
             </div>
-            <div class="btn_box_item flex flex-center blue" @click="changeStatus('浣跨敤涓�')">
+            <div class="btn_box_item flex flex-center blue" @click="changeStatus('浣跨敤涓�', 1)">
               <div class="flex flex-ver">
                 <img class="icon" src="../../assets/img/using.png">
                 <div class="tx white">浣跨敤涓�</div>
@@ -19,13 +19,13 @@
             </div>
           </div>
           <div class="line flex flex-ver flex-sb">
-            <div class="btn_box_item flex flex-center yellow" @click="changeStatus('瀹汉浼戞伅')">
+            <div class="btn_box_item flex flex-center yellow" @click="changeStatus('瀹汉浼戞伅', 2)">
               <div class="flex flex-ver">
                 <img class="icon" src="../../assets/img/rest.png">
                 <div class="tx">瀹汉浼戞伅</div>
               </div>
             </div>
-            <div class="btn_box_item flex flex-center gray" @click="changeStatus('閫氱煡鎵撴壂')">
+            <div class="btn_box_item flex flex-center gray" @click="changeStatus('閫氱煡鎵撴壂', 3)">
               <div class="flex flex-ver">
                 <img class="icon" src="../../assets/img/clear.png">
                 <div class="tx">閫氱煡鎵撴壂</div>
@@ -57,8 +57,8 @@
       return
     },
     // 鏇存崲鐘舵��
-    changeStatus(tx) {
-      this.$emit('changeStatus', { statusTx: tx })
+    changeStatus(tx, status) {
+      this.$emit('changeStatus', { statusTx: tx, status: status * 1 })
     },
     // 鏄剧ず寮圭獥
     showDialog() {

--
Gitblit v1.8.0