829e1ad7a65c09e277a2abbf503f1c3eaa1f27db.svn-base 4.96 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 reloadywr() {
			var optype = "${optype}";
			window.close();
			if (window.opener) {
				//新增 
				if (optype == undefined || optype == null || optype == "") {
					window.opener.document.gjzwframe.location.reload();
					window.opener.document.ywrframe.location.reload();
					window.opener.document.forenoticeframe.location.reload();
				}else { //更新 
					window.opener.parent.document.gjzwframe.location.reload();
					window.opener.document.ywrframe.location.reload();
					window.opener.parent.document.forenoticeframe.location.reload();
				}
			}
		}
		
		function tdreloadywr() {
			var optype = "${optype}";
			window.close();
			if (window.opener) {
				//新增 
				if (optype == undefined || optype == null || optype == "") {
					window.opener.document.ywrframe.location.reload();
				}else { //更新 
					window.opener.document.ywrframe.location.reload();
				}
			}
		}
		
		function winOpenQlr(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/bus/regBusHisHouseYwr/showform?ids="+id+"&xg=${xg}&H=1", "窗口", "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="#">权利人信息列表</a></li>
<%-- 		<shiro:hasPermission name="reg:bus:regBusHisHouseYwr:edit"><li><a href="${ctx}/reg/bus/regBusHisHouseYwr/form">房屋历史数据录入义务人添加添加</a></li></shiro:hasPermission> --%>
	</ul>
	<form:form id="searchForm"  modelAttribute="regBusHisHouseYwr"  src="${ctx}/reg/bus/regBusHisHouseYwr/list?LSH=LS201608050001" 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}"/>
	<c:if test="${not empty WO}">
		<br>
		<input id="reLoadQlr" class="btn btn-primary" type="button" onclick="reloadywr();" value="退出列表" />
		<br>
		<br>
	</c:if>
	<c:if test="${not empty WWO}">
		<br>
		<input id="reLoadQlr" class="btn btn-primary" type="button" onclick="tdreloadywr();" value="退出列表" />
		<br>
		<br>
	</c:if>
	<sys:message content="${message}"/>
	<div id="srcBaseInfo"  class="control-group" >
	<fieldset>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>顺序号</th>
				<c:if test="${H ne 1}">
					<th>不动产单元号</th>
				</c:if>
				<th>权利人名称</th>
				<th>电话</th>
				<th>地址</th>
				<th>证件号</th>
				<th>权利人类型</th>
				<th>共有情况</th>
				<th>所属行业</th>
				<c:if test="${empty LISTVIEWS}">
				<c:if test="${empty xg}">
					<shiro:hasPermission name="reg:bus:regBusHisHouseYwr:edit">
						<th>操作</th>
					</shiro:hasPermission>
				</c:if>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusHisHouseYwr">
			<tr>
					<td>${regBusHisHouseYwr.sxh}</td>
					<c:if test="${empty td}">
						<c:if test="${H ne 1}">
						<td>${regBusHisHouseYwr.bdcdyh}</td> 
						</c:if>
					</c:if>
					<td>
					<shiro:hasPermission name="reg:bus:regBusHisHouseYwr:view">
						<a href="javascript:void(0);" onclick="winOpenQlr('${regBusHisHouseYwr.id}');">${regBusHisHouseYwr.qlrmc}</a>
					</shiro:hasPermission>
					</td>
					<td>${regBusHisHouseYwr.dh}</td>
					<td>${regBusHisHouseYwr.dz}</td>
					<td>${regBusHisHouseYwr.zjh}</td> 
					<td>${fns:getDictLabel(regBusHisHouseYwr.qlrlx, 'reg_bus_qlrlx', '')}</td>
					<td>${fns:getDictLabel(regBusHisHouseYwr.gyfs, 'reg_bus_gyfs', '')}</td>
					<td>${fns:getDictLabel(regBusHisHouseYwr.sshy, 'reg_bus_sshy', '')}</td>
					<c:if test="${empty LISTVIEWS}">
					<c:if test="${empty xg}">
						<shiro:hasPermission name="reg:bus:regBusHisHouseYwr:edit">
							<td>
<%-- 								<a href="javascript:void(0);" onclick="winOpenUpdateQlr('${regBusHisHouseYwr.id}');">修改</a>  --%>
										<a href="${ctx}/reg/bus/regBusHisHouseYwr/delete?id=${regBusHisHouseYwr.id}&YWH=${YWH}" onclick="return confirmx('确认要删除该权利人信息吗?', this.href)">删除</a>
							</td>
						</shiro:hasPermission>
					</c:if>
					</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
	</fieldset>
	</div>
	</form:form>
</body>
</html>