archive_query.jsp
来自「一个用java编写的功能强大的OA系统」· JSP 代码 · 共 508 行 · 第 1/2 页
JSP
508 行
<%@ page contentType="text/html; charset=utf-8"%>
<%@ page import = "java.net.URLEncoder"%>
<%@ page import = "java.util.*"%>
<%@ page import = "cn.js.fan.util.*"%>
<%@ page import = "cn.js.fan.web.*"%>
<%@ page import = "com.redmoon.oa.archive.*"%>
<%@ page import = "com.redmoon.oa.BasicDataMgr"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户档案查询</title>
<link href="../common.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {font-size: 14px}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function findObj(theObj, theDoc)
{
var p, i, foundObj;
if(!theDoc) theDoc = document;
if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
{
theDoc = parent.frames[theObj.substring(p+1)].document;
theObj = theObj.substring(0,p);
}
if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
for (i=0; !foundObj && i < theDoc.forms.length; i++)
foundObj = theDoc.forms[i][theObj];
for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++)
foundObj = findObj(theObj,theDoc.layers[i].document);
if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
return foundObj;
}
var GetDate="";
function SelectDate(ObjName,FormatDate){
var PostAtt = new Array;
PostAtt[0]= FormatDate;
PostAtt[1]= findObj(ObjName);
GetDate = showModalDialog("../util/calendar/calendar.htm", PostAtt ,"dialogWidth:286px;dialogHeight:221px;status:no;help:no;");
}
function SetDate()
{
findObj(ObjName).value = GetDate;
}
function setPerson(deptCode, deptName, user, userRealName)
{
form1.userName.value = user;
form1.userRealName.value = userRealName;
}
//-->
</script>
</head>
<body>
<jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
<%
//if (!privilege.isUserPrivValid(request, "archive")) {
//out.println(cn.js.fan.web.SkinUtil.makeErrMsg(request, cn.js.fan.web.SkinUtil.LoadString(request, "pvg_invalid")));
//return;
//}
%>
<br>
<%
BasicDataMgr bdm = new BasicDataMgr("archive");
String options = "";
%>
<form name="form1" method="post" action="">
<table width="95%" border="0">
<tr>
<td rowspan="2" width="50%"><table width="95%" border="0" align="center" cellPadding="2" cellSpacing="1" bgcolor="#FFFFFF" class="tableframe">
<tbody>
<tr>
<td colspan="4" class="right-title">用户</td>
</tr>
<tr>
<td noWrap width="120">姓 名:</td>
<td noWrap width="52"><select name="select17">
</select></td>
<td width="247"><input maxLength="100" name="userRealName" size="20"></td>
</tr>
<tr>
<td noWrap>性 别:</td>
<td noWrap><select name="select18">
</select></td>
<td><select name="sex">
<option value="" selected></option>
<option value="0">女</option>
<option value="1">男</option>
</select></td>
</tr>
<tr>
<td noWrap>出生日期:</td>
<td noWrap><select name="select19">
</select></td>
<td><input maxLength="100" name="birthday" size="20"><img style="CURSOR: hand" onClick="SelectDate('birthday', 'yyyy-MM-dd')" src="../images/form/calendar.gif" align="absMiddle" border="0" width="26" height="26"></td>
</tr>
<tr>
<td noWrap>籍 贯:</td>
<td noWrap><select name="select20">
</select></td>
<td><input maxLength="100" size="12" name="nation"></td>
</tr>
<tr>
<td noWrap>出 生 地:</td>
<td noWrap><select name="select21">
</select></td>
<td><input maxLength="100" size="12" name="born"></td>
</tr>
<tr>
<td noWrap>入党时间:</td>
<td noWrap><select name="select22">
</select></td>
<td><input maxLength="100" name="joinPartyDate" size="20"><img style="CURSOR: hand" onClick="SelectDate('joinPartyDate', 'yyyy-MM-dd')" src="../images/form/calendar.gif" align="absMiddle" border="0" width="26" height="26"> </td>
</tr>
<tr>
<td noWrap>参加工作时间:</td>
<td noWrap><select name="select23">
</select></td>
<td colSpan="2"><input maxLength="100" name="joinWorkDate" size="20"><img style="CURSOR: hand" onClick="SelectDate('joinWorkDate', 'yyyy-MM-dd')" src="../images/form/calendar.gif" align="absMiddle" border="0" width="26" height="26"></td>
</tr>
<tr>
<td noWrap>健康状况:</td>
<td noWrap><select name="select24">
</select></td>
<td colSpan="2"><%options = bdm.getOptionsStr("healthState");%>
<select name="healthState">
<%=options%>
</select></td>
</tr>
<tr>
<td noWrap>文化程度:</td>
<td noWrap><select name="select25">
</select></td>
<td colSpan="2"><%options = bdm.getOptionsStr("culture");%>
<select name="culture">
<%=options%>
</select></td>
</tr>
<tr>
<td noWrap>后备干部级别:</td>
<td noWrap><select name="select26">
</select></td>
<td colSpan="2"><%options = bdm.getOptionsStr("insupportCadreLevel");%>
<select name="insupportCadreLevel">
<%=options%>
</select></td>
</tr>
<tr>
<td noWrap>定为后备干部的时间:</td>
<td noWrap><select name="select27">
</select></td>
<td colSpan="2"><input maxLength="100" name="insupportCadreDate" size="20"><img style="CURSOR: hand" onClick="SelectDate('insupportCadreDate', 'yyyy-MM-dd')" src="../images/form/calendar.gif" align="absMiddle" border="0" width="26" height="26"></td>
</tr>
<tr>
<td noWrap>政治面貌:</td>
<td noWrap><select name="select28">
</select></td>
<td colSpan="2"><%options = bdm.getOptionsStr("polity");%>
<select name="polity">
<%=options%>
</select></td>
</tr>
<tr>
<td noWrap>其它党派加入时间:</td>
<td noWrap><select name="select29">
</select></td>
<td colSpan="2"><input maxLength="100" name="joinClanDate" size="20"><img style="CURSOR: hand" onClick="SelectDate('joinClanDate', 'yyyy-MM-dd')" src="../images/form/calendar.gif" align="absMiddle" border="0" width="26" height="26"></td>
</tr>
<tr>
<td noWrap>编制情况:</td>
<td noWrap><select name="select30">
</select></td>
<td colSpan="2"><%options = bdm.getOptionsStr("typeOfWork");%>
<select name="typeOfWork">
<%=options%>
</select></td>
</tr>
</tbody>
</table></td>
<td><table width="95%" border="0" align="center" cellPadding="2" cellSpacing="1" bgcolor="#FFFFFF" class="tableframe">
<tbody>
<tr>
<td colspan="4" class="right-title">履历</td>
</tr>
<tr>
<td width="17%" noWrap>单位名称:</td>
<td width="15%" noWrap><select name="select">
</select>
</td>
<td width="68%" colSpan="2"><input maxLength="100" name="company" size="20"></td>
</tr>
<tr>
<td noWrap>担任工作:</td>
<td noWrap><select name="select2">
</select></td>
<td colSpan="2"><input maxLength="100" name="job" size="20"></td>
</tr>
<tr>
<td noWrap>开始时间:</td>
<td noWrap><select name="select14">
</select></td>
<td colSpan="2"><input maxLength="100" name="beginDate" size="20"><img style="CURSOR: hand" onClick="SelectDate('beginDate', 'yyyy-MM-dd')" src="../images/form/calendar.gif" align="absMiddle" border="0" width="26" height="26"></td>
</tr>
<tr>
<td noWrap>结束时间:</td>
<td noWrap><select name="select15">
</select></td>
<td colSpan="2"><input maxLength="100" name="endDate" size="20"><img style="CURSOR: hand" onClick="SelectDate('endDate', 'yyyy-MM-dd')" src="../images/form/calendar.gif" align="absMiddle" border="0" width="26" height="26"></td>
</tr>
<tr>
<td noWrap>离职原因:</td>
<td noWrap><select name="select3">
</select></td>
<td colSpan="2"><input maxLength="100" name="leaveReason" size="20"></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td><table class="tableframe" cellSpacing="1" cellPadding="2" width="95%" align="center" border="0" bgcolor="#FFFFFF">
<tbody>
<tr>
<td colspan="4" noWrap class="right-title">专业技能</td>
</tr>
<tr>
<td width="21%" noWrap>专业技术职务:</td>
<td width="21%" noWrap><select name="select4">
</select></td>
<td width="79%" colSpan="2"><span class="TableData">
<input name="profession" id="profession" size="20" maxlength="200">
</span></td>
</tr>
<tr>
<td noWrap>证书名称:</td>
<td noWrap><select name="select5">
</select></td>
<td colSpan="2"><span class="TableData">
<input name="name2" id="name" size="20" maxLength="200">
</span></td>
</tr>
<tr>
<td noWrap>证书编号:</td>
<td noWrap><select name="select6">
</select></td>
<td colSpan="2"><span class="TableData">
<input name="cnum" id="cnum" size="20" maxLength="200">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?