From 227c4f1fc845080a70f230a2929fe76c204a9d9f Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期二, 18 八月 2020 15:08:50 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/crn.html |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index 7ae4d2b..4e761e7 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -155,6 +155,7 @@
 <!--                <button class="item" onclick="pause()">鏆傚仠</button>-->
 <!--                <button class="item" onclick="boot()">鍚姩</button>-->
                 <button class="item" onclick="clearCommand()">娓呴櫎鍛戒护</button>
+                <button class="item" onclick="handleReset()">澶嶄綅</button>
             </div>
         </fieldset>
     </div>
@@ -398,6 +399,13 @@
         });
     }
 
+    // 鎵嬪姩澶嶄綅
+    function handleReset() {
+        http.post(baseUrl+"/crn/operator/clearCommand", getReqParam(), function (res) {
+            layer.msg(res.msg);
+        });
+    }
+
     // 杈撻�佽澶囨棩蹇楄緭鍑� -----------------------------------------------------------------------
     function getSiteOutput() {
         $.ajax({

--
Gitblit v1.9.1