cd5c570c6738ee69a86c31eee269eb492382f9d1.svn-base 5.14 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 reloadZdbhqk(){
			var optype = "${optype}";
		    if(window.opener) {
		    	//新增 
		    	if(optype == undefined || optype == null || optype ==""){
	    			window.opener.document.zdbhqkframe.location.reload();
		    	}else{ //更新 
 		    		window.opener.parent.document.zdbhqkframe.location.reload();
		    	}
		    	window.close();
		    }
		}
		
		function winOpenZdbhqk(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/base/regBaseZdbhqk/form?id="+ id +"&VIEWS=1&YWH=${YWH}","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpenUpdateZdbhqk(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/base/regBaseZdbhqk/form?id="+ id +"&ywh=${YWH}","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="${ctx}/reg/base/regBaseZdbhqk/">宗地基本信息变化列表</a></li>
		<!-- 
		<shiro:hasPermission name="reg:base:regBaseZdbhqk:edit"><li><a href="${ctx}/reg/base/regBaseZdbhqk/form?zddm=${ZDDM}">宗地基本信息变化添加</a></li></shiro:hasPermission>
		 -->
	</ul>
	<!-- 
	<form:form id="searchForm" modelAttribute="regBaseZdbhqk" action="${ctx}/reg/base/regBaseZdbhqk/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<ul class="ul-form">
			<li><label>宗地代码:</label>
				<form:input path="zddm" htmlEscape="false" maxlength="19" class="input-medium"/>
			</li>
			<li><label>登记时间:</label>
				<input name="beginDjsj" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
					value="<fmt:formatDate value="${regBaseZdbhqk.beginDjsj}" pattern="yyyy-MM-dd HH:mm:ss"/>"
					onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss' });"/> - 
				<input name="endDjsj" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
					value="<fmt:formatDate value="${regBaseZdbhqk.endDjsj}" pattern="yyyy-MM-dd HH:mm:ss"/>"
					onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss' });"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	 -->
	<c:if test="${not empty WO}">
		<br>
		<input id="reLoadZdbhqk" class="btn btn-primary" type="button" onclick="reloadZdbhqk();" 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>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:base:regBaseZdbhqk:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseZdbhqk">
			<tr>
				<td>
					<a href="" onclick="winOpenZdbhqk('${regBaseZdbhqk.id}');">
						${regBaseZdbhqk.zddm}
					</a>
				<a href="">
					
				</a>
				</td>
				<td>
					${regBaseZdbhqk.bhyy}
				</td>
				<td>
					${regBaseZdbhqk.bhnr}
				</td>
				<td>
					<fmt:formatDate value="${regBaseZdbhqk.djsj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${regBaseZdbhqk.dbr}
				</td>
				<td>
					<fmt:formatDate value="${regBaseZdbhqk.updateDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:base:regBaseZdbhqk:edit"><td>
					<a href="" onclick="winOpenUpdateZdbhqk('${regBaseZdbhqk.id}');">修改</a>
					<a href="${ctx}/reg/base/regBaseZdbhqk/delete?id=${regBaseZdbhqk.id}&YWH=${YWH}" onclick="return confirmx('确认要删除该宗地基本信息变化吗?', this.href)">删除</a>
				</td></shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<%--
	<div class="pagination">${page}</div>
	 --%>
</body>
</html>