diff --git a/ruoyi-admin/src/main/resources/static/js/Iot-ui/sensorTableList.js b/ruoyi-admin/src/main/resources/static/js/Iot-ui/sensorTableList.js
index 24c7513..7d8808f 100644
--- a/ruoyi-admin/src/main/resources/static/js/Iot-ui/sensorTableList.js
+++ b/ruoyi-admin/src/main/resources/static/js/Iot-ui/sensorTableList.js
@@ -106,7 +106,7 @@ const onSearchByMonitorLocation = function (obj) {
var storeId = document.getElementById('table');
var rowsLength = storeId.rows.length;
var key = obj.value;
- var searchCol = 3;
+ var searchCol = storeId.rows.item(0).cells.length-3;
for (var i = 1; i < rowsLength; i++) {
var searchText = storeId.rows[i].cells[searchCol].innerHTML;
if (searchText.match(key)) {
@@ -123,7 +123,7 @@ const onSearchBySensorId = function (obj) {
var storeId = document.getElementById('table');
var rowsLength = storeId.rows.length;
var key = obj.value;
- var searchCol = 2;
+ var searchCol = 1;
for (var i = 1; i < rowsLength; i++) {
var searchText = storeId.rows[i].cells[searchCol].innerHTML;
if (searchText.match(key)) {
@@ -140,7 +140,7 @@ const onSearchByCollectTime = function (obj) {
var storeId = document.getElementById('table');
var rowsLength = storeId.rows.length;
var key = obj.value;
- var searchCol = 4;
+ var searchCol = storeId.rows.item(0).cells.length-2;
for (var i = 1; i < rowsLength; i++) {
var searchText = storeId.rows[i].cells[searchCol].innerHTML;
if (searchText.match(key)) {
diff --git a/ruoyi-admin/src/main/resources/templates/iot-ui/sensorSummary.html b/ruoyi-admin/src/main/resources/templates/iot-ui/sensorSummary.html
index df8e048..7f35fe6 100644
--- a/ruoyi-admin/src/main/resources/templates/iot-ui/sensorSummary.html
+++ b/ruoyi-admin/src/main/resources/templates/iot-ui/sensorSummary.html
@@ -30,8 +30,8 @@
-
-
+
+