34f207a4a19ef177113ebb7e888b6efa150a7481.svn-base 6.73 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">
		var selItems = new Array();
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
		
		function winOpenDyaq(id){
			//弹出窗口的宽度; 
			var iWidth=1128; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			var djlx = '${djlx}';
	       	if(djlx == '605' || djlx == '606' || djlx == '607' || djlx == '608' 
	       			|| djlx == '430' || djlx == '431' || djlx == '432' || djlx == '433'){
				window.open("${ctx}/reg/bus/regBusDyaq/dyqGzPluralform?ids="+ id +"&VIEWS=1&optype=update","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	       	}else{
				window.open("${ctx}/reg/bus/regBusDyaq/xfzxnextform?ids="+ id +"&VIEWS=1&optype=update","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	       	}
		}
		
		function winOpenUpdateDyaq(id,ywh){
			//弹出窗口的宽度; 
			var iWidth=1128; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
	       	var djlx = '${djlx}';
	       	if(djlx == '606' || djlx == '607' || djlx == '608' || djlx == '605' 
	       			|| djlx == '430' || djlx == '431' || djlx == '432' || djlx == '433'){
				window.open("${ctx}/reg/bus/regBusDyaq/dyqGzPluralform?ids="+ id +"&optype=update","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	       	}else{
				window.open("${ctx}/reg/bus/regBusDyaq/xfzxnextform?ids="+id+"&optype=update","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	       	}
		}
		
		function deletexfdy(bdbzzqse,dbze,ywh,bdcdyh){
			 if(confirm('是否删除?')){
				//弹出窗口的宽度; 
				var iWidth=1100; 
				//弹出窗口的高度;
		       	var iHeight=400;
		       	//获得窗口的垂直位置 
		       	var iTop = (window.screen.height - 30 - iHeight) / 2;
		       	//获得窗口的水平位置 
		       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
		       	var djlx = '${djlx}';
		       	if(djlx == '606' || djlx == '607' || djlx == '608' || djlx == '605'  
		       			|| djlx == '431' || djlx == '432' || djlx == '433' || djlx == '430'){
					window.open("${ctx}/reg/bus/regBusDyaq/deletedyq?ywh="+ywh+"&bdcdyh="+bdcdyh+"&wo=1&bj=bg","newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		       	}else{
					window.open("${ctx}/reg/bus/regBusDyaq/deletexfdy?ywh="+ywh+"&bdcdyh="+bdcdyh+"&wo=1&zx=zx","newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		       	}
			 }
		}
	</script>
</head>
<body>
	<form:form id="searchForm" modelAttribute="regBusDyaq" action="${ctx}/reg/bus/regBusDyaq/nextxfdyList?ywh=${regBusDyaq.ywh}&djlx=${djlx}&YSDM=2002030100&isLogout=${isLogout}&LISTVIEWS=${LISTVIEWS}" method="post" class="">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
	</form:form>
	<ul class="nav nav-tabs">
		<li class="active"><a href="javascript:void(0);">抵押权信息列表</a></li>
	</ul>
	<c:if test="${not empty WO}">
		<br>
			<input id="reLoadDyaq" class="btn btn-primary" type="button" onclick="reloadDyaq();" value="退出列表" />
		<br>
	<legend></legend>
	</c:if>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>业务号</th>
				<th>不动产单元号</th>
				<c:if test="${djlx eq 431 or djlx eq 606 or djlx eq 509 or djlx eq 605 or djlx eq 430}">
					<th>抵押不动产类型</th>
					<th>抵押方式</th>
				</c:if>
				<th>抵押人</th>
				<th>抵押权人</th>
				<th>担保债权总数额</th>
				<c:if test="${djlx ne 431 and djlx ne 606 and djlx ne 509}">
					<c:if test="${djlx ne 430 and djlx ne 605}">
						<th>单套担保债权数额</th>
					</c:if>
					<th>最高债权数额</th>
				</c:if>
				<th>债务人</th>
				<c:if test="${empty LISTVIEWS}">
					<shiro:hasPermission name="reg:bus:regBusDyaq:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}"  var="regBusDyaq">
			<tr>
				<td>
					${regBusDyaq.ywh}
				</td>
				<td>
					<shiro:hasPermission name="reg:bus:regBusDyaq:view">
						<a href="javascript:void(0);" onclick="winOpenDyaq('${regBusDyaq.id}');">
							${regBusDyaq.bdcdyh}
						</a>
					</shiro:hasPermission>
				</td>
				<c:if test="${djlx eq 431 or djlx eq 606 or djlx eq 509 or djlx eq 605 or djlx eq 430}">
					<td>
						${fns:getDictLabel(regBusDyaq.dybdclx, 'reg_bus_dybdclx', '')}
					</td>
					<td>
						${fns:getDictLabel(regBusDyaq.dyfs, 'reg_bus_dyfs', '')}
					</td>
				</c:if>
				<td>
					${regBusDyaq.dyr}
				</td>
				<td>
					${regBusDyaq.dyqr}
				</td>
				<td>
					${regBusDyaq.dbze}
				</td>
				<c:if test="${djlx ne 431 and djlx ne 606 and djlx ne 509}">
					<c:if test="${djlx ne 430 and djlx ne 605}">
						<td>
							${regBusDyaq.bdbzzqse}
						</td>
					</c:if>
					<td>
						${regBusDyaq.zgzqse}
					</td>
				</c:if>
				<td>
					${regBusDyaq.zwr}
				</td>
				<c:if test="${empty LISTVIEWS}">
					<shiro:hasPermission name="reg:bus:regBusDyaq:edit">
						<td>
							<a href="javascript:void(0);" onclick="winOpenUpdateDyaq('${regBusDyaq.id}','${regBusDyaq.ywh}');">修改</a>
							<a href="javascript:void(0);" onclick="deletexfdy('${regBusDyaq.bdbzzqse}','${regBusDyaq.dbze}','${regBusDyaq.ywh}','${regBusDyaq.bdcdyh}');">删除</a>
						</td>
					</shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>