4fff5edc5d9d31b9fa1962a7945fb928a43968c3.svn-base 2.79 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() {
			$("tbody > tr").bind("click",function(){
				$("tbody > tr").each(function(i){    
		             $(this).removeClass("trBgcolor");
		        });
				$(this).find('input:radio').prop('checked', true);
				$(this).addClass("trBgcolor");
			});
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
		 
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">人员信息列表</a></li> 
	</ul>
	<form:form id="searchForm" modelAttribute="regBasePerson" action="${ctx}/reg/base/regBasePerson/alllist" 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="rymc" htmlEscape="false" maxlength="100" class="input-medium"/>
			</li>
			<li><label>证件号:</label>
				<form:input path="zjh" htmlEscape="false" maxlength="50" class="input-medium"/>
			</li>
			<li><label>人员编码:</label>
				<form:input path="pcode" htmlEscape="false" maxlength="10" 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>
	
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-bordered table-condensed">
		<thead>
			<tr> 
				<th>人员编码</th>
				<th>人员名称</th>
				<th>证件种类</th>
				<th>证件号</th>
				<th>所属行业</th>
				<th>户籍所在省市</th>
				<th>电话</th>
				<th>地址</th>
				<th>更新时间</th> 
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBasePerson">
			<tr>
				<td>
					${regBasePerson.pcode}
				</td>
				<td> 
					<a class="rymc" href="${ctx}/reg/base/regBasePerson/form?id=${regBasePerson.id}&VIEWS=1">
						${regBasePerson.rymc}
					</a>
				</td>
				<td>
					${fns:getDictLabel(regBasePerson.zjzl, 'reg_bus_zjlx', '')}
				</td>
				<td>
					${regBasePerson.zjh}
				</td> 
				<td>
					${fns:getDictLabel(regBasePerson.sshy, 'reg_bus_sshy', '')}
				</td>
				<td>
					${regBasePerson.hjszss}
				</td>
				<td>
					${regBasePerson.dh}
				</td>
				<td>
					${regBasePerson.dz}
				</td>
				<td>
					<fmt:formatDate value="${regBasePerson.updateDate}" pattern="yyyy-MM-dd"/>
				</td> 
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>