cd06ba66ac6f1cd1bfc80b1d0bc0a1ea1e082a82.svn-base 4.46 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 reloadqlr() {
			var optype = "${optype}";
			var ywh = "${LSH}";
			window.close();
			if (window.opener) {
				//新增 
				if (optype == undefined || optype == null || optype == "") {
					window.opener.document.qlrframe.location="${ctx}/reg/bus/regBusHisHouseQlr/list?YWH="+ywh+"&zjd=${zjd}&zjddr=${zjddr}";
					window.opener.document.forenoticeframe.location.reload();
				}else { //更新 
					window.opener.parent.document.qlrframe.location="${ctx}/reg/bus/regBusHisHouseQlr/list?YWH="+ywh+"&zjd=${zjd}&zjddr=${zjddr}";
					window.opener.parent.document.forenoticeframe.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/regBusHisHouseQlr/showform?ids="+id+"&xg=${xg}&H=1", "11", "height=" + iHeight + ",width=" + iWidth + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		function winOpenUpdateQlr(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/regBusHisHouseQlr/form?id=" + id + "&YWH=${YWH}&XG=1&zjd=${zjd}&zjddr=${zjddr}", "77", "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:regBusHisHouseQlr:edit"><li><a href="${ctx}/reg/bus/regBusHisHouseQlr/form">权利人信息添加</a></li></shiro:hasPermission> --%>
	</ul>
	<c:if test="${not empty WO}">
		<br>
		<input id="reLoadQlr" class="btn btn-primary" type="button" onclick="reloadqlr();" value="退出列表" />
		<br>
		<br>
	</c:if>
	<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>
				<c:if test="${empty LISTVIEWS}">
					<c:if test="${empty xg}">
						<shiro:hasPermission name="reg:bus:regBusHisHouseQlr:edit">
							<th>操作</th>
						</shiro:hasPermission>
					</c:if>	
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusHisHouseQlr">
			<tr>
					<td>${regBusHisHouseQlr.sxh}</td> 
					<td>
					<shiro:hasPermission name="reg:bus:regBusHisHouseQlr:view">
						<a href="javascript:void(0);" onclick="winOpenQlr('${regBusHisHouseQlr.id}');">${regBusHisHouseQlr.qlrmc}</a>
					</shiro:hasPermission>
					</td>
					<td>${regBusHisHouseQlr.dh}</td>
					<td>${regBusHisHouseQlr.dz}</td>
					<td>${regBusHisHouseQlr.zjh}</td> 
					<td>${fns:getDictLabel(regBusHisHouseQlr.qlrlx, 'reg_bus_qlrlx', '')}</td>
					<td>${fns:getDictLabel(regBusHisHouseQlr.gyfs, 'reg_bus_gyfs', '')}</td>
					<td>${fns:getDictLabel(regBusHisHouseQlr.sshy, 'reg_bus_sshy', '')}</td>
					<c:if test="${empty VIEWS}">
					 
						<shiro:hasPermission name="reg:bus:regBusHisHouseQlr:edit">
							<td>
								
								<a href="javascript:void(0);" onclick="winOpenUpdateQlr('${regBusHisHouseQlr.id}');">修改</a> 
							 <c:if test="${empty optype}">
								<a href="${ctx}/reg/bus/regBusHisHouseQlr/delete?id=${regBusHisHouseQlr.id}&YWH=${YWH}" onclick="return confirmx('确认要删除该权利人信息吗?', this.href)">删除</a>
								 </c:if>
							</td>
						</shiro:hasPermission>
					 
					</c:if>
			</tr>
		</c:forEach>
		</tbody>
		</table>
	</body>
</html>