📄 retirecenter2.jsp
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ page import="java.util.*" %>
<%@ page import="com.galaxy.vo.*" %>
<%@ page import="com.galaxy.util.*" %>
<% request.setCharacterEncoding("gb2312"); %>
<%! String currentPage="1"; //当前显示的页面号%>
<%
PageHelp pagehelp=new PageHelp();//实例化PageHelp对象pageHelp
pagehelp=(PageHelp)request.getAttribute("pagehelp");
List list=pagehelp.getObjectlist();
if(pagehelp.getCurrentpage()!=0 ){
currentPage=String.valueOf( pagehelp.getCurrentpage());
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../../css/css.css">
<title>无标题文档</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
function retireQuery(){
document.form1.action="PD_DispatchQueryServlet?opflag=retireQuery";
document.form1.submit();
}
<!-- 翻页操作 -->
function changpage(currentpage){
document.condiform.currentPage.value=currentpage;
document.condiform.opflag.value='retirelist';
document.condiform.flag.value='retire2';
document.condiform.submit();
return false;
}
</script>
</head>
<body>
<form name="form1" method="post">
<input type="hidden" name="currentPage" value="<%=currentPage%>"/>
<input type="hidden" name="condition" value="<%=pagehelp.getCondition()%>"/>
<input type="hidden" name="currentPage" value="1"/>
<INPUT id=VarNum type=hidden value=0 name=VarNum>
<INPUT id=VarNumtime type=hidden value=0 name=VarNumtime>
<div align="center"></div>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="43"><h1 align="center"><strong>退休参考查询</strong> </h1></th>
</tr>
<tr>
<td align="left"><div align="left">*输入退休条件以生成退休参考表*</div></td>
</tr>
<tr>
<td>
<table width="800" border="1" cellpadding="0" cellspacing="1" class="toBeSetBgColor">
<tr>
<td width="40%" height="25" style="text-align:left"> 年龄大于:
<input type="text" name="ui_age" size="12">
</td>
<td width="40%" style="text-align:left"> <input name="button" type="button" id="button" value="生成参考表" onClick="retireQuery()"><br></td>
</tr>
</table></td>
<tr>
<td>
<table width="800" border="1" cellpadding="0" cellspacing="1" class="toBeSetBgColor">
<tr class="RowHeader">
<td width="140" height="25" align="center">员工姓名</td>
<td width="140" align="center">所属部门</td>
<td width="140" align="center">员工年龄</td>
<td width="140" align="center">员工职务</td>
<td width="140" align="center">员工状态</td>
</tr>
<%if(list!=null){
for(int i=0;i<list.size();i++){
UserInfoVO uservo=(UserInfoVO)list.get(i); %>
<!--设置输出表格格式和鼠标指向表格时的颜色变化-->
<tr <%if(i%2==1){%>class="OddRow"<%}
else{%>class="EvenRow"<%} %> onMouseOver="this.style.backgroundColor='white'"
onMouseOut="this.style.backgroundColor=''">
<td height="25" align="center"><%=uservo.getUiRealname()%></td>
<td align="center"><%=uservo.getDeptInfo().getDiName() %></td>
<td align="center"><%=uservo.getUiAge()%></td>
<td align="center"><%=uservo.getUiZhiwu() %></td>
<td align="center"><%=uservo.getUiState() %></td>
<%}} %>
</tr>
</table></td>
</tr>
</table>
</form>
<form name="condiform" action="PD_DispatchQueryServlet" method="post">
<input type="hidden" name="opflag" value=""/>
<input type="hidden" name="flag" value=""/>
<input type="hidden" name="currentPage" value="<%=currentPage%>"/>
<input type="hidden" name="condition" value="<%=pagehelp.getCondition()%>"/>
<table align=center border=0 width=90% bordercolorlight=#3399ff
bordercolordark=#3399ff cellspacing=0 cellpadding=0>
<%if(list.size()!=0){ %>
<tr>
<td align=center width=10% height=25><%=pagehelp.getPagebar()%></td>
</tr>
<%}else{ %>
<tr>
<td align=center width=10% height=25 >没有符合条件的记录td>
</tr>
<%} %>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -