From 7be0d5b901b999d2347774df3cc1a64927838bb3 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期二, 15 四月 2025 10:10:35 +0800
Subject: [PATCH] 优化每年专项数据获取

---
 src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editJudgeDangerReport.html |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editJudgeDangerReport.html b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editJudgeDangerReport.html
index 9a23f0d..2f134b0 100644
--- a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editJudgeDangerReport.html
+++ b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editJudgeDangerReport.html
@@ -107,7 +107,9 @@
         <div class="form-group">
             <label class="col-sm-3 control-label  is-required">隐患发现时间:</label>
             <div class="col-sm-8">
-                <input th:value="*{findTime}" class="form-control" type="text" readonly="readonly">
+<!--                <input th:value="*{findTime}" class="form-control" type="text" readonly="readonly">-->
+                <input th:value="${#dates.format(hiddenDangerCheckPoint.findTime,'yyyy-MM-dd')}"
+                       class="form-control" type="text" readonly="readonly">
             </div>
         </div>
 
@@ -235,7 +237,11 @@
 
     /*隐患责任部门 选择 end*/
 
-
+    $("input[name='findTime']").datetimepicker({
+        format: "yyyy-mm-dd",
+        minView: "month",
+        autoclose: true
+    });
 
     <!--layui图片文件上传-->
     layui.use('upload', function () {

--
Gitblit v1.9.2