双重预防项目-国泰新华二开定制版
Your Name
2022-11-01 9bab1d44244289fad5f706103ac3cd33afcb0640
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="">&#45;&#45;请选择安全风险分析单元&#45;&#45;</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">