1376ed0720e463c5718ff7a4b7801e3d79e01630.svn-base 6.43 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;
        }
		window.onload = function() { 
			var cw = "${cw}";
			if(cw != null && cw != ""){
				alert(cw);
			}
		};
		function winOpenCfdj(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/regBusCfdj/Lpycfform?ids="+ id +"&YWH=${YWH}&djlx=${DJLX}&xg=1&VIEWS=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpendeleteYgdj(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/bus/regBusCfdj/fwcfdelete?id="+ id,"newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
			 }
		}
		
		function winOpenUpdateCfdj(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/regBusCfdj/Lpycfform?ids="+ id +"&YWH=${YWH}&djlx=${DJLX}&xg=1&WO=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function reloadCfdj(){
			var optype = "${optype}";
		    if(window.opener) {
		    	//新增 
		    	window.close();
		    	if(optype == undefined || optype == null || optype ==""){
		    		window.opener.cfdjframe.location.reload();
		    		window.opener.firstframe.location.reload();
		    		window.opener.qlrframe.location.reload();
		    	}else{ //更新 
		    		window.opener.parent.document.cfdjframe.location.reload();
		    		window.opener.parent.document.firstframe.location.reload();
		    		window.opener.parent.document.qlrframe.location.reload();
		    	}
		    }
		}
		
		function reloadfwCfdj(){
			window.close();
	    	window.opener.parent.document.cfdjframe.location.reload();
    		window.opener.parent.document.firstframe.location.reload();
    		window.opener.parent.document.qlrframe.location.reload();
		}
		
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/bus/regBusCfdj/">预查封登记信息列表</a></li>
		<!--<shiro:hasPermission name="reg:bus:regBusCfdj:edit"><li><a href="${ctx}/reg/bus/regBusCfdj/form">查封登记信息添加</a></li></shiro:hasPermission>-->
	</ul>
	<!-- <form:form id="searchForm" modelAttribute="regBusCfdj" action="${ctx}/reg/bus/regBusCfdj/" 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="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
			</li>
			<li><label>业务号:</label>
				<form:input path="ywh" htmlEscape="false" maxlength="20" class="input-medium"/>
			</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="reLoadCfdj" class="btn btn-primary" type="button" onclick="reloadCfdj();" value="退出列表" />
		<br>
	</c:if>
	
	<c:if test="${not empty WWO}">
		<br>
			<input id="reLoadCfdj" class="btn btn-primary" type="button" onclick="reloadfwCfdj();" 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>查封文号</th>
				<th>查封起始时间</th>
				<th>查封结束时间</th>
				<th>查封范围</th>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusCfdj:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusCfdj" >
			<tr>
				<td>
					${regBusCfdj.ywh}
				</td>
				<td>
					<shiro:hasPermission name="reg:bus:regBusCfdj:view">
						<a href="javascript:void(0);" onclick="winOpenCfdj('${regBusCfdj.id}');">
							${regBusCfdj.bdcdyh}
						</a>
					</shiro:hasPermission>
				</td>
				<td>
					${regBusCfdj.cfjg}
				</td>
				<td>
					${fns:getDictLabel(regBusCfdj.cflx,'reg_bus_cflx', '')}
				</td>
				<td>
					${regBusCfdj.cfwj}
				</td>
				<td>
					${regBusCfdj.cfwh}
				</td>
				<td>
					<fmt:formatDate value="${regBusCfdj.cfqssj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					<fmt:formatDate value="${regBusCfdj.cfjssj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${regBusCfdj.cffw}
				</td>
				<c:if test="${empty LISTVIEWS}">
					<shiro:hasPermission name="reg:bus:regBusCfdj:edit">
						<td>
							<a href="javascript:void(0);" onclick="winOpenUpdateCfdj('${regBusCfdj.id}');">修改</a>
							<a href="#" onclick="winOpendeleteYgdj('${regBusCfdj.id}')">删除</a>
<%-- 							<a href="${ctx}/reg/bus/regBusCfdj/delete?id=${regBusCfdj.id}" onclick="return confirmx('确认要删除该查封登记信息吗?', this.href)">删除</a> --%>
						</td>
					</shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>