From 6a073c2adf0cf393c6c7099d39c13dda892ff5e2 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期四, 21 三月 2024 09:39:48 +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