|
|
|
@ -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)) {
|
|
|
|
|