From b47b351ba838b9ca0c70fae7cc3a64d4026e7356 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期五, 11 十一月 2022 14:59:38 +0800
Subject: [PATCH] controller中首页调用方法
---
src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/addDangerReport.html | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/addDangerReport.html b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/addDangerReport.html
index 68dd72f..3b6da7f 100644
--- a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/addDangerReport.html
+++ b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/addDangerReport.html
@@ -110,6 +110,48 @@
</div>
</div>
+ <div class="form-group">
+ <label class="col-sm-3 control-label is-required">风险对象分析编码:</label>
+ <div class="col-sm-8">
+ <textarea name="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" 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" 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" 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" maxlength="500" class="form-control" rows="3" required></textarea>
+ </div>
+ </div>
</form>
</div>
<th:block th:include="include :: footer"/>
--
Gitblit v1.9.2