From 11f6eb0bcda5e562d26ebc2c5ccd0672d66da76d Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期一, 15 九月 2025 14:50:46 +0800
Subject: [PATCH] #
---
src/main/webapp/views/rgv.html | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/views/rgv.html b/src/main/webapp/views/rgv.html
index 8030c78..43f4b79 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>
@@ -152,7 +153,7 @@
<div class="select-container" style="padding: 20px 0;">
<label><input type="radio" name="rgvSelect" value="1" checked> 1鍙稲GV</label>
<label><input type="radio" name="rgvSelect" value="2"> 2鍙稲GV</label>
- <label><input type="radio" name="rgvSelect" value="3"> 3鍙稲GV</label>
+<!-- <label><input type="radio" name="rgvSelect" value="3"> 3鍙稲GV</label>-->
</div>
</div>
<!-- 婧愮珯/婧愬簱浣� 閫夋嫨 -->
@@ -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>
@@ -301,7 +303,7 @@
headers: {'token': localStorage.getItem('token')},
method: 'POST',
success: function (res) {
- console.log(res)
+ // console.log(res)
if (res.code === 200){
var table = res.data;
if (table.length > rgvStateTableBlankRows && table.length !== rgvStateTableFullRows) {
@@ -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) {
@@ -489,7 +498,7 @@
headers: {'token': localStorage.getItem('token')},
method: 'POST',
success: function (res) {
- console.log(res)
+ // console.log(res)
if (res.code === 200) {
rgvOutput(res.data);
} else if (res.code === 403) {
--
Gitblit v1.9.1