From 1e29aa5e7343751bc12eab7b947da6bb387a54c9 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 19 六月 2024 15:20:57 +0800 Subject: [PATCH] 添加 --- src/main/resources/templates/tr/specialCheckTaskLog/add.html | 8 ++++++++ src/main/resources/templates/tr/specialCheckTaskLog/edit.html | 9 ++++++++- src/main/resources/templates/tr/specialCheckTaskLog/detail.html | 9 ++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/tr/specialCheckTaskLog/add.html b/src/main/resources/templates/tr/specialCheckTaskLog/add.html index 7c8a778..ac74bb6 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> diff --git a/src/main/resources/templates/tr/specialCheckTaskLog/detail.html b/src/main/resources/templates/tr/specialCheckTaskLog/detail.html index f09ef67..81dd86f 100644 --- a/src/main/resources/templates/tr/specialCheckTaskLog/detail.html +++ b/src/main/resources/templates/tr/specialCheckTaskLog/detail.html @@ -8,7 +8,14 @@ <div class="wrapper wrapper-content animated fadeInRight ibox-content"> <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}"/>--> diff --git a/src/main/resources/templates/tr/specialCheckTaskLog/edit.html b/src/main/resources/templates/tr/specialCheckTaskLog/edit.html index 645e0bd..0adf82f 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"> -- Gitblit v1.9.2