archive_resume_his_show.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:4k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8"%>
  2. <%@ page import = "java.net.URLEncoder"%>
  3. <%@ page import = "java.util.*"%>
  4. <%@ page import = "cn.js.fan.util.*"%>
  5. <%@ page import = "cn.js.fan.web.*"%>
  6. <%@ page import = "com.redmoon.oa.archive.*"%>
  7. <%@ page import = "com.redmoon.oa.person.*"%>
  8. <html xmlns="http://www.w3.org/1999/xhtml">
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  11. <title>人事档案管理</title>
  12. <link href="../common.css" rel="stylesheet" type="text/css">
  13. <style type="text/css">
  14. <!--
  15. .style2 {font-size: 14px}
  16. -->
  17. </style>
  18. <script language="JavaScript" type="text/JavaScript">
  19. <!--
  20. function findObj(theObj, theDoc)
  21. {
  22.   var p, i, foundObj;
  23.   
  24.   if(!theDoc) theDoc = document;
  25.   if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  26.   {
  27.     theDoc = parent.frames[theObj.substring(p+1)].document;
  28.     theObj = theObj.substring(0,p);
  29.   }
  30.   if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  31.   for (i=0; !foundObj && i < theDoc.forms.length; i++) 
  32.     foundObj = theDoc.forms[i][theObj];
  33.   for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
  34.     foundObj = findObj(theObj,theDoc.layers[i].document);
  35.   if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  36.   
  37.   return foundObj;
  38. }
  39. var GetDate=""; 
  40. function SelectDate(ObjName,FormatDate){
  41. var PostAtt = new Array;
  42. PostAtt[0]= FormatDate;
  43. PostAtt[1]= findObj(ObjName);
  44. GetDate = showModalDialog("../util/calendar/calendar.htm", PostAtt ,"dialogWidth:286px;dialogHeight:221px;status:no;help:no;");
  45. }
  46. function SetDate()
  47. findObj(ObjName).value = GetDate; 
  48. }
  49. function setPerson(deptCode, deptName, user, userRealName)
  50. {
  51. form1.userName.value = user;
  52. form1.userRealName.value = userRealName;
  53. }
  54. //-->
  55. </script>
  56. </head>
  57. <body>
  58. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  59. <% 
  60. String userName = ParamUtil.get(request,"userName");
  61. if (!privilege.isUserPrivValid(request, "archive.his")) {
  62. out.print(StrUtil.Alert_Back(SkinUtil.LoadString(request, "pvg_invalid")));
  63. return;
  64. }
  65. %>
  66. <%@ include file="archive_inc_his_menu_top.jsp"%>
  67. <%
  68. String strId = ParamUtil.get(request, "id");
  69. if (!StrUtil.isNumeric(strId)) {
  70. out.println(StrUtil.Alert_Back(SkinUtil.LoadString(request, "res.module.archive","warn_id_err_archive")));
  71. return;
  72. }
  73. int id = Integer.parseInt(strId);
  74. UserResumeHisDb urhd = new UserResumeHisDb();
  75. urhd = urhd.getUserResumeHisDb(id);
  76. UserInfoHisDb uihd = new UserInfoHisDb();
  77. String userRealName = uihd.getUserRealName(urhd.getUserName());
  78. UserDb ud = new UserDb();
  79. ud = ud.getUserDb(urhd.getOperator());
  80. String operator = ud.getRealName();
  81. %>
  82. <br>
  83. <table width="90%" border="0" align="center" cellPadding="2" cellSpacing="1" bgcolor="#FFFFFF" class="tableframe">
  84.     <tbody>
  85.   <tr>
  86. <td colspan="3" class="right-title">修改履历信息</td>
  87.   </tr>
  88.       <tr>
  89.         <td width="80" noWrap>用&nbsp;&nbsp;户&nbsp;&nbsp;名:</td>
  90.         <td colSpan="2"><%=userRealName%>
  91.         </td>
  92.       </tr>
  93.       <tr>
  94.         <td noWrap>单位名称:</td>
  95.         <td colSpan="2"><%=urhd.getCompany()%></td>
  96.       </tr>
  97.       <tr>
  98.         <td noWrap>担任工作:</td>
  99.         <td colSpan="2"><%=urhd.getJob()%></td>
  100.       </tr>
  101.       <tr>
  102.         <td noWrap>开始时间:</td>
  103.         <td colSpan="2"><%=DateUtil.format(urhd.getBeginDate(),"yyyy-MM-dd")%></td>
  104.       </tr>
  105.       <tr>
  106.         <td noWrap>结束时间:</td>
  107.         <td colSpan="2"><%=DateUtil.format(urhd.getEndDate(),"yyyy-MM-dd")%></td>
  108.       </tr>
  109.       <tr>
  110.         <td noWrap>离职原因:</td>
  111.         <td colSpan="2"><%=urhd.getLeaveReason()%></td>  
  112.       </tr>
  113.       <tr>
  114.         <td noWrap>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
  115.         <td colSpan="2"><%=urhd.getRemark()%></td>
  116.       </tr>
  117.   <tr>
  118. <td class="TableContent" noWrap>操作人:</td>
  119. <td class="TableData"><%=operator%></td>
  120.   </tr>
  121.   <tr>
  122.     <td class="TableContent" noWrap>操作类型:</td>
  123.     <td class="TableData"><%=urhd.getOperateType()%></td>
  124.   </tr>
  125.   <tr>
  126.     <td class="TableContent" noWrap>操作时间:</td>
  127.     <td class="TableData"><%=urhd.getAddDate()%></td>
  128.   </tr>
  129.     </tbody>
  130.   </FORM>
  131. </table>
  132. </body>
  133. </html>