From a4ec8a6945091ad596e59092b66df441496092c0 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 01 三月 2024 15:29:45 +0800
Subject: [PATCH] #车锁

---
 src/main/webapp/views/rgv.html |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/rgv.html b/src/main/webapp/views/rgv.html
index 8030c78..4d8d9d8 100644
--- a/src/main/webapp/views/rgv.html
+++ b/src/main/webapp/views/rgv.html
@@ -102,6 +102,7 @@
 <!--                        <th>鏈夌墿2</th>-->
                         <th>鏁呴殰浠g爜</th>
                         <th>鏁呴殰鎻忚堪</th>
+                        <th>閿佸畾鐘舵��</th>
                     </tr>
                     </thead>
                     <tbody>
@@ -214,10 +215,11 @@
                         <!--                <button class="item" onclick="reverseOrigin()">鍙嶅師鐐�</button>-->
                         <!--                <button class="item" onclick="coorMove()">鍧愭爣绉昏</button>-->
                         <button class="item" onclick="taskComplete()">浠诲姟瀹屾垚</button>
+                        <button class="item" onclick="lock()">瑙i攣</button>
                         <!--                <button class="item" onclick="pause()">鏆傚仠</button>-->
                         <!--                <button class="item" onclick="boot()">鍚姩</button>-->
 <!--                        <button class="item" onclick="clearCommand()">娓呴櫎鍛戒护</button>-->
-                        <button class="item" onclick="handleReset()">澶嶄綅</button>
+<!--                        <button class="item" onclick="handleReset()">澶嶄綅</button>-->
                     </div>
                 </fieldset>
             </div>
@@ -323,6 +325,7 @@
                         // setVal(tr.children("td").eq(10), table[i-1].loading2);
                         setVal(tr.children("td").eq(8), table[i-1].warnCode);
                         setVal(tr.children("td").eq(9), table[i-1].alarm);
+                        setVal(tr.children("td").eq(10), table[i-1].pakMk);
                     }
                 } else if (res.code === 403){
                     window.location.href = baseUrl+"/login";
@@ -454,6 +457,12 @@
         });
     }
 
+    function lock() {
+        http.post(baseUrl+"/rgv/lock", getReqParam(), function (res) {
+            layer.msg(res.msg);
+        });
+    }
+
     // 鏆傚仠
     function pause() {
         http.post(baseUrl+"/rgv/operator/pause", getReqParam(), function (res) {

--
Gitblit v1.9.1