| | |
| | | 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); |
| | | |
| | | let currentInTask = "<span>" + table[i-1].currentInTask + "</span>"; |
| | | if (table[i - 1].currentInTask > table[i - 1].crnSearchDetectTaskCount) { |
| | | currentInTask = "<span style='color: red;font-weight: bolder;'>" + table[i-1].currentInTask + "</span>"; |
| | | } |
| | | setVal(tr.children("td").eq(15), currentInTask); |
| | | |
| | | setVal(tr.children("td").eq(16), table[i-1].applyInTaskTotalCount); |
| | | setVal(tr.children("td").eq(17), table[i-1].currentTotalTask); |
| | | let currentTotalTask = "<span>" + table[i-1].currentTotalTask + "</span>"; |
| | | if (table[i - 1].currentTotalTask > table[i - 1].applyInTaskTotalCount) { |
| | | currentTotalTask = "<span style='color: red;font-weight: bolder;'>" + table[i-1].currentTotalTask + "</span>"; |
| | | } |
| | | setVal(tr.children("td").eq(17), currentTotalTask); |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |