From 0b4792ff8245f9eac16e6d02452eb9a091f6f72b Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期二, 28 十月 2025 19:42:04 +0800
Subject: [PATCH] 1

---
 代码管理/WCS/WCS/WIDESEAWCS_Client/src/views/Home.vue |   38 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 37 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Client/src/views/Home.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Client/src/views/Home.vue"
index 3193359..7b0695c 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Client/src/views/Home.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Client/src/views/Home.vue"
@@ -51,7 +51,7 @@
 
   <div style="margin-top: 30px;">
     <el-button type="danger" v-on:click="InReset" plain style="margin-left: 50px">涓�閿浣嶏紙鍏ュ簱绔級</el-button>
-    <el-button type="danger" v-on:click="OutReset" plain style="margin-left: 50px">涓�閿浣嶏紙鍑哄簱绔級</el-button>
+    <el-button type="danger" v-on:click="OutReset" plain style="margin-left: 50px">涓�閿浣嶏紙鍏ュ簱绔級</el-button>
 
     <el-button type="danger" v-on:click="Outtouchstart" plain style="margin-left: 50px">涓�閿惎鍔�(鍑哄簱绔�)</el-button>
     <el-button type="danger" v-on:click="Outbuttonpause" plain style="margin-left: 50px">涓�閿殏鍋滐紙鍑哄簱绔級</el-button>
@@ -109,6 +109,11 @@
     <label>鎶ヨ淇℃伅锛� {{ baojlabel }}</label>
     <el-button type="danger" v-on:click="ReadAlarm" plain style="margin-left: 50px">璇诲彇鎶ヨ淇℃伅</el-button>
   </div>
+
+  <div>
+      <el-button type="danger" v-on:click="InNormal" plain style="margin-left: 50px">鍏ュ簱缁х画浠诲姟</el-button>
+      <el-button type="danger" v-on:click="InAbnormal" plain style="margin-left: 50px">鍏ュ簱寮傚父鎺掗櫎</el-button>
+    </div>
 </template>
 
 <script>
@@ -264,6 +269,37 @@
             return this.$Message.error(x.message);
           }
         });
+    },InNormal() {
+      var param = {
+        DelKeys: [],
+        Extra: true
+      }
+      this.http
+        .post("api/RgvOperation/WriteInNormal", {}, "鏁版嵁澶勭悊涓�...")
+        .then((x) => {
+          if (x.status) {
+            this.$Message.success('鎴愬姛.');
+            this.$parent.refresh();
+          } else {
+            return this.$Message.error(x.message);
+          }
+        });
+    },
+    InAbnormal() {
+      var param = {
+        DelKeys: [],
+        Extra: true
+      }
+      this.http
+        .post("api/RgvOperation/WriteInAbnormal", {}, "鏁版嵁澶勭悊涓�...")
+        .then((x) => {
+          if (x.status) {
+            this.$Message.success('鎴愬姛.');
+            this.$parent.refresh();
+          } else {
+            return this.$Message.error(x.message);
+          }
+        });
     }
   },
 

--
Gitblit v1.9.3