From 956f10584a109456c1bb8c72c9a4e02494812c03 Mon Sep 17 00:00:00 2001
From: lgq <1015864684@qq.com>
Date: 星期二, 18 十一月 2025 15:13:21 +0800
Subject: [PATCH] 1.修改启动脚本,增加crond启动相关的目录配置
---
local/www/js/page/detail-yg-hw-ls.js | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/local/www/js/page/detail-yg-hw-ls.js b/local/www/js/page/detail-yg-hw-ls.js
index f078ee9..b5350ac 100644
--- a/local/www/js/page/detail-yg-hw-ls.js
+++ b/local/www/js/page/detail-yg-hw-ls.js
@@ -27,12 +27,15 @@
var dataList = new Array();
//閬嶅巻鍚岀被鍨嬭澶囬泦鍚堬紝鏍规嵁id鏌ヨ鏁版嵁鍚庝繚瀛�
for (var i = 0; i < deviceList.length; i++) {
- $.post("./cgi-bin/detail/query-data", JSON.stringify({id: deviceList[i].id}), function (data, status) {
- if ("success" == status) {
- console.log(data);
- dataList.push(data);
- }
- }, "json");
+ var cur = deviceList[i];
+ if(cur.vld != 1){
+ $.post("./cgi-bin/detail/query-data", JSON.stringify({id: deviceList[i].id}), function (data, status) {
+ if ("success" == status) {
+ console.log(data);
+ dataList.push(data);
+ }
+ }, "json");
+ }
}
if (dataList != null && dataList.length > 0) {
renderInfo(dataList);
--
Gitblit v1.9.3