From c502290c933909595aeb9b46d27b4eb6b35e6d91 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期二, 21 十月 2025 14:31:00 +0800 Subject: [PATCH] 1 --- src/main/webapp/static/js/locDetl/locDetl.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js index 982557b..3cbe4a6 100644 --- a/src/main/webapp/static/js/locDetl/locDetl.js +++ b/src/main/webapp/static/js/locDetl/locDetl.js @@ -489,6 +489,14 @@ 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"); + } + }); } }); } -- Gitblit v1.9.1