c21d5c58b2766f1d7f08ebb7a24c2f9ae8c52f18.svn-base
6.72 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
<%@ 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 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();
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");
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(fWQlrmcText){
fWQlrmcText.innerText = qlrxmtextValue.trim();
}
if(fWQllxText){
fWQllxText.innerText = qllxTValue.trim();
}
if(fWSyqmjText){
fWSyqmjText.innerText = syqmjtextValue.toString().trim();
}
if(fWZlText){
fWZlText.innerText = zltextValue.trim();
}
window.close();
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/base/regBaseZdjbxx/fwlinklist?CXMID=${XMID}">宗地基本信息列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBaseZdjbxx" action="${ctx}/reg/base/regBaseZdjbxx/fwlinklist?ywh=${YWH}&CXMID=${XMID}" 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>
<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-striped table-bordered table-condensed">
<thead>
<tr>
<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>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseZdjbxx">
<tr>
<td>
<input type="radio" name="radio_zddm" id="${regBaseZdjbxx.zddm}" value="${regBaseZdjbxx.zddm}"/>
</td>
<td>
<!-- onclick="winOpenZdjbxx('${regBaseZdjbxx.id}');" -->
<a href="javascript:void(0);" >
${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>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>