From c6d3157eb616116c84d35e221ed9c57ef8da0ad6 Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期四, 01 二月 2024 16:24:11 +0800
Subject: [PATCH] 操作频繁锁(60秒)

---
 src/components/xio_room_status_chg/index.vue |   32 ++++++++++++++++++++++----------
 1 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/src/components/xio_room_status_chg/index.vue b/src/components/xio_room_status_chg/index.vue
index 208e4d2..3d06852 100644
--- a/src/components/xio_room_status_chg/index.vue
+++ b/src/components/xio_room_status_chg/index.vue
@@ -5,29 +5,37 @@
       <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="icon">
+                  <img class="img" src="static/imgs/free.png">
+                </div>
                 <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="icon">
+                  <img class="img" src="static/imgs/using.png">
+                </div>
                 <div class="tx white">浣跨敤涓�</div>
               </div>
             </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="icon">
+                  <img class="img" src="static/imgs/rest.png">
+                </div>
                 <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="icon">
+                  <img class="img" src="static/imgs/clear.png">
+                </div>
                 <div class="tx">閫氱煡鎵撴壂</div>
               </div>
             </div>
@@ -57,8 +65,8 @@
       return
     },
     // 鏇存崲鐘舵��
-    changeStatus(tx) {
-      this.$emit('changeStatus', { statusTx: tx })
+    changeStatus(tx, status) {
+      this.$emit('changeStatus', { statusTx: tx, status: status * 1 })
     },
     // 鏄剧ず寮圭獥
     showDialog() {
@@ -126,6 +134,10 @@
   display: block;
   margin-right: 17px;
 }
+.xio_room_status_chg_dialog .btn_box_item .icon .img {
+  width: 100%;
+  height: 100%;
+}
 .xio_room_status_chg_dialog .btn_box_item .tx {
   line-height: 37px;
   color: rgba(51,51,51,1);

--
Gitblit v1.8.0