ccd1434d00d53b040d11f29d539da380318fdb93.svn-base
11.3 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
<%@ 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 winOpenFdcq2(id){
var iWidth=1100;
var iHeight=600;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var djlx = '${DJLX}';
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusDyaq/getBaseH",
cache: false,
data:"id="+id+"&djlx=${DJLX}",
async:false,
success:function(modelmap){
var ywh = modelmap.ywh;
var status = modelmap.status;
if(djlx == '403' || djlx == '404'){
window.open("${ctx}/reg/bus/regBusFdcq2/nextHouseDivisionForm?dyId="+ id +"&VIEWS=1&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else if(djlx == '402'){
if(status == '97'){//权属变更
window.open("${ctx}/reg/bus/regBusFdcq2/HousePropertyForm?YWH="+ywh+"&ids="+id+"&VIEWS=1&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{//物理变更
window.open("${ctx}/reg/bus/regBusFdcq2/nextHousePropertyForm?qsId="+ id +"&VIEWS=1&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}else if(djlx == '604'){
window.open("${ctx}/reg/bus/regBusFdcq2/HousePropertyForm?YWH="+ywh+"&ids="+id+"&VIEWS=1&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{
window.open("${ctx}/reg/bus/regBusFdcq2/form?id="+ id +"&VIEWS=1&YWH=${YWH}","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
});
}
function winOpenUpdateFdcq2(id){
//弹出窗口的宽度;
var iWidth=1128;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusDyaq/getBaseH",
cache: false,
data:"id="+id+"&djlx=${DJLX}",
async:false,
success:function(modelmap){
var qsId = modelmap.qsId;
var hid = modelmap.hid;
var cid = modelmap.cid;
var ywh = modelmap.ywh;
var djlx = modelmap.djlx;
var oldId = modelmap.oldId;
var status = modelmap.status;
if(djlx == '403'){
window.open("${ctx}/reg/base/regBaseH/divisionform?YWH="+ywh+"&CID="+cid+"&DJLX="+djlx+"&OldYWID="+oldId+"&HID="+hid+"&dyId="+qsId+"&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else if(djlx == '404'){
window.open("${ctx}/reg/base/regBaseH/mergerform?YWH="+ywh+"&CID="+cid+"&DJLX="+djlx+"&ids="+oldId+"&HID="+hid+"&dyId="+qsId+"&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else if(djlx == '402'){
if(status == '97'){//权属变更
window.open("${ctx}/reg/bus/regBusFdcq2/HousePropertyForm?YWH="+ywh+"&DJLX="+djlx+"&ids="+id+"&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{//物理变更
window.open("${ctx}/reg/base/regBaseH/bgpropertyform?YWH="+ywh+"&DJLX="+djlx+"&ids="+oldId+"&qsId="+qsId+"&HID="+hid+"&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}else if(djlx == '604'){
window.open("${ctx}/reg/bus/regBusFdcq2/HousePropertyForm?YWH="+ywh+"&DJLX="+djlx+"&ids="+id+"&optype=update","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
});
}
function deletedyfg(ywh,bdcdyh,id){
if(confirm('是否删除?')){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=400;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var djlx = '${DJLX}';
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusDyaq/getBaseH",
cache: false,
data:"id="+id+"&djlx=${DJLX}",
async:false,
success:function(modelmap){
var status = modelmap.status;
if(djlx == '403' || djlx == '404'){//房屋建筑物所有权分割合并
window.open("${ctx}/reg/bus/regBusFdcq2/deletedyqfghb?ywh="+ywh+"&bdcdyh="+bdcdyh+"&wo=1&DJLX="+djlx,"newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else if(djlx == '402'){
if(status == '97'){//房屋建筑物所有权权属变更删除
window.open("${ctx}/reg/bus/regBusFdcq2/deletedyqbggz?ywh="+ywh+"&bdcdyh="+bdcdyh+"&wo=1&DJLX="+djlx+"&status=97","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{//房屋建筑物所有权物理变更删除
window.open("${ctx}/reg/bus/regBusFdcq2/deletedyqbggz?ywh="+ywh+"&bdcdyh="+bdcdyh+"&wo=1&DJLX="+djlx+"&status=00","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}else if(djlx == '604'){//房屋建筑物所有权权属更正删除
window.open("${ctx}/reg/bus/regBusFdcq2/deletedyqbggz?ywh="+ywh+"&bdcdyh="+bdcdyh+"&wo=1&DJLX="+djlx+"&status=97","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
});
}
}
function reloadFdcq2(){
var optype = "${optype}";
var regedInfoType = "${DJLX}";
if(window.opener) {
if (regedInfoType == "403") { //房屋分割登记
if(optype == undefined || optype == null || optype ==""){
window.opener.divisionframe.location.reload();
}else{
window.opener.parent.document.qlrframe.location.reload();
window.opener.parent.document.gjzwframe.location.reload();
window.opener.parent.document.divisionframe.location.reload();
window.opener.parent.document.divisionbeforeframe.location.reload();
}
}else if(regedInfoType == "404"){//房屋合并登记
if(optype == undefined || optype == null || optype ==""){
window.opener.mergerframe.location.reload();
window.opener.mergerbeforeframe.location.reload();
window.opener.gjzwframe.location.reload();
window.opener.qlrframe.location.reload();
}else{
window.opener.parent.document.mergerbeforeframe.location.reload();
window.opener.parent.document.mergerframe.location.reload();
window.opener.parent.document.gjzwframe.location.reload();
window.opener.parent.document.qlrframe.location.reload();
}
}else if(regedInfoType == "402" || regedInfoType == "604"){//房屋所有权变更更正
if(optype == undefined || optype == null || optype ==""){
window.opener.qlrframe.location.reload();
window.opener.gjzwframe.location.reload();
window.opener.housePropertframe.location.reload();
window.opener.housePropertbeforeframe.location.reload();
}else{
window.opener.parent.document.qlrframe.location.reload();
window.opener.parent.document.gjzwframe.location.reload();
window.opener.parent.document.housePropertframe.location.reload();
window.opener.parent.document.housePropertbeforeframe.location.reload();
}
}
window.close();
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="#">房地产权登记信息(独幢、层、套、间房屋)列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBusFdcq2" action="${ctx}/reg/bus/regBusFdcq2/list?ywh=${YWH}&WO=${WO}&DJLX=${DJLX}&optype=${optype}&LISTVIEWS=${LISTVIEWS}" method="post" class="">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
</form:form>
<c:if test="${not empty WO}">
<br>
<input id="reLoadFdcq2" class="btn btn-primary" type="button" onclick="reloadFdcq2();" value="退出列表"/>
<br><br>
</c:if>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>业务号</th>
<c:if test="${empty WO}">
<th>不动产单元号</th>
</c:if>
<th>权利类型</th>
<th>登记类型</th>
<th>分摊土地面积</th>
<th>建筑面积</th>
<th>专有面积</th>
<th>产权来源</th>
<c:if test="${empty LISTVIEWS}">
<th>操作</th>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusFdcq2">
<tr>
<td>
${regBusFdcq2.ywh}
</td>
<c:if test="${empty WO}">
<td>
<a href="javascript:void(0);" onclick="winOpenFdcq2('${regBusFdcq2.id}')">
${regBusFdcq2.bdcdyh}
</a>
</td>
</c:if>
<td>
${fns:getDictLabel(regBusFdcq2.qllx, 'reg_bus_qllx', '')}
</td>
<td>
${fns:getDictLabel(regBusFdcq2.djlx, 'reg_bus_djlx', '')}
</td>
<td>
${regBusFdcq2.fttdmj}
</td>
<td>
${regBusFdcq2.jzmj}
</td>
<td>
${regBusFdcq2.zyjzmj}
</td>
<td>
${fns:getDictLabel(regBusFdcq2.cqly, 'reg_bus_cqly', '')}
</td>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:bus:regBusDyaq:edit">
<td>
<a href="javascript:void(0);" onclick="winOpenUpdateFdcq2('${regBusFdcq2.id}');">修改</a>
<a href="javascript:void(0);" onclick="deletedyfg('${regBusFdcq2.ywh}','${regBusFdcq2.bdcdyh}','${regBusFdcq2.id}');">删除</a>
</td>
</shiro:hasPermission>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>