#
vincent
2020-06-02 890c164aaf39c9ca28de044d8ac55bd4fe8cbc3e
src/main/webapp/views/pipeline.html
@@ -466,14 +466,20 @@
    // ------------------------------------------------------------------------------------------------
    // plc异常空白表格渲染
    function initPlcErrorTable() {
        var one = $('#plc-error-table thead').height();
        var total = $('.plc-log-body').height();
        var count = total / one;
        count = parseInt(count);
        plcErrorTableFieldCount = count - 1;
    function initPlcErrorTable(row) {
        var line;
        if (row === undefined){
            var one = $('#plc-error-table thead').height();
            var total = $('.plc-log-body').height();
            var count = total / one;
            count = parseInt(count) - 1;
            plcErrorTableFieldCount = count;
            line = count;
        } else {
            line = row;
        }
        var html = "";
        for (var i = 0; i < count-1; i ++){
        for (var i = 0; i < line; i ++){
            html += " <tr>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +