From 9015e720487b737743232b0b3aa464c2ac9e8d17 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期五, 15 十一月 2024 17:31:24 +0800
Subject: [PATCH] 修改请求地址

---
 src/main/resources/templates/tr/specialCheckTaskLog/add.html |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/tr/specialCheckTaskLog/add.html b/src/main/resources/templates/tr/specialCheckTaskLog/add.html
index 7c8a778..d2a6d7f 100644
--- a/src/main/resources/templates/tr/specialCheckTaskLog/add.html
+++ b/src/main/resources/templates/tr/specialCheckTaskLog/add.html
@@ -8,6 +8,14 @@
 <div class="wrapper wrapper-content animated fadeInRight ibox-content">
     <form class="form-horizontal m" id="form-job-add">
         <div class="form-group">
+            <label class="col-sm-3 control-label is-required">专项检查任务:</label>
+            <div class="col-sm-8">
+                <select id="taskId" name="taskId" class="form-control" required>
+                    <option th:each="task : ${tbBaseCheckTask}" th:text="${task.taskName}" th:value="${task.id}"></option>
+                </select>
+            </div>
+        </div>
+        <div class="form-group">
             <label class="col-sm-3 control-label is-required">风险分析对象:</label>
             <div class="col-sm-8">
                 <select id="hazardCode" name="hazardCode" class="form-control" required>
@@ -57,7 +65,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