b1b22a02bd86a048b4dc11f642870a6075c85cc9.svn-base 2.72 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 reloadSj(){
			var optype = "${optype}";
		    if(window.opener) {
		    	//新增 
		    	if(window.opener.document.getElementById("sjframe")){
                     
	    			window.opener.document.getElementById("sjframe").src="${ctx}/ycsl/ycslSj/list?proid=${proid}";
		    	}else{ //更新 
 		    		window.opener.parent.document.getElementById("sjframe").src="${ctx}/ycsl/ycslSj/list?proid=${proid}";
		    	}
		    	window.close();
		    }
		}

function winOpenUpdateSj(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}/ycsl/ycslSj/form?id="+ id+"&proid=${proid}&view=${view}","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}/ycsl/ycslSj/">一窗受理-收件材料列表</a></li>
		
	</ul>
	<c:if test="${not empty WO}">
		<br>
		<input id="reLoadSj" class="btn btn-primary" type="button" onclick="reloadSj();" value="退出列表"/>
		<br><br>
	</c:if>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>收件时间</th>
				<shiro:hasPermission name="ycsl:ycslSj:edit"><th>操作</th></shiro:hasPermission>
				
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="ycslSj">
			<tr>
				<td>
					<fmt:formatDate value="${ycslSj.sjsj}" pattern="yyyy-MM-dd"/>
				</td>
				<td>
				    <c:if test="${empty view}">
    				<a href="javascript:void(0);" onclick="winOpenUpdateSj('${ycslSj.id}');">修改</a>
					<a href="${ctx}/ycsl/ycslSj/delete?id=${ycslSj.id}" onclick="return confirmx('确认要删除该一窗受理-收件材料吗?', this.href)">删除</a>
					</c:if>
					 <c:if test="${not empty view}">
    				<a href="javascript:void(0);" onclick="winOpenUpdateSj('${ycslSj.id}');">查看</a>
					
					</c:if>
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>