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/TBSpecialCheckScoreAndDangerLog/edit.html |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html b/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html
index f3dcba7..2aca93a 100644
--- a/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html
+++ b/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/edit.html
@@ -3,6 +3,7 @@
 <head>
     <th:block th:include="include :: header('检查项评分')"/>
     <th:block th:include="include :: datetimepicker-css"/>
+    <th:block th:include="include :: select2-css" />
 </head>
 <body class="white-bg">
 <div class="wrapper wrapper-content animated fadeInRight ibox-content">
@@ -65,6 +66,7 @@
 </div>
 <th:block th:include="include :: footer"/>
 <th:block th:include="include :: datetimepicker-js"/>
+<th:block th:include="include :: select2-js" />
 <script th:inline="javascript">
     var prefix = ctx + "tr/TBSpecialCheckScoreAndDangerLog";
 
@@ -73,7 +75,7 @@
     var minute = now.getMinutes(); //获取当前分钟数(0-59)
     var second = now.getSeconds(); //获取当前秒数(0-59)
     $("input[name='checkDate']").datetimepicker({
-        format: "yyyy-mm-dd" + ' ' + hour.toString().padStart(2, '0') + ':' + minute.toString().padStart(2, '0') + ':' + second.toString().padStart(2, '0'),
+        format: "yyyy-mm-dd" + ' ' + '12:00:00',
         minView: "month",
         autoclose: true
     });

--
Gitblit v1.9.2