From 5015d82adab085ba7b9f0a80ef275af4999028e0 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期三, 07 六月 2023 09:14:46 +0800
Subject: [PATCH] 修改表单
---
src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editDangerReport.html | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 52 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editDangerReport.html b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editDangerReport.html
index 4b7b63c..e765f56 100644
--- a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editDangerReport.html
+++ b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/editDangerReport.html
@@ -106,11 +106,62 @@
<input id="judgeUserId" name="judgeUserId" th:field="*{judgeUserId}" type="hidden" >
</div>
</div>
+
+<!-- <div class="form-group">-->
+<!-- <label class="col-sm-3 control-label is-required">安全风险分析单元名称:</label>-->
+<!-- <div class="col-sm-8">-->
+<!-- <select name="riskUnitId" th:field="*{riskUnitId}" class="form-control m-b" required>-->
+<!-- <option value="">--请选择安全风险分析单元--</option>-->
+<!-- <option th:each="u :${riskUnits}" th:value="${u.riskListId}" th:text="${u.riskListName}"></option>-->
+<!-- </select>-->
+<!-- </div>-->
+<!-- </div>-->
+ <div class="form-group">
+ <label class="col-sm-3 control-label is-required">风险对象分析编码:</label>
+ <div class="col-sm-8">
+ <textarea name="hazardCode" th:field="*{hazardCode}" maxlength="500" class="form-control" rows="3" required></textarea>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label is-required">隐患来源:</label>
+ <div class="col-sm-8">
+ <select name="dangerSrc" th:field="*{dangerSrc}" class="form-control m-b" th:with="type=${@dict.getType('danger_source')}" required>
+ <option value="">--请选择隐患来源--</option>
+ <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+ </select>
+ </div>
+ </div>
+
+ <div class="form-group">
+ <label class="col-sm-3 control-label is-required">隐患类型:</label>
+ <div class="col-sm-8">
+ <select name="hazardDangerType" th:field="*{hazardDangerType}" class="form-control m-b" th:with="type=${@dict.getType('danger_type')}" required>
+ <option value="">--请选择隐患类型--</option>
+ <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+ </select>
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label is-required">隐患造成后果:</label>
+ <div class="col-sm-8">
+ <select name="dangerResult" th:field="*{dangerResult}" class="form-control m-b" th:with="type=${@dict.getType('danger_result')}" required>
+ <option value="">--请选择隐患造成后果--</option>
+ <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+ </select>
+ </div>
+ </div>
+
+ <div class="form-group">
+ <label class="col-sm-3 control-label is-required">隐患原因:</label>
+ <div class="col-sm-8">
+ <textarea name="dangerReason" th:field="*{dangerReason}" maxlength="500" class="form-control" rows="3" required></textarea>
+ </div>
+ </div>
</form>
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: datetimepicker-js"/>
-<script type="text/javascript">
+<script th:inline="javascript">
--
Gitblit v1.9.2