c24a193e073635990a679ac8fcde116480567e85.svn-base 6.79 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 winOpenDyaq(id){
			var djlx = '${djlx}';
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
	       	if(djlx == '209'){
	       		window.open("${ctx}/reg/bus/regBusDyaq/form?id="+ id +"&optype=update&VIEWS=1&djlx="+djlx,"newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	       	}else if(djlx == '217'){
	       		window.open("${ctx}/reg/bus/regBusDyaq/tdcgjyqDyform?id="+ id +"&optype=update&VIEWS=1&djlx="+djlx,"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/zxform?id="+ id +"&optype=update&VIEWS=1&djlx="+djlx+"&ybbj=${ybbj}","newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	       	}
		}
		
		function winOpenUpdateDyaq(id){
			var djlx = '${djlx}';
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
	       	if(djlx == '209'){
				window.open("${ctx}/reg/bus/regBusDyaq/form?id="+ id +"&YWH=${YWH}&optype=update&djlx="+djlx,"newudpatewindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	       	}else if(djlx == '217'){
				window.open("${ctx}/reg/bus/regBusDyaq/tdcgjyqDyform?id="+ id +"&YWH=${YWH}&optype=update&djlx="+djlx,"newudpatewindow",
						"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/zxform?id="+ id +"&YWH=${YWH}&optype=update&djlx="+djlx,"newudpatewindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	       	}
		}
		
		function reloadDyaq(){
			var optype = "${optype}";
			var djlx = "${djlx}";
		    if(window.opener) {
		    	//新增 
		    	if(optype == undefined || optype == null || optype ==""){
		    		window.opener.dyaqframe.location.reload();
		    		window.opener.mortgageframe.location.reload();
		    		if(djlx == 500){
		    			window.opener.qlrframe.location.reload();
		    		}
		    	}else{ //更新 
		    		window.opener.parent.document.dyaqframe.location.reload();
		    		window.opener.parent.document.mortgageframe.location.reload();
					if(djlx == 500){
						window.opener.parent.document.qlrframe.location.reload();
		    		}
		    	}
		    	window.close();
		    }
		} 
		
		function deleteygdy(ywh,bdcdyh){
			 var djlx = "${djlx}";
			 if(confirm('确认要删除该业务信息吗?')){
				//弹出窗口的宽度; 
				var iWidth=1100; 
				//弹出窗口的高度;
		       	var iHeight=400;
		       	//获得窗口的垂直位置 
		       	var iTop = (window.screen.height - 30 - iHeight) / 2;
		       	//获得窗口的水平位置 
		       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
				window.open("${ctx}/reg/bus/regBusDyaq/deleteygdy?ywh="+ywh+"&bdcdyh="+bdcdyh+"&DJLX="+djlx,"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="${ctx}/reg/bus/regBusDyaq/list?ywh=${YWH}&YSDM=2002030100">抵押权信息列表</a></li>
		<!-- 
		<shiro:hasPermission name="reg:bus:regBusDyaq:edit"><li><a href="${ctx}/reg/bus/regBusDyaq/form?ywh=${YWH}&YSDM=2002030100">抵押权信息添加</a></li></shiro:hasPermission>
		 -->
	</ul>
	<c:if test="${not empty WO}">
		<br>
			<input id="reLoadDyaq" class="btn btn-primary" type="button" onclick="reloadDyaq();" value="退出列表" />
		<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> 
				<th>最高债权数额</th>
				<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>
				<td>
					${fns:getDictLabel(regBusDyaq.dybdclx, 'reg_bus_dybdclx', '')}
				</td>
				<td>
					${regBusDyaq.tdzh}
				</td>
				<td>
					${regBusDyaq.dyr}
				</td>
				<td>
					${regBusDyaq.dyqr}
				</td>
				<td>
					${fns:getDictLabel(regBusDyaq.dyfs, 'reg_bus_dyfs', '')}
				</td>
				<td>
					${regBusDyaq.dbze}
				</td>
				<td>
					${regBusDyaq.zgzqse}
				</td>
				<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}');">修改</a>
							<a href="javascript:void(0);" onclick="deleteygdy('${regBusDyaq.ywh}','${regBusDyaq.bdcdyh}');">删除</a>
							<!-- 
							<a href="${ctx}/reg/bus/regBusDyaq/deleteygdy?id=${regBusDyaq.id}" onclick="return confirmx('确认要删除该抵押权信息吗?', this.href)">删除</a>
							 -->
						</td>
					</shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<!-- 
	<div class="pagination">${page}</div>
	 -->
</body>
</html>