From 9bab1d44244289fad5f706103ac3cd33afcb0640 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期二, 01 十一月 2022 09:17:00 +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