From 326c87fed063066712ebb9e408a30d669f8681d3 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期一, 17 六月 2024 09:36:08 +0800
Subject: [PATCH] 添加

---
 src/main/resources/templates/tr/specialCheckTaskLog/edit.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/templates/tr/specialCheckTaskLog/edit.html b/src/main/resources/templates/tr/specialCheckTaskLog/edit.html
index b456434..fbbfe9a 100644
--- a/src/main/resources/templates/tr/specialCheckTaskLog/edit.html
+++ b/src/main/resources/templates/tr/specialCheckTaskLog/edit.html
@@ -13,9 +13,9 @@
 <!--        <input id="createUserId" name="createUserId" type="hidden" th:field="*{createUserId}"/>-->
 <!--        <input id="createBy" name="createBy" type="hidden" th:field="*{createBy}"/>-->
         <div class="form-group">
-            <label class="col-sm-3 control-label">风险分析对象:</label>
+            <label class="col-sm-3 control-label is-required">风险分析对象:</label>
             <div class="col-sm-8">
-                <select id="hazardCode" name="hazardCode" th:field="*{hazardCode}" class="form-control">
+                <select id="hazardCode" name="hazardCode" th:field="*{hazardCode}" class="form-control" required>
                     <option th:each="hazard : ${hazardList}" th:text="${hazard.riskListName}" th:value="${hazard.riskListNum}"></option>
                 </select>
             </div>
@@ -62,7 +62,7 @@
     var prefix = ctx + "tr/specialCheckTaskLog";
 
     $("input[name='checkDate']").datetimepicker({
-        format: "yyyy-MM-dd",
+        format: "yyyy-mm-dd",
         minView: "month",
         autoclose: true
     });

--
Gitblit v1.9.2