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/detail-ups.html | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/local/www/detail-ups.html b/local/www/detail-ups.html
index 0a853b2..9b0186d 100644
--- a/local/www/detail-ups.html
+++ b/local/www/detail-ups.html
@@ -11,14 +11,14 @@
</head>
<body class="pdgxq-body">
-<div class="i-container">
+<div class="i-container div-body">
<div class="jmkt-main">
<div class="layui-fluid">
<div class="pdgxq-m1 layui-row layui-col-space20">
<div class="layui-col-lg5 layui-col-md5">
- <div class="pdgxq-m1-left pdgxq-m1-box" style="height: 730px">
+ <div class="pdgxq-m1-left pdgxq-m1-box" style="">
<div class="pdgxq-H">
<h3><i></i>瀹炴椂鐩戞帶</h3>
</div>
@@ -203,7 +203,7 @@
}
html += "<tr><td>"+cur.name+"</td><td>"+str+"</td><td>"+time+"</td></tr>";
}else{
- html += "<tr><td>"+cur.name+"</td><td>"+renderValue(device.id,device.type,cur.passcode,cur.value)+"</td><td>"+time+"</td></tr>";
+ html += "<tr><td>"+cur.name+"</td><td>"+renderValue(device.id,device.type,cur)+"</td><td>"+time+"</td></tr>";
//娓叉煋鍒楄〃
@@ -284,7 +284,7 @@
}
html += "<tr><td>"+cur.name+"</td><td>"+str+"</td><td>"+time+"</td></tr>";
}else{
- html += "<tr><td>"+cur.name+"</td><td>"+renderValue(device.id,device.type,cur.passcode,cur.value)+"</td><td>"+time+"</td></tr>";
+ html += "<tr><td>"+cur.name+"</td><td>"+renderValue(device.id,device.type,cur)+"</td><td>"+time+"</td></tr>";
//娓叉煋鍒楄〃
// html += "<tr><td>"+cur.name+"</td><td>"+(cur.value?cur.value:"")+"</td><td>"+time+"</td></tr>";
@@ -357,8 +357,8 @@
}
}
- function renderValue(id,type,code,value) {
- var res = value;
+ function renderValue(id,type,cur) {
+ var res = cur.value;
// if(type == "1001"){
// if(code == 3 || code == 5){
--
Gitblit v1.9.3