66ee735798bb018c48fed3051cd00db7c07748e6.svn-base 7.29 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 winOpenYgdj(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/regBusYgdj/ygbgeditPropertyForm?id="+id+"&LISTVIEWS=1&djlx=${djlx}","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpenUpdateYgdj(id,dyh){
			//弹出窗口的宽度; 
			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/base/regBaseH/ygbgpropertyform?ids="+id+"&YWH=${YWH}&WO=${WO}&djlx=${djlx}&xg=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
// 			window.open("${ctx}/reg/bus/regBusYgdj/ygbgeditPropertyForm?id="+ id +"&YWH=${YWH}&xg=1&djlx=${djlx}","newwindow",
// 					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpendeleteYgdj(id,dyh){
			 if(confirm('是否删除?')){
				//弹出窗口的宽度; 
				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/regBusYgdj/ygbgdelete?id="+ id+"&djlx=${djlx}","newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
			 }
		}
		function reloadYgdj(){
			var djlx = "${djlx}";
	    	window.close();
	    	if(djlx == "810"){
	    		window.opener.parent.document.gjzwframe.location.reload();
		    	window.opener.parent.document.fgmergerbeforeframe.location.reload();
		    	window.opener.parent.document.fgforenoticeframe.location.reload();
		    	window.opener.parent.document.qlrframe.location.reload();
	    	}
	    	if(djlx == "811"){
	    		window.opener.parent.document.qlrframe.location.reload();
	    		window.opener.parent.document.gjzwframe.location.reload();
		    	window.opener.parent.document.hbmergerbeforeframe.location.reload();
		    	window.opener.parent.document.hbforenoticeframe.location.reload();
	    	}
	    	if(djlx == "812" || djlx == "609"){
	    		window.opener.parent.document.qlrframe.location.reload();
	    		window.opener.parent.document.gjzwframe.location.reload();
		    	window.opener.parent.document.bgforenoticeframe.location.reload();
	    		window.opener.parent.document.bgqforenoticeframe.location.reload();
	    	}else{
	    		window.opener.parent.document.gjzwframe.location.reload();
		    	window.opener.parent.document.bgforenoticeframe.location.reload();
	    	}
	    	
		}
		function reloadFdcq3(){
			window.close();
			window.opener.document.gjzwframe.location.reload();
		}
		function reloadFdcq4(){
			window.close();
			var djlx = "${djlx}";
			if(djlx == "810"){
				window.opener.document.divisionframe.location.reload();
			}
			if(djlx == "812" || djlx == "609"){
	    		window.opener.document.qlrframe.location.reload();
	    		window.opener.document.gjzwframe.location.reload();
		    	window.opener.document.bgforenoticeframe.location.reload();
		    	window.opener.document.bgqforenoticeframe.location.reload();
	    	}
		}
		function reloadFdcq5(){
			var djlx = "${djlx}";
			window.close();
			if(djlx == "812" || djlx == "609"){
	    		window.opener.parent.document.qlrframe.location.reload();
	    		window.opener.parent.document.gjzwframe.location.reload();
		    	window.opener.parent.document.bgforenoticeframe.location.reload();
		    	window.opener.parent.document.bgqforenoticeframe.location.reload();
	    	}else{
				window.opener.document.qlrframe.location.reload();
				window.opener.document.gjzwframe.location.reload();
				window.opener.document.hbmergerbeforeframe.location.reload();
				window.opener.document.hbforenoticeframe.location.reload();
	    	}
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">
		预告登记信息
		</a></li>
	</ul>
	<c:if test="${not empty WO}">
		<br>
			<input id="reLoadYgdj" class="btn btn-primary" type="button" onclick="reloadYgdj();" value="退出列表" />
		<br>
	</c:if>
	<c:if test="${not empty WWO}">
		<br>
		<input id="reLoadFdcq2" class="btn btn-primary" type="button" onclick="reloadFdcq3();" value="退出列表"/>
		<br><br>
	</c:if>
	<c:if test="${not empty WWWO}">
		<br>
		<input id="reLoadFdcq2" class="btn btn-primary" type="button" onclick="reloadFdcq4();" value="退出列表"/>
		<br><br>
	</c:if>
	<c:if test="${not empty WWWWO}">
		<br>
		<input id="reLoadFdcq2" class="btn btn-primary" type="button" onclick="reloadFdcq5();" 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}">
				<shiro:hasPermission name="reg:bus:regBusYgdj:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusYgdj">
			<tr>
				<td>
					${regBusYgdj.ywh}
				</td>
				<td>
					<a href="javascript:void(0);"  onclick="winOpenYgdj('${regBusYgdj.id}');">
						${regBusYgdj.bdcdyh}
					</a>
				</td>
				<td>
					${regBusYgdj.htbh}
				</td>
				<td>
					${regBusYgdj.ywr}
				</td>
				<td>
					${fns:getDictLabel(regBusYgdj.djlx, 'reg_bus_djlx', '')}
				</td>
<!-- 				<td> -->
<%-- 					${regBusYgdj.tdsyqr} --%>
<!-- 				</td> -->
				<td>
					${regBusYgdj.qdjg}
				</td>
				<td>
					${fns:getDictLabel(regBusYgdj.ghyt, 'reg_bus_fwyt', '')}
				</td>
				<c:if test="${empty LISTVIEWS}">
					<shiro:hasPermission name="reg:bus:regBusYgdj:edit">
						<td>
		    				<a href="#" onclick="winOpenUpdateYgdj('${regBusYgdj.id}','${regBusYgdj.bdcdyh}','${regBusYgdj.djlx}');">修改</a>
		    				<a href="#" onclick="winOpendeleteYgdj('${regBusYgdj.id}','${regBusYgdj.bdcdyh}')">删除</a>
						</td>
					</shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<!-- 
	<div class="pagination">${page}</div>
	 -->
</body>
</html>