<!DOCTYPE html>
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
<head>
|
<th:block th:include="include :: header('新增安全风险事件')" />
|
</head>
|
<body class="white-bg">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<form class="form-horizontal m" id="form-riskMeasure-add">
|
<div class="form-group">
|
<label class="col-sm-3 control-label">安全风险事件名称:</label>
|
<div class="col-sm-8">
|
<select name="riskEventId" class="form-control m-b">
|
<option value="">--请选择安全风险事件名称--</option>
|
<option th:each="u :${riskEvents}" th:value="${u.id}" th:text="${u.riskEventName}"></option>
|
</select>
|
<!-- <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">风险措施编码:</label>
|
<div class="col-sm-8">
|
<input name="controlMeasureCode" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">管控方式:</label>
|
<div class="col-sm-8">
|
<select name="controlType" class="form-control m-b" th:with="type=${@dict.getType('dc_action_type')}">
|
<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">管控内容:</label>
|
<div class="col-sm-8">
|
<input name="checkContent" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">管控措施1:</label>
|
<div class="col-sm-8">
|
<select name="classify1" class="form-control m-b" th:with="type=${@dict.getType('dc_action_one')}">
|
<option value="">--请选择管控措施1--</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">管控措施2:</label>
|
<div class="col-sm-8">
|
<select name="classify2" class="form-control m-b" th:with="type=${@dict.getType('dc_action_two')}">
|
<option value="">--请选择管控措施1--</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">管控措施3:</label>
|
<div class="col-sm-8">
|
<input name="classify3" class="form-control" type="text">
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label">措施说明:</label>
|
<div class="col-sm-8">
|
<input name="measureDesc" class="form-control" type="text">
|
</div>
|
</div>
|
</form>
|
</div>
|
<th:block th:include="include :: footer" />
|
<script th:inline="javascript">
|
var actionTypeDatas = [[${@dict.getType('dc_action_type')}]];
|
var actionOneList = [[${@dict.getType('dc_action_one')}]];
|
var actionTwoList = [[${@dict.getType('dc_action_two')}]];
|
var prefix = ctx + "tr/riskMeasure";
|
$("#form-riskMeasure-add").validate({
|
focusCleanup: true
|
});
|
|
function submitHandler() {
|
if ($.validate.form()) {
|
$.operate.save(prefix + "/add", $('#form-riskMeasure-add').serialize());
|
}
|
}
|
</script>
|
</body>
|
</html>
|
|
|
|
|
|
<!--<!DOCTYPE html>-->
|
<!--<html lang="zh" xmlns:th="http://www.thymeleaf.org" >-->
|
<!--<head>-->
|
<!-- <th:block th:include="include :: header('新增风险管控措施')" />-->
|
<!--</head>-->
|
<!--<body class="white-bg">-->
|
<!-- <div class="wrapper wrapper-content animated fadeInRight ibox-content">-->
|
<!-- <form class="form-horizontal m" id="form-riskMeasure-add">-->
|
<!-- <div class="form-group"> -->
|
<!-- <label class="col-sm-3 control-label">风险事件名称:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <select name="riskUnitId" class="form-control m-b">-->
|
<!--<!– <option value="">--风险事件名称--</option>–>-->
|
<!-- <option th:each="u :${riskEvents}" th:value="${u.id}" th:text="${u.riskEventName}"></option>-->
|
<!-- </select>-->
|
<!--<!– <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>–>-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- <div class="form-group"> -->
|
<!-- <label class="col-sm-3 control-label">风险措施编码:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <input name="riskEventName" class="form-control" type="text">-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- <div class="form-group">-->
|
<!-- <label class="col-sm-3 control-label">管控方式:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <select name="riskUnitId" class="form-control m-b" th:with="type=${@dict.getType('dc_action_type')}">-->
|
<!--<!– <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">管控内容:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <input name="eventResult" class="form-control" type="text">-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- <div class="form-group">-->
|
<!-- <label class="col-sm-3 control-label">管控措施1:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <select name="riskUnitId" class="form-control m-b" th:with="type=${@dict.getType('dc_action_one')}">-->
|
<!-- <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">管控措施2:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <select name="riskUnitId" class="form-control m-b" th:with="type=${@dict.getType('dc_action_two')}">-->
|
<!-- <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">管控措施3:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <input name="eventResult" class="form-control" type="text">-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- <div class="form-group">-->
|
<!-- <label class="col-sm-3 control-label">措施说明:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <input name="eventResult" class="form-control" type="text">-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- </form>-->
|
<!-- </div>-->
|
<!-- <th:block th:include="include :: footer" />-->
|
<!-- <script type="text/javascript">-->
|
<!-- var actionTypeDatas = [[${@dict.getType('dc_action_type')}]];-->
|
<!-- var actionOneList = [[${@dict.getType('dc_action_one')}]];-->
|
<!-- var actionTwoList = [[${@dict.getType('dc_action_two')}]];-->
|
<!-- var prefix = ctx + "tr/riskMeasure";-->
|
|
<!-- $("#form-riskMeasure-add").validate({-->
|
<!-- focusCleanup: true-->
|
<!-- });-->
|
|
<!-- function submitHandler() {-->
|
<!-- if ($.validate.form()) {-->
|
<!-- $.operate.save(prefix + "/add", $('#form-riskMeasure-add').serialize());-->
|
<!-- }-->
|
<!-- }-->
|
|
<!-- </script>-->
|
<!--</body>-->
|
<!--</html>-->
|