f01e31c76cdd90d4fb80f36c6f0f16bbc4aa968d.svn-base
6.25 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
<%@ 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(zid){
//alert(zid);
//弹出窗口的宽度;
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&ZID="+zid,"楼盘立体展示",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
//户信息查看
function openHViews(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/regBaseH/houseform?id="+id+"&VIEWS=1&CID=${CID}","楼盘期转现变更户信息查看",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
//户信息变更
function winOpenUpdateH(id){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2; //&selectedIDs=${selectedIDs}
window.open("${ctx}/reg/base/regBaseH/houseform?id="+id+"&CID=${CID}&YWH=${YWH}&DJLX=${DJLX}&zid=${zid}","楼盘期转现变更户信息更新",
"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){
window.opener.Beforepropertyframe.location.reload();
window.opener.Afterpropertyframe.location.reload();
}
window.close();
}
//批量变更
function hpledit(){
$.ajax({
type:"POST",
url:"${ctx}/reg/base/regBaseH/validateplbg",
cache: false,
data:"selectedIDs=${selectedIDs}",
async : false,
success:function(modelmap){
if(modelmap.success == 0){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2; //&selectedIDs=${selectedIDs}
window.open("${ctx}/reg/base/regBaseH/plhouseform?selectedIDs=${selectedIDs}&CID=${CID}&YWH=${YWH}&DJLX=${DJLX}&zid=${zid}","楼盘期转现变更",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{
alert(modelmap.msg);
return;
}
}
});
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="#">期转现楼盘变更户信息列表</a></li>
</ul>
<input id="btnConform" class="btn btn-primary" style="float:right;" type="button" onClick="hpledit();" value="批量变更"/>
<sys:message content="${message}"/>
<div class="current_fwinfo">当前项目【${XMMC}】,所属建筑物【${GZWMC}】</div>
<table id="contentTable" class="table 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>
<shiro:hasPermission name="reg:base:regBaseH:edit"><th>操作</th></shiro:hasPermission>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseH">
<c:if test="${not empty regBaseH.updated}">
<tr bgcolor="#B9EFF0">
</c:if>
<c:if test="${empty regBaseH.updated}">
<tr>
</c:if>
<td><a href="#" onclick="openHViews('${regBaseH.id}')">
${regBaseH.bdcdyh}
</a></td>
<td>
${regBaseH.fwbm}
</td>
<td>
${regBaseH.jgzwmc}
</td>
<td>
${regBaseH.sjc}
</td>
<td>
${regBaseH.zl}
</td>
<td>
${regBaseH.scjzmj}
</td>
<td>
${regBaseH.sjcs}
</td>
<td>
${regBaseH.hh}
</td>
<td>
${regBaseH.shbw}
</td>
<td>
${regBaseH.updater}
</td>
<td>
<fmt:formatDate value="${regBaseH.updateDate}" pattern="yyyy-MM-dd"/>
</td>
<shiro:hasPermission name="reg:base:regBaseH:edit">
<td>
<c:if test="${empty regBaseH.updated}">
<a href="#" onclick="winOpenUpdateH('${regBaseH.id}');">变更</a>
</c:if>
<c:if test="${not empty regBaseH.updated}">
<a href="#">已变更</a>
</c:if>
</td>
</shiro:hasPermission>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
<input id="btnConform" class="btn btn-primary" style="float:right;" type="button" onClick="btnNextClick();" value="确 认"/>
<div align="center" style="font-size:20px">
<a href="javascript:void(0);" onclick="winOpenZCHView('${zid}');">立体展示</a>
</div>
</body>
</html>