detail.html
8.54 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('错误数据撤销申请详情')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-modify-edit" th:object="${creditExceptionApply}">
<h4 class="form-header h4">错误数据撤销申请</h4>
<input name="id" th:field="*{id}" type="hidden">
<!--<div class="form-group">
<label class="col-sm-3 control-label is-required">信息类型:</label>
<div class="col-sm-8">
<select name="applyType" class="form-control m-b" th:with="type=${@dict.getEnum('exception_apply_type')}" required>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{applyType}"></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="exceptionType" class="form-control m-b" th:with="type=${@dict.getEnum('exception_data_type')}" required disabled>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{exceptionType}"></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="applyContent" class="form-control" disabled>[[*{applyContent}]]</textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件:</label>
<div class="col-sm-8">
<input type="hidden" name="applyFile" th:field="*{applyFile}">
<div th:if="*{applyFileResp.fileUrl}">
<a class="btn btn-success btn-xs" th:href="*{applyFileResp.fileUrl}">[[*{applyFileResp.fileName}]]</a>
</div>
</div>
</div>
<!-- <div class="form-group">-->
<!-- <label class="col-sm-3 control-label">业务附件:</label>-->
<!-- <div class="col-sm-8">-->
<!-- <input type="hidden" name="businessFile" th:field="*{businessFile}">-->
<!-- <div th:if="*{businessFileResp.fileUrl}">-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<div class="form-group">
<label class="col-sm-3 control-label">备注:</label>
<div class="col-sm-8">
<textarea name="applyMemo" class="form-control" disabled>[[*{applyMemo}]]</textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="reportDate" th:value="${#dates.format(creditExceptionApply.reportDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" disabled>
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
<h4 class="form-header h4">错误数据信息</h4>
<div class="row">
<div class="col-sm-12">
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "business/modify";
var dataTypeDatas = [[${@dict.getEnum('publicity_type')}]];
var counterpartTypeDatas = [[${@dict.getEnum('counterpart_view_type')}]];
var handlerStatusDatas = [[${@dict.getEnum('exception_data_handler')}]];
$("#form-modify-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-modify-edit').serialize());
}
}
$("input[name='reportDate']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
$(function() {
var options = {
data: [[${creditExceptionApply.exceptionDataList}]],
pagination: false,
showSearch: false,
showRefresh: false,
showToggle: false,
showColumns: false,
sidePagination: "client",
columns: [{
checkbox: false,
},
{
field: 'id',
align: 'center',
title: "主键"
},
/*{
field: 'recoverId',
align: 'center',
title: '错误数据主键'
},*/
{
field: 'dataType',
align: 'center',
title: '错误数据类型',
formatter: function(value, row, index) {
return $.table.selectDictLabel(dataTypeDatas, value);
}
},
{
field: 'counterpartName',
align: 'center',
title: '错误数据主体'
},
{
field: 'counterpartCode',
align: 'center',
title: '错误统一社会信用代码'
},
{
field: 'counterpartType',
align: 'center',
title: '错误行政相对人类别',
formatter: function(value, row, index) {
return $.table.selectDictLabel(counterpartTypeDatas, value);
}
},
{
field: 'decisionSequence',
align: 'center',
title: '错误文书号'
},
/*{
field: 'decisionCreditCode',
align: 'center',
title: '错误决定机关统一社会信用代码'
},*/
{
field: 'rightCounterpartName',
align: 'center',
title: '正确主体'
},
{
field: 'rightCounterpartCode',
align: 'center',
title: '正确主体统一社会信用代码'
},
{
field: 'rightCounterpartType',
align: 'center',
title: '正确行政相对人类别',
formatter: function(value, row, index) {
return $.table.selectDictLabel(counterpartTypeDatas, value);
}
},
{
field: 'rightDecisionSequence',
align: 'center',
title: '正确文书号'
},
/*{
field: 'rightDecisionCreditCode',
align: 'center',
title: '正确决定机关统一社会信用代码'
},*/
/*{
field: 'handleStatus',
align: 'center',
title: '修复状态',
formatter: function(value, row, index) {
return $.table.selectDictLabel(handlerStatusDatas, value);
}
},*/
{
field: 'applyTime',
align: 'center',
title: '申请时间'
}
]
};
$.table.init(options);
});
</script>
</body>
</html>