From 40254eb1fc7ad9bef6e820c0ffc0cc5a63e9e53e Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期二, 21 十月 2025 09:53:54 +0800 Subject: [PATCH] 1 --- src/main/webapp/static/js/locDetl/locDetl.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js index 2ab13b0..982557b 100644 --- a/src/main/webapp/static/js/locDetl/locDetl.js +++ b/src/main/webapp/static/js/locDetl/locDetl.js @@ -74,6 +74,15 @@ 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"); + } + }); } }); -- Gitblit v1.9.1