5a5ee4fbfacc4b4944cbe8e261eaadb88c461784.svn-base
11.4 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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>测绘信息管理</title>
<meta name="decorator" content="default"/>
<script src="${ctxStatic}/gis/js/init.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/lib/OpenLayers.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/lib/zdclient.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/lib/jquery.orbit-1.2.3.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/js/global.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/js/config.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("tbody > tr").bind("click",function(){
$("tbody > tr").each(function(i){
$(this).removeClass("trBgcolor");
});
$(this).find('input:radio').prop('checked', true);
$(this).addClass("trBgcolor");
});
});
function page(n,s){
$("#pageNo").val(n);
$("#pageSize").val(s);
$("#searchForm").submit();
return false;
}
function winBackZdjbxx()
{
var checkedCount = $("input[type='radio']:checked").length;
if(checkedCount == 0){
alert("必须选择一条测绘信息!");
return;
}
//选中一行后,获取测绘信息相关值
var idvalue = $("input[type='radio']:checked").val();
var districtValue = $("input[name='radio_chxx']:checked").parent().next().text();
var qlrxmValue = $("input[name='radio_chxx']:checked").parent().next().next().text();
var zdmjValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().text();
var mjdwValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var zdszdValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().text();
var zdsznValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().text();
var zdszxValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().text();
var zdszbValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().text();
var zbValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().text();
var tfhValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var zdtValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var zlValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().text();
var djqValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var djzqValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var xqValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var chrymcValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var zdtzmValue = $("input[name='radio_chxx']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
if(window.opener) {
fWindowchidtext = window.opener.document.getElementById("chid");
fWindowdistrictText = window.opener.document.getElementById("chcodetext");
fWindowchrymcText = window.opener.document.getElementById("chrymctext");
fWindowzlText = window.opener.document.getElementById("zltext");
fWindowzdmjText = window.opener.document.getElementById("zdmjtext");
fWindowzdszdText = window.opener.document.getElementById("zdszd");
fWindowzdsznText = window.opener.document.getElementById("zdszn");
fWindowzdszxText = window.opener.document.getElementById("zdszx");
fWindowzdszbText = window.opener.document.getElementById("zdszb");
fWindowzbText = window.opener.document.getElementById("zb");
fWindowtfhText = window.opener.document.getElementById("tfhtext");
fWindowzdtText = window.opener.document.getElementById("zdt");
fWindowdjqText = window.opener.document.getElementById("DJQ");
fWindowdjzqText = window.opener.document.getElementById("QJZQ");
fWindowxqText = window.opener.document.getElementById("xq");
fWindowqlrText = window.opener.document.getElementById("qlrmc");
fWindowchsjText = window.opener.document.getElementById("textchsj");
fWindowzddmText = window.opener.document.getElementById("zddm");
fWindowbdcdyhText = window.opener.document.getElementById("bdcdyhid");
window.opener.select2_zjlx(zdtzmValue.trim());
window.opener.select3_dwlx(mjdwValue.trim());
if(fWindowzdmjText){
fWindowzdmjText.value = zdmjValue.trim();
}
if(fWindowzdtText){
fWindowzdtText.value = zdtValue.trim();
window.opener.upfile_zdt(zdtValue.trim());
}
if(fWindowchrymcText){
fWindowchrymcText.value = chrymcValue.trim();
}
if(fWindowzlText){
fWindowzlText.value = zlValue.trim();
}
if(fWindowdjqText){
window.opener.select2_djq(djqValue.trim());
}
if(fWindowdjzqText){
window.opener.select2_djzq(djzqValue.trim());
fWindowzddmText.value = djzqValue.trim();
fWindowbdcdyhText.value = djzqValue.trim();
}
if(fWindowxqText){
window.opener.select2_xq(xqValue.trim());
}
fWindowzdszdText.value = zdszdValue.trim();
fWindowzdsznText.value = zdsznValue.trim();
fWindowzdszxText.value = zdszxValue.trim();
fWindowzdszbText.value = zdszbValue.trim();
if(fWindowzbText){
fWindowzbText.value = zbValue.trim()+" ";
}
if(fWindowtfhText){
fWindowtfhText.value = tfhValue.trim();
}
if(fWindowdistrictText){
fWindowdistrictText.value = districtValue.trim();
}
if(fWindowqlrText){
fWindowqlrText.value = qlrxmValue.trim();
}
fWindowchidtext.value = idvalue.trim();
//window.opener.setchbc(idvalue);
window.close();
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="#">测绘信息列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBaseChxx11" action="${ctx}/reg/base/regBaseChxx/tdlslist?flag=2" method="post" class="breadcrumb form-search">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<ul class="ul-form">
<li> 权利人姓名:
<form:input path="qlrmc" htmlEscape="false" maxlength="100" class="input-medium"/>
</li>
<li> 坐落:
<form:input path="zl" htmlEscape="false" maxlength="100" class="input-medium"/>
</li>
<li> 图幅号:
<form:input path="tfh" htmlEscape="false" maxlength="100" class="input-medium"/>
</li>
<li> 宗地面积:
<form:input path="zdmj" htmlEscape="false" maxlength="100" class="input-medium"/>
</li>
<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
</li>
<li class="clearfix"></li>
</ul>
</form:form>
<div class="zxdiv"><label><span class="tipinfo">请点击测绘信息选择按钮,只能选择一个</span></label>
<input id="btnChose" class="btn btn-primary" type="button" onclick="javascript:winBackZdjbxx();" value="测绘信息选择"/>
</div>
<br>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-bordered table-condensed">
<thead>
<tr>
<th>选择</th>
<th>测绘编码</th>
<th>权利人姓名</th>
<th>证件类型</th>
<th style="display:none;">证件类型代码</th>
<th>证件号</th>
<th>坐落</th>
<th style="display:none;">宗地四至-东</th>
<th style="display:none;">宗地四至-南</th>
<th style="display:none;">宗地四至-西</th>
<th style="display:none;">宗地四至-北</th>
<th style="display:none;">界址点坐标</th>
<th>宗地面积</th>
<th style="display:none;">宗地图</th>
<th style="display:none;">宗地特征码</th>
<th>图幅号</th>
<th style="display:none;">地籍区</th>
<th style="display:none;">地籍子区</th>
<th style="display:none;">县级行政区</th>
<th style="display:none;">测绘人员名称</th>
<th style="display:none;">宗地特征码</th>
<th style="display:none;">面积单位</th>
<!-- <th>操作</th> -->
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseChxx">
<tr>
<td>
<input type="radio" name="radio_chxx" id="${regBaseChxx.id}" value="${regBaseChxx.id}"/>
</td>
<td>
${regBaseChxx.chcode}
</td>
<td>
${regBaseChxx.qlrmc}
</td>
<td>
${fns:getDictLabel(regBaseChxx.zjlx, 'reg_bus_zjlx', '')}
</td>
<td style="display:none;">
${regBaseChxx.zjlx}
</td>
<td>
${regBaseChxx.zjhm}
</td>
<td>
${regBaseChxx.zl}
</td>
<td style="display:none;">
${regBaseChxx.zdszd}
</td>
<td style="display:none;">
${regBaseChxx.zdszn}
</td>
<td style="display:none;">
${regBaseChxx.zdszx}
</td>
<td style="display:none;">
${regBaseChxx.zdszb}
</td>
<td style="display:none;">
${regBaseChxx.jzdzb}
</td>
<td>
<fmt:formatNumber value="${regBaseChxx.zdmj}" pattern="#0.##" var="formattedNumber"/>
${formattedNumber}
</td>
<td style="display:none;">
${regBaseChxx.zdt}
</td>
<td style="display:none;">
${regBaseChxx.zdtzm}
</td>
<td>
${regBaseChxx.tfh}
</td>
<td style="display:none;">
${regBaseChxx.seachcity}
</td>
<td style="display:none;">
${regBaseChxx.seachdistrict}
</td>
<td style="display:none;">
${regBaseChxx.seachprov}
</td>
<td style="display:none;">
${regBaseChxx.chrymc}
</td>
<td style="display:none;">
${regBaseChxx.zdtzm}
</td>
<td style="display:none;">
${regBaseChxx.mjdw}
</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>