| | |
| | | res.data[_index][data.value] = 'N'; |
| | | } |
| | | }); |
| | | |
| | | var that = this.elem.next(); |
| | | res.data.forEach(function (item, index) { |
| | | if (item.alarmStatus) { |
| | | var tr = that.find(".layui-table-box tbody tr[data-index='" + index + "']"); |
| | | tr.css("background-color", "#FF5722"); |
| | | tr.css("color", "white"); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | |
| | |
| | | pageCurr -= 1; |
| | | } |
| | | limit(child); |
| | | var that = this.elem.next(); |
| | | res.data.forEach(function (item, index) { |
| | | if (item.alarmStatus) { |
| | | var tr = that.find(".layui-table-box tbody tr[data-index='" + index + "']"); |
| | | tr.css("background-color", "#FF5722"); |
| | | tr.css("color", "white"); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |