6cd7692e03d1c8126d0c45225ff5722016b0d85a.svn-base 3.77 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 tclb(){
			window.opener.location.reload();
			window.close();
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/bus/regBusSz/list?ywh=${ywh}&szlx=${szlx}&dbbj=${dbbj}">缮证信息列表</a></li>
		<c:if test="${empty LISTVIEWS}">
		<c:if test="${ised ne '1'}">
			<shiro:hasPermission name="reg:bus:regBusSz:edit">
			<li><a href="${ctx}/reg/bus/regBusSz/form?ywh=${ywh}&YSDM=2002040100&szlx=${szlx}&dbbj=${dbbj}">缮证信息${not empty szid?'修改':'添加'}</a></li>
			</shiro:hasPermission>
		</c:if>
		</c:if>
	</ul>
	<form:form id="searchForm" modelAttribute="regBusSz" action="${ctx}/reg/bus/regBusSz/list?LISTVIEWS=1&ywh=${ywh}&szlx=${szlx}" 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="ywh" htmlEscape="false" maxlength="20" class="input-medium"/>
			</li>
			<li><label>缮证名称:</label>
				<form:input path="szmc" htmlEscape="false" maxlength="50" class="input-medium"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="btns"><input id="btnSubmit1" class="btn btn-primary" type="button" onclick="tclb()" value="退出列表"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<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:regBusSz:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusSz">
			<tr>
				<td><a href="${ctx}/reg/bus/regBusSz/form?id=${regBusSz.id}&VIEWS=1&ywh=${ywh}">
					${regBusSz.ywh}
				</a></td>
				<td>
					${fns:getDictLabel(regBusSz.szmc, 'reg_bus_szmc', '')}
				</td>
				<td>
					${fns:getDictLabel(regBusSz.isdz, 'yes_no', '')}
				</td>
				<td>
					${regBusSz.szzh}
				</td>
				<td>
					${regBusSz.szsl}
				</td>
				<td>
					${regBusSz.szry}
				</td>
				<td>
					${regBusSz.currmaxszbh}
				</td>
				<td>
					${regBusSz.ysxlh}
				</td>
				<td>
					<fmt:formatDate value="${regBusSz.szsj}" pattern="yyyy-MM-dd"/>
				</td>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusSz:edit"><td>
				<c:if test="${dbbj eq '1'}">
    				<a href="${ctx}/reg/bus/regBusSz/form?id=${regBusSz.id}&ywh=${ywh}&szlx=${szlx}&dbbj=${dbbj}">修改</a>
    			</c:if>
    			<c:if test="${dbbj ne '1'}">
    				<a href="${ctx}/reg/bus/regBusSz/form?id=${regBusSz.id}&ywh=${ywh}&szlx=${szlx}&dbbj=${dbbj}">添加</a>
    			</c:if>
				<c:if test="${not empty dbbj}">
				<a href="${ctx}/reg/bus/regBusSz/dbdelete?id=${regBusSz.id}&ywh=${ywh}&szlx=${szlx}" onclick="return confirmx('确认要删除该缮证信息吗?', this.href)">删除</a>
				</c:if>
				</td></shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>