ea0cc54167507223da9cf37a25d501027df2ba58.svn-base
12 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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
<%@ 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;
}
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");
}
function winOpenUpdateZdjbxx(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?YWH=${YWH}&id="+id+"&SXBGLX=${SXBGLX}","zddmwindow",
"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 zdid = $("input[name='radio_zddm']:checked").attr("id");
var zddmValue = $("input[name='radio_zddm']:checked").parent().next().text();
var bdcdyhtextValue = $("input[name='radio_zddm']:checked").parent().next().next().text();
var zltextValue = $("input[name='radio_zddm']:checked").parent().next().next().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 qllxTValue = $("input[name='radio_zddm']:checked").parent().next().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();
var yttextValue = $("input[name='radio_zddm']:checked").parent().next().next().next().next().next().next().next().next().next().next().text();
var mjdwValue = $("input[name='radio_zddm']:checked").parent().next().next().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");
//提供另外页面使用-楼盘栋信息里加入宗地的信息
fWQlrmcText = window.opener.document.getElementById("zdqlr");
fWQllxText = window.opener.document.getElementById("zdqllx");
fWSyqmjText = window.opener.document.getElementById("zdjm");
fWZlText = window.opener.document.getElementById("zdzl");
LMzdid = window.opener.document.getElementById("zdid");
ytText = window.opener.document.getElementById("yttext");
if(LMzdid){
LMzdid.value = zdid.toString().trim();
}
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());
}
if(window.opener.select3_dwlx){
window.opener.select3_dwlx(mjdwValue.trim());
}
//其他地方使用-楼盘栋信息里加入宗地的信息
if(fWQlrmcText){
fWQlrmcText.innerText = qlrxmtextValue.trim();
}
if(fWQllxText){
fWQllxText.innerText = qllxTValue.trim();
}
if(fWSyqmjText){
fWSyqmjText.innerText = syqmjtextValue.toString().trim();
}
if(fWZlText){
fWZlText.innerText = zltextValue.trim();
}
if(ytText){
ytText.value = yttextValue.trim();
}
window.close();
}
}
function auditZdjbxx(id){
if(confirm('审核后数据将正式生效,并且不能删除和修改。确认要审核该信息吗?')){
url = "${ctx}/reg/base/regBaseZdjbxx/audit?id="+id;
window.location.href=url;
}
}
function unauditZdjbxx(id){
if(confirm('反审核后数据恢复可删除和修改。确认要反审核该信息吗?')){
url = "${ctx}/reg/base/regBaseZdjbxx/unaudit?id="+id;
window.location.href=url;
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/base/regBaseZdjbxx/list?bz=${bz}&flag=${flag}&djlx=${djlx}&syq=${syq}&isNyd=${isNyd}">宗地基本信息列表</a></li>
<!--<shiro:hasPermission name="reg:base:regBaseZdjbxx:edit">
<li><a href="${ctx}/reg/base/regBaseZdjbxx/form?flag=${flag}&djlx=${djlx}&syq=${syq}&isNyd=${isNyd}">宗地基本信息添加</a></li>
</shiro:hasPermission> -->
</ul>
<form:form id="searchForm" modelAttribute="regBaseZdjbxx" action="${ctx}/reg/base/regBaseZdjbxx/list?bz=${bz}&SXBGLX=${SXBGLX}&flag=${flag}&djlx=${djlx}&syq=${syq}&isNyd=${isNyd}" 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> 宗地代码:
<form:input path="zddm" htmlEscape="false" maxlength="19" class="input-medium"/>
</li>
<li> 权利人姓名:
<form:input path="qlrxm" htmlEscape="false" maxlength="200" class="input-medium"/>
</li>
</c:if>
<li> 不动产单元号:
<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-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>
<th style="display:none;">用途</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>
-->
<!--<shiro:hasPermission name="reg:base:regBaseZdjbxx:edit"><th>操作</th></shiro:hasPermission>-->
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseZdjbxx">
<tr>
<!-- begin -->
<td>
<input type="radio" name="radio_zddm" id="${regBaseZdjbxx.id}" value="${regBaseZdjbxx.zddm}"/>
</td>
<!-- end -->
<%--
<td>
${regBaseZdjbxx.ysdm}
</td>
--%>
<td>
<c:if test="${empty flag}">
<a href="javascript:void(0);" onclick="winOpenZdjbxx('${regBaseZdjbxx.id}');">
${regBaseZdjbxx.zddm}
</a>
</c:if>
<c:if test="${not empty flag}">
${regBaseZdjbxx.zddm}
</c:if>
</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>
<td style="display:none;">
${regBaseZdjbxx.yt}
</td>
<td style="display:none;">
${regBaseZdjbxx.mjdw}
</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>
--%>
<!--<shiro:hasPermission name="reg:base:regBaseZdjbxx:edit"><td>
<a href="${ctx}/reg/base/regBaseZdjbxx/form?YWH=${YWH}&id=${regBaseZdjbxx.id}&SXBGLX=${SXBGLX}&flag=${flag}&djlx=${djlx}&update=1&syq=${syq}&isNyd=${isNyd}">修改</a>
<a href="${ctx}/reg/base/regBaseZdjbxx/delete?id=${regBaseZdjbxx.id}&flag=${flag}&djlx=${djlx}&syq=${syq}&isNyd=${isNyd}" onclick="return confirmx('确认要删除该宗地基本信息吗?', this.href)">删除</a>
</td></shiro:hasPermission>-->
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>