874619b4b8bfe4208459bd0baf6eaec0b844dab5.svn-base 3.6 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 queryarchives(id,ywh){
			$.ajax({ 
				type:"POST", 
				url:"${ctx}/reg/bus/regBusBdcqzsdjxx/archivesyz", 
				cache: false, 
				data:"ywh="+ywh,
			    async : false,  
				success:function(modelmap){
					successbj = modelmap.success;
					if(successbj == 0){
						//弹出窗口的宽度; 
						var iWidth=1330; 
						//弹出窗口的高度;
				       	var iHeight=650;
				       	//获得窗口的垂直位置 
				       	var iTop = (window.screen.height - 30 - iHeight) / 2;
				       	//获得窗口的水平位置 
				       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
						window.open("${ctx}/reg/bus/regBusBdcqzsdjxx/archivesform?id="+id+"&ywh="+ywh,"newwindow","height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
					}else{
						alert(modelmap.msg);
					}
				}
		    });
			
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">电子档案信息列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBusBdcqzsdjxx" action="${ctx}/reg/bus/regBusBdcqzsdjxx/archiveslist" 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}"/>
		<table class="table-form">
			<tr>
				<td>业务编号</td>
				<td>
					<form:input path="ywh" htmlEscape="false" maxlength="20" class="input-medium"/>
				</td>
				<td>产权证号</td>
				<td>
					<form:input path="bdcqzh" htmlEscape="false" maxlength="12" class="input-medium"/>
				</td>
				<td>不动产单元号</td>
				<td>
					<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
				</td>
				<td>坐落</td>
				<td>
					<form:input path="zl" htmlEscape="false" maxlength="100" class="input-large"/>
				</td>
				<td>	
					<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
				</td>
			</tr>
		</table>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th width="5%">业务编号</th>
				<th width="10%">不动产单元号</th>
				<th width="20%">不动产权证号</th>
				<th width="15%">权利人</th>
				<th width="30%">坐落</th>
				<th width="5%">面积</th>
				<shiro:hasPermission name="reg:bus:regBusBdcqzsdjxx:view"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusBdcqzsdjxx">
			<tr>
				<td>
					${regBusBdcqzsdjxx.ywh}
				</td>
				<td>
					${regBusBdcqzsdjxx.bdcdyh}
				</td>
				<td>
					${regBusBdcqzsdjxx.bdcqzh}
				</td>
				<td>
					${regBusBdcqzsdjxx.qlrmc}
				</td>
				<td>
					${regBusBdcqzsdjxx.zl}
				</td>
				<td>
					${regBusBdcqzsdjxx.mj}
				</td>
				<shiro:hasPermission name="reg:bus:regBusBdcqzsdjxx:view"><td>
    				 <a href="#" onclick="queryarchives('${regBusBdcqzsdjxx.id}','${regBusBdcqzsdjxx.ywh}');"><span><font color="green">查看</font></span></a>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>