selectInfoTyView.jsp
3.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<%@ 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 winOpenPerson(pcode){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=650;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var url = "${ctx}/reg/base/regBasePerson/selectTy?cxfs=1&pcode="+pcode;
window.open(url, "窗口", "width=" + iWidth + ", height=" + iHeight + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no,alwaysRaised=yes,depended=yes");
}
</script>
</head>
<body>
<form:form id="searchForm" modelAttribute="regBasePerson" action="${ctx}/reg/base/regBasePerson/selectTy" 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="pcode" htmlEscape="false" maxlength="10" class="input-medium"/>
</li>
<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 class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
<li class="clearfix"></li>
</ul>
</form:form>
<sys:message content="${message}"/>
<div class="form-horizontal">
<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>
<shiro:hasPermission name="reg:base:regBasePerson:edit"><th>操作</th></shiro:hasPermission>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBasePerson">
<tr>
<td>
${regBasePerson.pcode}
</td>
<td style="color: #0088A8;">
${regBasePerson.rymc}
</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>
<shiro:hasPermission name="reg:base:regBasePerson:edit"><td>
<a href="javascript:void(0);" onclick="winOpenPerson('${regBasePerson.pcode}')">查看详细</a>
</td></shiro:hasPermission>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="pagination">${page}</div>
</body>
</html>