c9cbcce7d9a43b5d14383355f504dc0a2e066e1a.svn-base 4.91 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 reloadLq(){
			var optype = "${optype}";
			var djlx = "${djlx}";
			var ywh = "${YWH}";
		    if(window.opener) {
	    		if(optype == undefined || optype == null || optype ==""){
	    			window.opener.sllmzyygdjframe.location.reload();
			    	window.opener.forenoticeframe.location.reload();
			    	window.opener.bgqforenoticeframe.location.reload();
			    	window.opener.qlrframe.location="${ctx}/reg/bus/regBusQlr/list?ywh="+ywh+"&DJLX="+djlx;
	    		}else{
	    			window.opener.parent.document.sllmzyygdjframe.location.reload();
		    		window.opener.parent.document.forenoticeframe.location.reload();
		     		window.opener.parent.document.bgqforenoticeframe.location.reload();
		    		window.opener.parent.document.qlrframe.location="${ctx}/reg/bus/regBusQlr/list?ywh="+ywh+"&DJLX="+djlx;
	    		}
		    	window.close();
		    }
		}
		
		//删除
		function deletelink(id){
			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/regBusLq/bgdjdelete?ids="+id,"deletewindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
			}
		}
		
		//权属连接
		function winOpenLq(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/regBusLq/sllmbgdjForm?ids="+ id +"&YWH=${YWH}&optype=1&djlx=${djlx}","3333",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		//修改
		function winOpenUpdateLq(id,ywh){
			//弹出窗口的宽度;
			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/regBaseSllm/sllmForm?ids="+ id +"&YWH="+ywh+"&optype=1&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/regBusLq/sllmbgdjForm?ids="+ id +"&YWH=${YWH}&optype=1&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="#">林权登记信息列表</a></li>
	</ul>
	
	<c:if test="${not empty WO}">
		<br>
		<input id="reLoadLq" class="btn btn-primary" type="button" onclick="reloadLq();" 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>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusLq:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusLq">
			<tr>
				<td>
					${regBusLq.ywh}
				</td>
				<td>
					<a href="javascript:void(0);" onclick="winOpenLq('${regBusLq.id}');">
						${regBusLq.bdcdyh}
					</a> 
				</td>
				<td>
					${fns:getDictLabel(regBusLq.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${regBusLq.syqmj}亩
				</td>
				<td>
					<fmt:formatDate value="${regBusLq.ldsyqssj}" pattern="yyyy-MM-dd"/>
				</td>
				<td>
					<fmt:formatDate value="${regBusLq.ldsyjssj}" pattern="yyyy-MM-dd"/>
				</td>
				<td>
					${regBusLq.xdm}
				</td>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusLq:edit">
				<td>
					<a href="javascript:void(0);" onclick="winOpenUpdateLq('${regBusLq.id}','${regBusLq.ywh}');">修改</a>
					<a href="javascript:void(0);" onclick="deletelink('${regBusLq.id}');">删除</a>
				</td></shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
<%-- 	<div class="pagination">${page}</div> --%>
</body>
</html>