d830e311e0acd9bb4c563f493756a487e9f589c3.svn-base 5.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() {
			//$("#name").focus();
			$("#inputForm").validate({
				submitHandler: function(form){
					loading('正在提交,请稍等...');
					form.submit();
				},
				errorContainer: "#messageBox",
				errorPlacement: function(error, element) {
					$("#messageBox").text("输入有误,请先更正。");
					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
						error.appendTo(element.parent().parent());
					} else {
						error.insertAfter(element);
					}
				}
			}); 
		});
		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/regBusQlr/qlrgmform?YWH=${YWH}"+"&id=" + id + "&XG=1", "newwindow", "height=" + iHeight + ",width=" + iWidth + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		function winOpenUpdateQlrgm(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/regBusQlr/qlrgmform?bj=1&YWH=${YWH}"+"&id=" + id + "&XG=1", "newwindow", "height=" + iHeight + ",width=" + iWidth + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		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/regBusQlr/qlrgmform?YWH=${YWH}&VIEWS=1"+"&id=" + id + "&XG=1", "newwindow", "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="javascript:void(0);">
					权利人信息列表
				</a></li>
			</ul>
			<sys:message content="${message}" />
			<div id="divisionInfo"  class="control-group">
				<fieldset>
				  <table id="contentTable" class="table table-striped table-bordered table-condensed">
					<thead>
					<tr>
						<th>顺序号</th>
						<c:if test="${empty slhj}">
						<th>业务编号</th>
						</c:if>
						<c:if test="${empty slhj}">
							<th>人员编码</th>
						</c:if>
						<th  width="12%">权利人名称</th>
						<th>证件种类</th>
						<th>证件号</th>
						<th>权利人类型</th>
						<th>权利比例</th>
						<th>共有情况</th>
						<th>共有详情</th>
						<shiro:hasPermission name="reg:bus:regBusQlr:edit">
						<c:if test="${empty LISTVIEWS}">
							<c:if test="${not empty ts}">
								<th width="5%">操作</th>
							</c:if>
						</c:if>
						</shiro:hasPermission>
						
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${page.list}" var="regBusQlr">
						<tr>
							<td>
								${regBusQlr.sxh}
							</td> 
							<c:if test="${empty slhj}">
							<td>
								<a href="#">
								${regBusQlr.ywh}
								</a>
							</td>
							</c:if>
							<c:if test="${empty slhj}">
								<td>
									${regBusQlr.pcode}
								</td>
							</c:if>
							
							<td>
									${regBusQlr.qlrmc}
<%-- 								<shiro:hasPermission name="reg:bus:regBusQlr:view"> --%>
<%-- 								<a href="javascript:void(0);" onclick="winOpenQlr('${regBusQlr.id}');">${regBusQlr.qlrmc}</a> --%>
<%-- 								</shiro:hasPermission> --%>
							</td>
							<td>
								${fns:getDictLabel(regBusQlr.zjzl, 'reg_bus_zjlx', '')}
							</td>
							<td>
								${regBusQlr.zjh}
							</td>
							<td>
								${fns:getDictLabel(regBusQlr.qlrlx, 'reg_bus_qlrlx', '')}
							</td>
							<td>
								${regBusQlr.qlbl}
							</td> 
							<td>
								${fns:getDictLabel(regBusQlr.gyfs, 'reg_bus_gyfs', '')}
							</td>
							<td>
								${regBusQlr.gyqk}
							</td>
							<shiro:hasPermission name="reg:bus:regBusQlr:edit">
							<c:if test="${empty LISTVIEWS}">
							<c:if test="${not empty ts}">
							<td>
									<a href="${ctx}/reg/bus/regBusQlr/deletegmqlr?id=${regBusQlr.id}&YWH=${YWH}" onclick="return confirmx('确认要删除该权利人信息吗?', this.href)">删除</a> 
<%-- 								<c:if test="${not empty ts}"> --%>
<%-- 									<a href="${ctx}/reg/bus/regBusQlr/deletegmqlr?id=${regBusQlr.id}&YWH=${YWH}" onclick="return confirmx('是否删除?(提示:删除该权利人信息,需要重做房屋所有权更名向导)', this.href)">删除</a>  --%>
<%-- 								</c:if> --%>
									<c:if test="${not empty gm}">
										<c:if test="${empty ts}">
											<a href="javascript:void(0);" onclick="winOpenUpdateQlr('${regBusQlr.id}');">更名</a> 
										</c:if>
									</c:if>
							</td>
							</c:if>
							</c:if>
						</shiro:hasPermission>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</fieldset>
		</div>
</body>
</html>