#
vincent
2020-06-02 b5d61b944f4822e59bcaf3f825fac1b6683f29e9
src/main/webapp/views/pipeline.html
@@ -426,6 +426,10 @@
<script>
    // 初始化
    var outputDom = document.getElementById("output");
    // 实时访问
    setInterval(function () {
        getPlcError();
    }, 500);
    // 空白表格渲染
    $(document).ready(function() {
@@ -454,11 +458,9 @@
            method: 'POST',
            success: function (res) {
                if (res.code === 200){
                    console.log(res.data);
                    var tpl = $("#plcErrorTable").html();
                    var template = Handlebars.compile(tpl);
                    var html = template(res);
                    console.log(html);
                    $('#plc-error-table').append(html);
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/login";