#
ytfl
2025-08-15 aa492470e4cb713ff42a1847add19e738e67c36a
src/main/webapp/views/crn.html
@@ -132,6 +132,10 @@
                    <th>升降距离(Km)</th>
                    <th>走行时长(H)</th>
                    <th>升降时长(H)</th>
                    <th>入库任务上限</th>
                    <th>当前入库任务</th>
                    <th>总任务数量上限</th>
                    <th>当前总任务数量</th>
                </tr>
                </thead>
                <tbody>
@@ -352,6 +356,7 @@
                        crnMsgTableFullRows = table.length;
                    }
                    for (var i=1;i<=table.length;i++){
                        console.log(table[i-1])
                        var tr = tableEl.find("tr").eq(i);
                        setVal(tr.children("td").eq(0), table[i-1].crnNo);
                        setVal(tr.children("td").eq(1), table[i-1].workNo);
@@ -367,6 +372,10 @@
                        setVal(tr.children("td").eq(11), table[i-1].ydistance);
                        setVal(tr.children("td").eq(12), table[i-1].xduration);
                        setVal(tr.children("td").eq(13), table[i-1].yduration);
                        setVal(tr.children("td").eq(14), table[i-1].crnSearchDetectTaskCount);
                        setVal(tr.children("td").eq(15), table[i-1].currentInTask);
                        setVal(tr.children("td").eq(16), table[i-1].applyInTaskTotalCount);
                        setVal(tr.children("td").eq(17), table[i-1].currentTotalTask);
                    }
                } else if (res.code === 403){
                    window.location.href = baseUrl+"/login";
@@ -569,6 +578,10 @@
                "       <td></td>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +
                "       <td></td>\n" +
                "     </tr>\n";
        }
        $('#crn-msg-table tbody').after(html);