From 67dc291b3ed8a7fc43519bb5df2620301269b72c Mon Sep 17 00:00:00 2001
From: zc <zc@123>
Date: 星期日, 15 六月 2025 13:28:26 +0800
Subject: [PATCH] 完成调试
---
src/main/webapp/views/crn.html | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index d76e511..d90d12f 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -211,7 +211,7 @@
<button class="item" onclick="taskClear()">娓呴櫎鑱旀満浠诲姟</button>
<!-- <button class="item" onclick="pause()">鏆傚仠</button>-->
<!-- <button class="item" onclick="boot()">鍚姩</button>-->
-<!-- <button class="item" onclick="clearCommand()">娓呴櫎鍛戒护</button>-->
+ <button class="item" onclick="clearCommand()">娓呴櫎鍛戒护</button>
<!-- <button class="item" onclick="handleReset()">澶嶄綅</button>-->
</div>
</fieldset>
@@ -460,6 +460,13 @@
});
}
+ // 浠诲姟瀹屾垚
+ function clearCommand() {
+ http.post(baseUrl+"/crn/operator/clearCommand", getReqParam(), function (res) {
+ layer.msg(res.msg);
+ });
+ }
+
// 鏆傚仠
function pause() {
http.post(baseUrl+"/crn/operator/pause", getReqParam(), function (res) {
--
Gitblit v1.9.1