669dd7a7054b192d9bfafb576edfa3dbf85bc4a7.svn-base 3.5 KB
<%@ 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 gobackx(){
			var url = "${ctx}/reg/base/regBaseXm/";
			window.location = url;
		}
		
		//TODO 通过幢ID获取到整个楼盘的户信息展示,并单击每个户信息可以看到当前户的详细信息和当前户做过的业务信息列表 
		function winOpenZCHView(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?ZID="+zid,"楼盘立体展示",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/base/regBaseZrz/list?XMID=${XMID}">幢[楼栋]信息列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBaseZrz" action="${ctx}/reg/base/regBaseZrz/" 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="xmid" name="XMID" type="hidden" value="${XMID}" />
		<ul class="ul-form">
			<li>&nbsp;&nbsp;&nbsp;不动产单元号:
				<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
			</li> 
			<li><label>标识码:</label>
				<form:input path="bsm" htmlEscape="false" maxlength="6" class="input-medium"/>
			</li>
			<li><label>项目名称:</label>
				<form:input path="xmmc" htmlEscape="false" maxlength="100" 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="gobackx()"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/>
	<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>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseZrz">
			<tr>
				<td>${regBaseZrz.bsm}</td>
				<td><a href="${ctx}/reg/base/regBaseZrz/form?id=${regBaseZrz.id}&VIEWS=1">
					${regBaseZrz.bdcdyh}
				</a></td>
				<td>
					${regBaseZrz.gzwmc}
				</td>
				<td>
					${regBaseZrz.zddm}
				</td>
				<td>
					${regBaseZrz.zrzh}#
				</td>
				<td>
					${regBaseZrz.xmmc}
				</td> 
				<td>
					${regBaseZrz.scjzmj}
				</td>
				<td>
					${regBaseZrz.zcs}
				</td> 
				<td>
					<a href="javascript:void(0);" onclick="winOpenZCHView('${regBaseZrz.id}');">立体展示</a>
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>