#
zjj
2024-04-23 01a2d01abeadef5488a100ddf58a22dbcf7b95d6
src/main/webapp/views/pipeline.html
@@ -17,6 +17,7 @@
            float: left;
            width: 16%;
            text-align: center;
            margin-top: 10px;
        }
        .io-mode-box label {
            font-weight: bolder;
@@ -52,28 +53,6 @@
            <!-- plc异常日志监控版 -->
            <div id="plc-error" class="main-board" style="padding-left: 10px">
                <!-- 头部 -->
                <div class="plc-log-header">
                    <!-- 设备任务操作 -->
                    <div class="io-mode-oper">
                        <fieldset>
                            <legend>入出库模式(IO-Mode)</legend>
                            <div class="io-mode-box">
                                <label>2F</label>
                                <button id="io-mode-2" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button>
                            </div>
                        </fieldset>
                    </div>
                    <!--            <div style="height: 40%">-->
                    <!--                <span>东侧PLC执行指令</span>-->
                    <!--            </div>-->
                    <!--            <div style="height: 40%">-->
                    <!--                <span>西侧PLC执行指令</span>-->
                    <!--            </div>-->
                    <!--                    <div>-->
                    <!--                        <span style="color: #1E9FFF">PLC异常信息表:</span>-->
                    <!--                    </div>-->
                </div>
                <!-- 主体 -->
                <div class="plc-log-body">
                    <div>
@@ -82,7 +61,7 @@
                    <table id="plc-error-table">
                        <thead>
                        <tr>
                            <th style="width: 200px">序号</th>
                            <th style="width: 200px">站点</th>
                            <th style="width: 400px">PLC错误描述</th>
                            <th style="width: 400px">异常</th>
                        </tr>
@@ -112,6 +91,8 @@
                        <th>空板信号</th>
                        <th>目标站</th>
                        <th>高低库位</th>
                        <th>自动出</th>
                        <th>自动入</th>
                    </tr>
                    </thead>
                    <!-- 表格内容 -->
@@ -300,6 +281,8 @@
                        setVal(tr.children("td").eq(7), table[i-1].emptyMk);
                        setVal(tr.children("td").eq(8), table[i-1].staNo);
                        setVal(tr.children("td").eq(9), table[i-1].locType1);
                        setVal(tr.children("td").eq(10), table[i-1].autoOut);
                        setVal(tr.children("td").eq(11), table[i-1].autoIn);
                    }
                } else if (res.code === 403){
                    window.location.href = baseUrl+"/login";
@@ -386,6 +369,8 @@
                "       <td></td>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +
                "     </tr>\n";
        }
        $('#site-table tbody').after(html);