From 2bf2a296ee98bf48026e90da5c7a7b5525fb9f67 Mon Sep 17 00:00:00 2001
From: 换个名字嗨起来 <577530412@qq.com>
Date: 星期四, 25 七月 2024 15:53:24 +0800
Subject: [PATCH] 接收返回值捕获异常,打印log
---
src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/add.html | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/add.html b/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/add.html
index bc6c318..83d92cf 100644
--- a/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/add.html
+++ b/src/main/resources/templates/tr/TBSpecialCheckScoreAndDangerLog/add.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">
@@ -12,7 +13,7 @@
<div class="form-group">
<label class="col-sm-3 control-label is-required">关联隐患:</label>
<div class="col-sm-8">
- <select id="dangerId" name="dangerId" class="form-control" required>
+ <select id="dangerId" name="dangerId" class="form-control m-b" required>
<option th:each="danger : ${dangerList}" th:text="${danger.dangerName}" th:value="${danger.id}"></option>
</select>
</div>
@@ -58,6 +59,7 @@
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: datetimepicker-js"/>
+<th:block th:include="include :: select2-js" />
<script type="text/javascript">
var prefix = ctx + "tr/TBSpecialCheckScoreAndDangerLog";
var now = new Date();
@@ -65,7 +67,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