| | |
| | | <th>升降距离(Km)</th> |
| | | <th>走行时长(H)</th> |
| | | <th>升降时长(H)</th> |
| | | <th>入库任务上限</th> |
| | | <th>当前入库任务</th> |
| | | <th>总任务数量上限</th> |
| | | <th>当前总任务数量</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | 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); |
| | |
| | | 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"; |
| | |
| | | " <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); |