From e70e5cc69d477b096f948eb3cd1edfd1bfbe0d4d Mon Sep 17 00:00:00 2001 From: Jesxion Date: Tue, 14 Apr 2026 18:22:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(h5):=20=E4=BF=AE=E5=A4=8Dalert.html?= =?UTF-8?q?=E8=AE=A4=E8=AF=81Bug=20+=20=E6=96=B0=E5=A2=9Elog-detail.html?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=AF=A6=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - alert.html: requireAuth()后加return防止未登录时继续执行 - 新增log-detail.html: 独立详情页(骨架屏+设备标签+安全备注+照片) - logs.html: 列表项跳转log-detail.html?id=xxx - mock.js: MOCK_LOGS补全part/equipment/author/created_at/safety_note字段 - 补全equip-checkbox等CSS样式 --- h5/ai-analyses.html | 3 +- h5/ai-analysis.html | 1 - h5/alert.html | 2 + h5/alerts.html | 1 - h5/css/style.css | 28 +++ h5/index.html | 1 - h5/js/api.js | 12 +- h5/js/mock.js | 30 ++- h5/log-detail.html | 315 ++++++++++++++++++++++++++++++ h5/log.html | 443 ++++++++++++++++++++++++++++++++++-------- h5/logs.html | 7 +- h5/profile.html | 1 - h5/report-detail.html | 1 - h5/reports.html | 1 - 14 files changed, 749 insertions(+), 97 deletions(-) create mode 100644 h5/log-detail.html diff --git a/h5/ai-analyses.html b/h5/ai-analyses.html index 56904a0..5fcf74a 100644 --- a/h5/ai-analyses.html +++ b/h5/ai-analyses.html @@ -178,7 +178,7 @@ 设备 - + 随手拍 @@ -193,7 +193,6 @@ + + + + + diff --git a/h5/log.html b/h5/log.html index ffcd255..3ef3bf5 100644 --- a/h5/log.html +++ b/h5/log.html @@ -3,28 +3,179 @@ - 写日志 - 郑州智慧工地 + 施工日志 - 郑州智慧工地 +
- +
-
写日志
+
写日志
+
-
- + + + + + + + +
+
-
现场照片(选填)
+
+ 现场照片(选填) +
- +
添加照片 @@ -32,16 +183,18 @@
- +
-
日志信息
+
+ 日志信息 +
@@ -63,61 +216,68 @@
- +
- +
- +
+
-
+
- + 设备运行
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
+ +
+
+ 安全备注(选填) +
+
+ +
+
+ + +
+
+ 备注(选填) +
+
+ +
+
+ -
- +
@@ -136,79 +296,206 @@ 随手拍 - + 日志
- + diff --git a/h5/logs.html b/h5/logs.html index 8280551..812339c 100644 --- a/h5/logs.html +++ b/h5/logs.html @@ -53,7 +53,6 @@