27c9ad6e3b8f35f002f501bfa0f44b0004dcb270.svn-base 5.68 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 winOpenJsydsyq(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/regBusJsydsyq/form?id="+ id +"&VIEWS=1&ywh=${YWH}&flagym=${flagym}","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpenUpdateJsydsyq(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/bus/regBusJsydsyq/form?id="+ id+"&optype=update&djlx=${djlx}&ywh="+ywh,"newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function reloadJsydsyq(){
			var optype = "${optype}";
		    if(window.opener) {
		    	//新增 
		    	if(optype == undefined || optype == null || optype ==""){
	    			window.opener.document.jsydsyqframe.location.reload();
	    			window.opener.firstframe.location.reload();
	    			//加一个从宗地信息取坐落然后赋值给受理通知单信息中 
	    			//window.opener.ajaxLoadData();
		    	}else{ //更新 
 		    		window.opener.parent.document.jsydsyqframe.location.reload();
 		    		window.opener.parent.document.firstframe.location.reload();
		    	}
		    	window.close();
		    }
		}

		function deletelink(ywh,zddm){
			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/regBusJsydsyq/deleteTdsc?ywh="+ywh+"&zddm="+zddm,"deletewindow",
						"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="reLoadJsydsyq" class="btn btn-primary" type="button" onclick="reloadJsydsyq();" 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>
				<th>使用权结束时间</th>
				<th>取得价格</th>
				<th>不动产权证号</th>
				 
				<th>区县代码</th>
				<th>登记机构</th>
				<th>登簿人</th>
				<th>登记时间</th>
				<th>附记</th>
				 -->
				<c:if test="${not empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusJsydsyq:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusJsydsyq">
			<tr>
				<td>
					${regBusJsydsyq.ywh}
				</td>
				<td>
					<c:if test="${not empty LISTVIEW}">
						<a href="javascript:void(0);" onclick="winOpenJsydsyq('${regBusJsydsyq.id}');">
						${regBusJsydsyq.bdcdyh}
						</a>
					</c:if>
					<c:if test="${empty LISTVIEW}">
						<a href="#">
						${regBusJsydsyq.bdcdyh}
						</a>
					</c:if>
				</td>
				<td>
					${regBusJsydsyq.zddm}
				</td>
				<td>
					${fns:getDictLabel(regBusJsydsyq.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${fns:getDictLabel(regBusJsydsyq.djlx, 'reg_bus_djlx', '')}
				</td>
				<td>
					${regBusJsydsyq.djyy}
				</td>
				<td>
					${regBusJsydsyq.syqmj}
				</td>
				<!-- 
				<td>
					<fmt:formatDate value="${regBusJsydsyq.syqqssj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					<fmt:formatDate value="${regBusJsydsyq.syqjssj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${regBusJsydsyq.qdjg}
				</td>
				<td>
					${regBusJsydsyq.bdcqzh}
				</td>
				
				<td>
					${fns:getDictLabel(regBusJsydsyq.qxdm, 'reg_bus_xq', '')}
				</td>
				<td>
					${regBusJsydsyq.djjg}
				</td>
				<td>
					${regBusJsydsyq.dbr}
				</td>
				<td>
					<fmt:formatDate value="${regBusJsydsyq.djsj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${regBusJsydsyq.fj}
				</td>
				-->
				<c:if test="${not empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusJsydsyq:edit"><td>
					<a href="javascript:void(0);" onclick="winOpenUpdateJsydsyq('${regBusJsydsyq.id}','${regBusJsydsyq.ywh}');">修改</a>
					<a href="javascript:void(0);" onclick="deletelink('${regBusJsydsyq.ywh}','${regBusJsydsyq.zddm}');">删除</a>
				</td></shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<!-- 
	<div class="pagination">${page}</div>
	 -->
</body>
</html>