4ec86b17efd9a6a453911f5b718d257dfffe764e.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 winOpennydzy(id){
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
	       	var djxl = "${DJLX}";
       		window.open("${ctx}/reg/bus/regBusNydsyq/nydzydjForm?YWH=${YWH}&jid="+ id +"&VIEWS=1&ywh=${YWH}&optype=1","newwindow",
    				"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpenUpdatenydzy(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/regBusNydsyq/nydzydjForm?YWH=${YWH}&jid="+id+"&djlx=${DJLX}&optye=update","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function reloadnydzy(){
			var optye = "${optye}";
			var djxl = "${DJLX}";
		    if(window.opener) {
		    	//新增 
		    	if(optye == undefined || optye == null || optye ==""){
	    			window.opener.document.nydsyqframe.location.reload();
	    			window.opener.document.qlrframe.location.reload();
	    			window.opener.document.forenoticeframe.location.reload();
		    	}else{ //更新 
 		    		window.opener.parent.document.nydsyqframe.location.reload();
 		    		window.opener.parent.document.qlrframe.location.reload();
 		    		window.opener.parent.document.forenoticeframe.location.reload();
		    	}
		    	window.close();
		    }
		}
		
		function winOpendelete(id){
			 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 url = "";
		       	url = "${ctx}/reg/bus/regBusNydsyq/nyddelete?id="+ id +"&YWH=${YWH}";
				window.open(url ,"删除",
						"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>
 	<c:if test="${not empty WO}">
		<br>
		<input id="regBusNydsyq" class="btn btn-primary" type="button" onclick="reloadnydzy();" value="退出列表"/>
		<br><br>
	</c:if>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<c:if test="${not empty WO}">
					<th>选择</th>
				</c:if>
				<th>业务编号</th>
				<th>不动产单元号</th>
				<th>权利类型</th>
				<th>土地所有权性质</th>
				<th>发包方</th>
				<th>承包面积</th>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusNydsyq:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusNydsyq">
			<tr> 
				<c:if test="${not empty WO}">
						<td><input type="radio" name="radio_Bdcqzsdjxx"  id="${regBusBdcqzsdjxx.id}" value=""/></td>
					</c:if>
				<td>
					${regBusNydsyq.ywh}
				</td>
				<td>
					<a href="javascript:void(0);" onclick="winOpennydzy('${regBusNydsyq.id}');">
						${regBusNydsyq.bdcdyh}
					</a>
				<td>
					${fns:getDictLabel(regBusNydsyq.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${fns:getDictLabel(regBusNydsyq.tdsyqxz, 'reg_bus_tdsyqxz', '')}
				</td>
				<td>
					${regBusNydsyq.fbf}
				</td>
				<td>
					${regBusNydsyq.cbsyqmj}
				</td>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusNydsyq:edit"><td>
					<a href="javascript:void(0);" onclick="winOpenUpdatenydzy('${regBusNydsyq.id}');">修改</a>
					<a href="javascript:void(0);" onclick="winOpendelete('${regBusNydsyq.id}')">删除</a>
				</td></shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<!-- 
	<div class="pagination">${page}</div>
	 -->
</body>
</html>