a0bbc6fddeb3a1d773a196176122a9118cdf127c.svn-base
6.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
<%@ 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 gobackc(){
var url = "${ctx}/reg/base/regBaseC/list?ZID=${ZID}&XMMC=${XMMC}";
window.location = url;
}
function goVerFrom(){
if(confirm("请将所有层都添加完后再纵向添加户信息!确定要进入户信息纵向添加吗?")){
var url = "${ctx}/reg/base/regBaseH/verform?CID=${CID}";
window.location = url;
}
}
function winOpenZCHView(){
//弹出窗口的宽度;
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/regBaseC/zchListView?CID=${CID}&XMID=${XMID}&XMMC=${regBaseXmmc}&hlb=1","楼盘立体展示",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
//返回并刷新父页面
function btnNextClick(){
if(window.opener){
var url = "${ctx}/reg/base/regBaseH/getHBGListLand?CID=${CID}&YWH=${YWH}&djlx=${DJLX}&selectedIDs=${selectedIDs}&ZID=${zid}&updated=1";
window.opener.document.location = url;
}
window.close();
}
//返回并刷新父页面
function btnNextFClick(){
if(window.opener){
window.opener.parent.Beforepropertyframe.location.reload();
window.opener.parent.Afterpropertyframe.location.reload();
}
window.close();
}
function openhview(id){
var iWidth=1100;
var iHeight=500;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/base/regBaseH/houseformview?id="+id+"&VIEWS=1","户信息查看",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
function updateHBG(id, cid){
var iWidth=1100;
var iHeight=500;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/base/regBaseH/houseupdateform?id="+id+"&YWH=${YWH}&CID="+cid,"户信息修改",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
function deleteHBG(id){
if(confirm('确认要删除此次户信息变更吗?')){
//通过发送ajax请求删除当前变更后的户信息、以及户情况变化表和已登记信息里的数据
$.ajax({
type:"POST",
url:"${ctx}/reg/base/regBaseH/deleteHBGAndRelationInfo",
cache: false,
data:"id="+id+"&YWH=${YWH}",
async : false,
success:function(modelmap){
var issucess = modelmap.issucess;
if(issucess == "1"){
window.parent.Beforepropertyframe.location.reload();
window.parent.Afterpropertyframe.location.reload();
}
}
});
}
}
</script>
</head>
<body>
<!-- ul class="nav nav-tabs">
<li class="active"><a href="#">户信息变更列表</a></li>
</ul -->
<form:form id="searchForm" modelAttribute="regBaseH" action="${ctx}/reg/base/regBaseH/getHBGList?YWH=${YWH}" 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>
<sys:message content="${message}"/>
<!-- div class="current_fwinfo">当前项目【${XMMC}】,所属幢号为【${ZH}】</div -->
<c:if test="${not empty WO}">
<c:if test="${not empty updatetypeofslsq }">
<input id="btnConform" class="btn btn-primary" type="button" onClick="btnNextFClick();" value="返回并刷新变更列表"/>
</c:if>
<c:if test="${empty updatetypeofslsq }">
<input id="btnConform" class="btn btn-primary" type="button" onClick="btnNextClick();" value="返回并刷新变更面板"/>
</c:if>
</c:if>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>不动产单元号</th>
<th>房屋编码</th>
<th>楼栋</th>
<th>坐落</th>
<th>建筑面积</th>
<th>室内面积</th>
<th>总层数</th>
<th>土地分摊面积</th>
<th>室号部位</th>
<th>户型</th>
<th>房屋性质</th>
<c:if test="${empty changetype}">
<c:if test="${empty LISTVIEWS}">
<c:if test="${empty updatetypeofslsq }">
<c:if test="${empty updatetypess }"> <!-- 区别变更面板上点击“楼盘变更”后可以返回到 -->
<th>操作</th>
</c:if>
</c:if>
</c:if>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseH">
<tr>
<td><a href="#" onclick="openhview('${regBaseH.id}');">
${regBaseH.bdcdyh}
</a></td>
<td>
${regBaseH.fwbm}
</td>
<td>
${regBaseH.jgzwmc}
</td>
<td>
${regBaseH.zl}
</td>
<td>
${regBaseH.scjzmj}
</td>
<td>
${regBaseH.sctnjzmj}
</td>
<td>
${regBaseH.sjcs}
</td>
<td>
${regBaseH.fttdmj}
</td>
<td>
${regBaseH.shbw}
</td>
<td>
${fns:getDictLabel(regBaseH.hx, 'reg_bus_hx', '')}
</td>
<td>
${fns:getDictLabel(regBaseH.fwxz, 'reg_bus_fwxz', '')}
</td>
<c:if test="${empty changetype}">
<c:if test="${empty LISTVIEWS}">
<c:if test="${empty updatetypeofslsq }">
<c:if test="${empty updatetypess }">
<td>
<a href="#" onclick="updateHBG('${regBaseH.id}', '${CID}');">修改</a>
<a href="#" onclick="deleteHBG('${regBaseH.id}');">删除</a>
</td>
</c:if>
</c:if>
</c:if>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
<%-- <div class="pagination">${page}</div> --%>
</body>
</html>