6d3c49e30f1c1c75ffb789f35c847330760ccc14.svn-base
7.59 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
<%@ 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">
$(document).ready(function() {
});
function page(n,s){
$("#pageNo").val(n);
$("#pageSize").val(s);
$("#searchForm").submit();
return false;
}
function winOpenZdjbxx(id){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/base/regBaseZdjbxx/form?id="+ id +"&VIEWS=1","newwindow_zdjbxxview",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
</script>
<script type="text/javascript">
function winBackYw(){
var checkedCount = $("input[type='radio']:checked").length;
if(checkedCount == 0){
alert("必须选择一条宗地信息!");
return;
}
//选中一行后,获取宗地代码值
var zddmValue = $("input[name='radio_zddm']:checked").attr("id");
var bdcdyhtextValue = $("input[name='radio_zddm']:checked").parent().next().next().text();
var syqmjtextValue = $("input[name='radio_zddm']:checked").parent().next().next().next().next().next().text();
var qdjgtextValue = $("input[name='radio_zddm']:checked").parent().next().next().next().next().next().next().text();
var qlrxmtextValue = $("input[name='radio_zddm']:checked").parent().next().next().next().next().next().next().next().text();
var qllxtextValue = $("input[name='radio_zddm']:checked").parent().next().next().next().next().next().next().next().next().next().text();
if(window.opener) {
fWindowText1 = window.opener.document.getElementById("zddmtext");
fWindowText2 = window.opener.document.getElementById("bdcdyhtext");
fWindowSyqmjText = window.opener.document.getElementById("syqmjtext");
fWindowQdjgText = window.opener.document.getElementById("qdjgtext");
fWindowQlrmcText = window.opener.document.getElementById("qlrmctext");
if(fWindowSyqmjText){
fWindowSyqmjText.value = syqmjtextValue.toString().trim();
}
if(fWindowQdjgText){
fWindowQdjgText.value = qdjgtextValue.toString().trim();
}
if(fWindowText1){
fWindowText1.value = zddmValue.trim();
}
if(fWindowText2){
fWindowText2.value = bdcdyhtextValue.trim();
}
if(fWindowQlrmcText){
fWindowQlrmcText.value = qlrxmtextValue.trim();
}
//select2 权利类型winOpen返填表单
if(window.opener.select2_qllx){
window.opener.select2_qllx(qllxtextValue.trim());
}
window.close();
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/base/regBaseZdjbxx/choiceList">宗地基本信息选择列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBaseZdjbxx" action="${ctx}/reg/base/regBaseZdjbxx/choiceList" 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">
<c:if test="${empty SXBGLX}">
<li>
<label>宗地代码:</label>
<form:input path="zddm" htmlEscape="false" maxlength="19" class="input-medium"/>
</li>
<li>
<label>权利人姓名</label>
<form:input path="qlrxm" htmlEscape="false" maxlength="200" class="input-medium"/>
</li>
</c:if>
<li>
<label>不动产单元号</label>
<form:input path="bdcdyh" htmlEscape="false" maxlength="28" 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>
<%-- <c:if test="${not empty ZDXXXZ}"> --%>
<div class="zxdiv">
<input id="btnChose" class="btn btn-primary" type="button" onclick="winBackYw()" value="宗地代码选择" />
</div>
<br>
<%-- </c:if> --%>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<!-- <th>标识码</th> -->
<!-- begin -->
<th>选择</th>
<!-- end -->
<%--
<th>要素代码</th>
--%>
<th>宗地代码</th>
<th style="display:none;">不动产单元号</th>
<th>宗地特征码</th>
<th>坐落</th>
<th>宗地面积</th>
<th>价格</th>
<th>权利人</th>
<th>权利类型</th>
<th style="display:none;">权利类型代码</th>
<!--
<c:if test="${empty SXBGLX}">
<th>用途</th>
<th>等级</th>
<th>价格</th>
<th>权利类型</th>
<th>权利性质</th>
<th>权利设定方式</th>
<th>容积率</th>
<th>建筑密度</th>
<th>建筑限高</th>
<th>宗地四至-东</th>
<th>宗地四至-南</th>
<th>宗地四至-西</th>
<th>宗地四至-北</th>
<th>宗地图</th>
<th>图幅号</th>
<th>地籍号</th>
<th>档案号</th>
<th>备注</th>
<th>状态</th>
</c:if>
-->
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseZdjbxx">
<tr>
<!-- begin -->
<td>
<input type="radio" name="radio_zddm" id="${regBaseZdjbxx.zddm}" value="${regBaseZdjbxx.zddm}"/>
</td>
<!-- end -->
<%--
<td>
${regBaseZdjbxx.ysdm}
</td>
--%>
<td>
<a href="javascript:void(0);" onclick="winOpenZdjbxx('${regBaseZdjbxx.id}');">
${regBaseZdjbxx.zddm}
</a>
</td>
<td style="display:none;">
${regBaseZdjbxx.bdcdyh}
</td>
<td>
${fns:getDictLabel(regBaseZdjbxx.zdtzm, 'reg_bus_zdtzm', '')}
</td>
<td>
${regBaseZdjbxx.zl}
</td>
<td>
${regBaseZdjbxx.zdmj}
</td>
<td>
${regBaseZdjbxx.jg}
</td>
<td>
${regBaseZdjbxx.qlrxm}
</td>
<td>
${fns:getDictLabel(regBaseZdjbxx.qllx, 'reg_bus_qllx', '')}
</td>
<td style="display:none;">
${regBaseZdjbxx.qllx}
</td>
<%--
<c:if test="${empty SXBGLX}">
<td>
${regBaseZdjbxx.yt}
</td>
<td>
${fns:getDictLabel(regBaseZdjbxx.dj, 'reg_bus_tddj', '')}
</td>
<td>
${regBaseZdjbxx.jg}
</td>
<td>
${fns:getDictLabel(regBaseZdjbxx.qllx, 'reg_bus_qllx', '')}
</td>
<td>
${fns:getDictLabel(regBaseZdjbxx.qlxz, 'reg_bus_qlxz', '')}
</td>
<td>
${fns:getDictLabel(regBaseZdjbxx.qlsdfs, 'reg_bus_qlsdfs', '')}
</td>
<td>
${regBaseZdjbxx.rjl}
</td>
<td>
${regBaseZdjbxx.jzmd}
</td>
<td>
${regBaseZdjbxx.jzxg}
</td>
<td>
${regBaseZdjbxx.zdszd}
</td>
<td>
${regBaseZdjbxx.zdszn}
</td>
<td>
${regBaseZdjbxx.zdszx}
</td>
<td>
${regBaseZdjbxx.zdszb}
</td>
<td>
${regBaseZdjbxx.zdt}
</td>
<td>
${regBaseZdjbxx.tfh}
</td>
<td>
${regBaseZdjbxx.djh}
</td>
<td>
${regBaseZdjbxx.dah}
</td>
<td>
${regBaseZdjbxx.bz}
</td>
<td>
${fns:getDictLabel(regBaseZdjbxx.zt, 'reg_bus_bdcdyzt', '')}
</td>
</c:if>
--%>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>