From d18dde2957a5cf877e48847a98e75a5d5ce66201 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期一, 17 六月 2024 09:25:31 +0800
Subject: [PATCH] 临时提交

---
 src/main/resources/templates/tr/specialCheckTaskLog/detail.html |   27 +++++----------------------
 1 files changed, 5 insertions(+), 22 deletions(-)

diff --git a/src/main/resources/templates/tr/specialCheckTaskLog/detail.html b/src/main/resources/templates/tr/specialCheckTaskLog/detail.html
index 5257550..b056673 100644
--- a/src/main/resources/templates/tr/specialCheckTaskLog/detail.html
+++ b/src/main/resources/templates/tr/specialCheckTaskLog/detail.html
@@ -100,28 +100,11 @@
 </div>
 <th:block th:include="include :: footer"/>
 <script th:inline="javascript">
-    $(function () {
-        var hiddenDangerCheckJob = [[${hiddenDangerCheckJob}]];
-        var typeCycleNum = hiddenDangerCheckJob.troubleshootTypeCycleNum;
-        var typeCycleType = hiddenDangerCheckJob.troubleshootTypeCycleType;
-
-        var typeCycleTypeLabel = "";
-        if (typeCycleType == "1") {
-            typeCycleTypeLabel = "小时";
-        } else if (typeCycleType == "2") {
-            typeCycleTypeLabel = "日";
-        } else if (typeCycleType == "3") {
-            typeCycleTypeLabel = "周";
-        } else if (typeCycleType == "4") {
-            typeCycleTypeLabel = "月";
-        } else if (typeCycleType == "5") {
-            typeCycleTypeLabel = "年";
-        }
-
-        var troubleshootCycleInfo = typeCycleNum + typeCycleTypeLabel + "1次";
-        $("#troubleshootCycleInfo").text(troubleshootCycleInfo);
-
-
+    var prefix = ctx + "tr/specialCheckTaskLog";
+    $("input[name='checkDate']").datetimepicker({
+        format: "yyyy-mm-dd",
+        minView: "month",
+        autoclose: true
     });
 
 </script>

--
Gitblit v1.9.2