0264476a53f6bb2d969560968e9e23bb248ea360.svn-base
9.2 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
<%@ 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 type="text/javascript">
var mapreturnvale;
$(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;
}
</script>
<script type="text/javascript">
function winBackYw(){
var checkedCount = $("input[type='radio']:checked").length;
if(checkedCount == 0){
alert("必须选择一条宗地信息!");
return;
}
//选中一行后,获取宗地代码值
var bdcdyhtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().text();
var syqmjtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().text();
var lbtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().text();
var xbtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().text();
var xdmtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().text();
var tdsyqtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().text();
var zlndtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().text();
var zddmtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().text();
var lmbmtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().next().text();
var ysdmtextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().next().next().text();
var zltextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().text();
var yttextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().text();
var zysztextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var zstextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var lztextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
var qytextValue = $("input[name='radio_regBaseSllm']:checked").parent().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().next().text();
if(window.opener) {
fWindowZddmText = window.opener.document.getElementById("zddmtext");
fWindowSyqmjText = window.opener.document.getElementById("syqmjtext");
fWindowBsmText = window.opener.document.getElementById("bsmtext");
fWindowYsdmText = window.opener.document.getElementById("ysdmtext");
fWindowBdcdyhText = window.opener.document.getElementById("bdcdyhtext");
fWZlText = window.opener.document.getElementById("zltext");
fWindowYtText = window.opener.document.getElementById("yttext");
fWindowZyszText = window.opener.document.getElementById("zysztext");
fWindowZsText = window.opener.document.getElementById("zstext");
fWindowLzText = window.opener.document.getElementById("lztext");
fWindowQyText = window.opener.document.getElementById("qytext");
fWindowLbText = window.opener.document.getElementById("lbtext");
fWindowXbText = window.opener.document.getElementById("xbtext");
fWindowXdmText = window.opener.document.getElementById("xdmtext");
fWindowZlndText = window.opener.document.getElementById("zlndtext");
if(fWindowZddmText){
fWindowZddmText.value = zddmtextValue.toString().trim();
}
if(fWindowSyqmjText){
fWindowSyqmjText.value = syqmjtextValue.toString().trim();
}
if(fWindowBsmText){
fWindowBsmText.value = lmbmtextValue.toString().trim();
}
if(fWindowYsdmText){
fWindowYsdmText.value = ysdmtextValue.trim();
}
if(fWindowBdcdyhText){
fWindowBdcdyhText.value = bdcdyhtextValue.toString().trim();
}
if(fWZlText){
fWZlText.value = zltextValue.toString().trim();
}
if(fWindowZyszText){
fWindowZyszText.value = zysztextValue.toString().trim();
}
if(fWindowZsText){
fWindowZsText.value = zstextValue.toString().trim();
}
if(fWindowLzText){
fWindowLzText.value = lztextValue.toString().trim();
}
if(fWindowQyText){
fWindowQyText.value = qytextValue.toString().trim();
}
if(fWindowLbText){
fWindowLbText.value = lbtextValue.toString().trim();
}
if(fWindowXbText){
fWindowXbText.value = xbtextValue.toString().trim();
}
if(fWindowXdmText){
fWindowXdmText.value = xdmtextValue.toString().trim();
}
if(fWindowZlndText){
fWindowZlndText.value = zlndtextValue.toString().trim();
}
//select2 权利类型winOpen返填表单
if(window.opener.select2_tdsyq){
window.opener.select2_tdsyq(tdsyqtextValue.trim());
}
if(window.opener.select2_tdyt){
window.opener.select2_tdyt(yttextValue.trim());
}
window.close();
}
}
</script>
</head>
<body>
<form:form id="searchForm" modelAttribute="regBaseSllm" action="${ctx}/reg/base/regBaseSllm/lqList" 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}"/>
<br>
<ul class="ul-form">
<li> 不动产单元号:
<form:input path="bdcdyh" htmlEscape="false" maxlength="80" class="input-medium"/>
</li>
<li> 小地名:
<form:input path="xdm" htmlEscape="false" maxlength="80" class="input-medium"/>
</li>
<li> 使用权面积:
<form:input path="syqmj" htmlEscape="false" maxlength="80" 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><br>
<div class="zxdiv">
<input id="btnChose" class="btn btn-primary" type="button" onclick="winBackYw()" 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>小班</th>
<th>小地名</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 style="display:none;">主要树种</th>
<th style="display:none;">株数</th>
<th style="display:none;">林种</th>
<th style="display:none;">起源</th>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseSllm">
<tr>
<td>
<input type="radio" name="radio_regBaseSllm" id="${regBaseSllm.id}" value=""/>
</td>
<td>
${regBaseSllm.bdcdyh}
</td>
<td>
${regBaseSllm.syqmj}
</td>
<td>
${regBaseSllm.lb}
</td>
<td>
${regBaseSllm.xb}
</td>
<td>
${regBaseSllm.xdm}
</td>
<td>
${fns:getDictLabel(regBaseSllm.ldsyqxz, 'reg_bus_tdsyqxz', '')}
</td>
<td>
${regBaseSllm.zlnd}
</td>
<td style="display:none;">
${regBaseSllm.zddm}
</td>
<td style="display:none;">
${regBaseSllm.lmbm}
</td>
<td style="display:none;">
${regBaseSllm.ysdm}
</td>
<td style="display:none;">
${regBaseSllm.zl}
</td>
<td style="display:none;">
${regBaseSllm.yt}
</td>
<td style="display:none;">
${regBaseSllm.zysz}
</td>
<td style="display:none;">
${regBaseSllm.zs}
</td>
<td style="display:none;">
${regBaseSllm.lz}
</td>
<td style="display:none;">
${regBaseSllm.qy}
</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>