From 7be0d5b901b999d2347774df3cc1a64927838bb3 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期二, 15 四月 2025 10:10:35 +0800 Subject: [PATCH] 优化每年专项数据获取 --- src/main/resources/templates/tr/specialCheckTaskLog/edit.html | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/tr/specialCheckTaskLog/edit.html b/src/main/resources/templates/tr/specialCheckTaskLog/edit.html index 645e0bd..419c568 100644 --- a/src/main/resources/templates/tr/specialCheckTaskLog/edit.html +++ b/src/main/resources/templates/tr/specialCheckTaskLog/edit.html @@ -9,7 +9,14 @@ <form class="form-horizontal m" id="form-job-edit" th:object="${specialCheckTaskLog}"> <input id="indexId" name="indexId" type="hidden" th:field="*{indexId}"/> - + <div class="form-group"> + <label class="col-sm-3 control-label is-required">专项检查任务:</label> + <div class="col-sm-8"> + <select id="taskId" name="taskId" th:field="*{taskId}" class="form-control" required> + <option th:each="task : ${tbBaseCheckTask}" th:text="${task.taskName}" th:value="${task.id}"></option> + </select> + </div> + </div> <!-- <input id="createUserId" name="createUserId" type="hidden" th:field="*{createUserId}"/>--> <!-- <input id="createBy" name="createBy" type="hidden" th:field="*{createBy}"/>--> <div class="form-group"> @@ -65,7 +72,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