7f5682dbc1a5aa71904ce6863815661599e7183e.svn-base 4.45 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 reloadDyaq(){
			var optype = "${optype}";
			var djlx = "${djlx}";
		    if(window.opener) {
		    	//新增 
		    	if(optype == undefined || optype == null || optype ==""){
		    		window.opener.Beforepropertyframe.location.reload();
		    		window.opener.Afterpropertyframe.location.reload();
		    	}else{ //更新 
		    		window.opener.parent.document.Beforepropertyframe.location.reload();
		    		window.opener.parent.document.Afterpropertyframe.location.reload();
		    	}
		    	window.close();
		    }
		} 
		function winOpenZrzbg(id){
        	var iWidth=1100; 
	       	var iHeight=500;
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/reg/base/regBaseZrz/Zrzbgform?id="+id+"&VIEWS=1&zced=1&oldlist=${oldlist}","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
        }
		function winOpenUpdateZrzbg(id){
        	var iWidth=1100; 
	       	var iHeight=500;
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/reg/base/regBaseZrz/Zrzbgform?id="+id+"&ywh=${ywh}&djlx=440&zced=1&optype=update","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
        }
		function deleteZrzbg(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;
				window.open("${ctx}/reg/base/regBaseZrz/deleteZrzbg?WO=1&optype=update&id="+id,"newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
			 }
		}
	</script>
</head>
<body>
	<c:if test="${not empty WO}">
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/base/regBaseZrzbg/bglist?optype=${optype}&ywh=${ywh}">自然幢变更临时信息列表</a></li>
	</ul>
		<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 hidden="hidden">自然幢号</th>
				<th>建筑面积</th>
				<th>占地面积</th>
				<th>总层数</th>
				<c:if test="${empty LISTVIEWS}">
					<shiro:hasPermission name="reg:base:regBaseZrz:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseZrzbg">
			<tr>
				<td id="${regBaseZrzbg.bsm}" >
					${regBaseZrzbg.bsm}
				</td>
				<c:if test="${not empty WO}">
					<td>
						${regBaseZrzbg.bdcdyh}
					</td>
				</c:if>
				<c:if test="${empty WO}">
					<td><a href="javascript:void(0);" onclick="winOpenZrzbg('${regBaseZrzbg.id}');">
						${regBaseZrzbg.bdcdyh}
					</a></td>
				</c:if>
				<td>
					${regBaseZrzbg.xmmc}
				</td> 
				<td>
					${regBaseZrzbg.gzwmc}
				</td>
				<td>
					${regBaseZrzbg.zddm}
				</td>
				<td hidden="hidden">
					${regBaseZrzbg.zrzh}#
				</td>
				<td>
					${regBaseZrzbg.scjzmj}
				</td>
				<td>
					${regBaseZrzbg.zzdmj}
				</td>
				<td>
					${regBaseZrzbg.zcs}
				</td>
				<c:if test="${empty LISTVIEWS}">
					<shiro:hasPermission name="reg:base:regBaseZrz:edit">
						<td>
							<a href="javascript:void(0);" onclick="winOpenUpdateZrzbg('${regBaseZrzbg.id}');">修改</a>
							<a href="javascript:void(0);" onclick="deleteZrzbg('${regBaseZrzbg.id}');">删除</a>
						</td>
					</shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>