From 5d57e3138d9c6a2b5cca4f07c698945e060d32cb Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期四, 13 六月 2024 15:06:01 +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