马宇豪
2023-07-11 264a19fd89b414d2635405102edcf99cddf01fcc
src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/addDangerReportWholeProcess.html
@@ -233,6 +233,56 @@
                    </div>
                </div>
            </div>
<!--            <div class="form-group showByDangerLevelChange">-->
<!--                <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 showByDangerLevelChange">
                <label class="col-sm-3 control-label is-required">风险单元:</label>
                <div class="col-sm-8">
                    <input id="checkPointName"  placeholder="选择风险单元" class="form-control" type="text"  onclick="selectRiskPoint()" maxlength="30" readonly="true" required>
                    <input id="checkPointNum" name="hazardCode" type="hidden">
                </div>
            </div>
            <div class="form-group showByDangerLevelChange">
                <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 showByDangerLevelChange">
                <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 showByDangerLevelChange">
                <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 showByDangerLevelChange">
                <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>
        </fieldset>
        <h1>隐患整改</h1>
@@ -418,7 +468,11 @@
    }
    /*核查人  选择 end*/
    // 选择风险单元
    function selectRiskPoint() {
        var url = "/tr/riskList/selectRiskList/1"
        $.modal.openNoConfirm("风险单元", url, '700', '500');
    }
    /*整改人  选择 start*/
    function selectRectifyUser() {