zc
2025-06-15 67dc291b3ed8a7fc43519bb5df2620301269b72c
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) {