d1ef7c153d4d45d4408cd5d7f66f97fc43f7c82a.svn-base
8.37 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
<%@ 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?repage&ZID=${ZID}&XMID=${XMID}&XMMC=${XMMC}&DZ=${DZ}";
window.location = url;
}
function goVerFrom(){
if(confirm("请将所有层都添加完后再纵向添加户信息!确定要进入户信息纵向添加吗?")){
var url = "${ctx}/reg/base/regBaseH/verform?CID=${CID}&DZ=${DZ}";
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?hlb=1&CID=${CID}&XMID=${XMID}&XMMC=${XMMC}","楼盘立体展示",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
function auditH(id, cid){
if(confirm('审核后数据将正式生效,并且不能删除和修改。确认要审核该信息吗?')){
url = "${ctx}/reg/base/regBaseH/audit?id="+id+"&CID="+cid+"&DZ=${DZ}";
window.location.href=url;
}
}
function unauditH(id, cid){
if(confirm('反审核后数据恢复可删除和修改。确认要反审核该信息吗?')){
url = "${ctx}/reg/base/regBaseH/unaudit?id="+id+"&CID="+cid+"&DZ=${DZ}";
window.location.href=url;
}
// $.ajax({
// type:"POST",
// url:"${ctx}/reg/base/regBaseZrz/isnounaudit",
// cache: false,
// data:"id="+id+"&bj=3",
// async : false,
// success:function(modelmap){
// if(modelmap.success == 0){
// if(confirm('反审核后数据恢复可删除和修改。确认要反审核该信息吗?')){
// url = "${ctx}/reg/base/regBaseH/unaudit?id="+id+"&CID="+cid;
// window.location.href=url;
// }
// }else{
// alert(modelmap.msg);
// return;
// }
// }
// });
}
function batAuditH(){
if(confirm('批量审核所有户后,数据将正式生效,并且不能删除和修改。确认要审核该信息吗?')){
url = "${ctx}/reg/base/regBaseH/batAudit?CID=${CID}&DZ=${DZ}";
window.location.href=url;
}
}
function batAuditHS(){
if(confirm('批量审核所有户后,数据将正式生效,并且不能删除和修改。确认要审核该信息吗?')){
url = "${ctx}/reg/base/regBaseH/batAuditTestTransaction?CID=${CID}&DZ=${DZ}";
window.location.href=url;
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/base/regBaseH/list?CID=${CID}&DZ=${DZ}">户信息列表</a></li>
<!--<shiro:hasPermission name="reg:base:regBaseH:edit"><li><a href="${ctx}/reg/base/regBaseH/form?CID=${CID}&DZ=${DZ}">户信息横向添加</a></li></shiro:hasPermission>
<shiro:hasPermission name="reg:base:regBaseH:edit">
<li><a href="javascript:void(0);" onclick="goVerFrom();">户信息纵向添加</a></li>
</shiro:hasPermission>-->
</ul>
<form:form id="searchForm" modelAttribute="regBaseH" action="${ctx}/reg/base/regBaseH/list?DZ=${DZ}" 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}"/>
<input id="cid" name="CID" type="hidden" value="${CID}" />
<ul class="ul-form">
<li> 不动产单元号:
<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
</li>
<%-- <li><label>房屋编码:</label>
<form:input path="fwbm" htmlEscape="false" maxlength="26" class="input-medium"/>
</li> --%>
<li><label>房源编号:</label>
<form:input path="fybh" htmlEscape="false" maxlength="6" class="input-medium"/>
</li>
<li><label>室号部位:</label>
<form:input path="shbw" htmlEscape="false" maxlength="26" class="input-medium"/>
</li>
<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
<li class="btns"><input id="btnCancel" class="btn" type="button" value="返回层" onclick="gobackc()"/></li>
<li class="btns"><input id="btnBatAduit" class="btn btn-primary" type="button" value="户批量审核" onclick="batAuditH();"/></li>
<li class="clearfix"></li>
</ul>
</form:form>
<div class="zxdiv"><label><span class="tipinfo">请点击宗地信息选择按钮,只能选择一个</span></label>
<input id="btnChose" class="btn btn-primary" type="button" onclick="javascript:winBackZdjbxx();" value="户信息选择"/>
</div>
<sys:message content="${message}"/>
<fmt:formatNumber value="${CHMJS}" pattern="#0.##" var="formattedNumber"/>
<div class="current_fwinfo">当前项目【${XMMC}】,建筑物【${JZWMC}】,实际层【${SJC}】,一共包含【${hCount}】户, 实测建筑总面积【${formattedNumber}】㎡</div>
<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>
<%--
<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">
<tr>
<td><a href="${ctx}/reg/base/regBaseH/form?id=${regBaseH.id}&VIEWS=1&CID=${CID}&xg=1&DZ=${DZ}">
${regBaseH.bdcdyh}
</a></td>
<td>
${regBaseH.fybh}
</td>
<td>
${regBaseH.jgzwmc}
</td>
<%--
<td>
${regBaseH.ljzh}
</td>
--%>
<td>
${SJC}
</td>
<td>
${regBaseH.zl}
</td>
<td>
${regBaseH.scjzmj}
</td>
<td>
${regBaseH.sjcs}
</td>
<td>
${regBaseH.hh}
</td>
<td>
${regBaseH.shbw}
</td>
<%--
<td>
${fns:getDictLabel(regBaseH.hx, 'reg_bus_hx', '')}
</td>
<td>
${fns:getDictLabel(regBaseH.hxjg, 'reg_bus_hxjg', '')}
</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="${regBaseH.isaudit ne '2'}">
<c:if test="${regBaseH.isaudit eq '0'}">
<a href="#" onclick="auditH('${regBaseH.id}', '${CID}');">审核</a>
<!--<a href="${ctx}/reg/base/regBaseH/form?id=${regBaseH.id}&CID=${CID}&xg=1&DZ=${DZ}">修改</a>
<a href="${ctx}/reg/base/regBaseH/delete?id=${regBaseH.id}&CID=${CID}&DZ=${DZ}"
onclick="return confirmx('确认要删除该户信息吗?', this.href)">删除</a>-->
</c:if>
<c:if test="${regBaseH.isaudit eq '1'}">
<a href="#" onclick="unauditH('${regBaseH.id}', '${CID}');">反审核</a>
</c:if>
<c:if test="${regBaseH.isaudit ne '0' and regBaseH.isaudit ne '1'}">
<a href="#" onclick="auditH('${regBaseH.id}', '${CID}');">审核</a>
<!--<a href="${ctx}/reg/base/regBaseH/form?id=${regBaseH.id}&CID=${CID}&xg=1&DZ=${DZ}">修改</a>
<a href="${ctx}/reg/base/regBaseH/delete?id=${regBaseH.id}&CID=${CID}&DZ=${DZ}"
onclick="return confirmx('确认要删除该户信息吗?', this.href)">删除</a>-->
</c:if>
</c:if>
<c:if test="${regBaseH.isaudit eq '2'}">
<a href="#">已引用</a>
</c:if>
</td>
</shiro:hasPermission>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
<div align="center" style="font-size:20px">
<a href="javascript:void(0);" onclick="winOpenZCHView('${regBaseZrz.id}');">立体展示</a>
<legend></legend>
</div>
</body>
</html>