add.html
3.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!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-list-add">
<div class="form-group">
<label class="col-sm-3 control-label is-required">措施类型:</label>
<div class="col-sm-8">
<select name="listType" class="form-control m-b" th:with="type=${@dict.getEnum('discipline_type')}" required>
<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">
<input name="listMeasure" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">惩戒内容:</label>
<div class="col-sm-8">
<textarea name="listContent" class="form-control" required></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">惩戒对象:</label>
<div class="col-sm-8">
<textarea name="listTarget" class="form-control" required></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">法规政策依据:</label>
<div class="col-sm-8">
<textarea name="listReason" class="form-control" required></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">实施主体:</label>
<div class="col-sm-8">
<input name="listEntity" class="form-control" type="text" required>
</div>
</div>
<!-- 系统自动根据类型读取最新的附件
<div class="form-group">
<label class="col-sm-3 control-label">数据附件:</label>
<div class="col-sm-8">
<select name="listFile" class="form-control m-b" th:with="type=${@dict.getType('eit_city_layer_type')}">
<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">
<div class="radio-box" th:each="dict : ${@dict.getEnum('news_data_status')}">
<input type="radio" th:id="${'listStatus_' + dict.dictValue}" name="listStatus" th:value="${dict.dictValue}" th:checked="${dict.default}">
<label th:for="${'listStatus_' + dict.dictValue}" th:text="${dict.dictLabel}"></label>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var prefix = ctx + "business/discipline"
$("#form-list-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-list-add').serialize());
}
}
</script>
</body>
</html>