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

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. <%@ page import = "com.redmoon.oa.BasicDataMgr"%>
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  12. <title>人事档案管理</title>
  13. <link href="../common.css" rel="stylesheet" type="text/css">
  14. <style type="text/css">
  15. <!--
  16. .style2 {font-size: 14px}
  17. -->
  18. </style>
  19. <script language="JavaScript" type="text/JavaScript">
  20. <!--
  21. function findObj(theObj, theDoc)
  22. {
  23.   var p, i, foundObj;
  24.   
  25.   if(!theDoc) theDoc = document;
  26.   if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  27.   {
  28.     theDoc = parent.frames[theObj.substring(p+1)].document;
  29.     theObj = theObj.substring(0,p);
  30.   }
  31.   if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  32.   for (i=0; !foundObj && i < theDoc.forms.length; i++) 
  33.     foundObj = theDoc.forms[i][theObj];
  34.   for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
  35.     foundObj = findObj(theObj,theDoc.layers[i].document);
  36.   if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  37.   
  38.   return foundObj;
  39. }
  40. var GetDate=""; 
  41. function SelectDate(ObjName,FormatDate){
  42. var PostAtt = new Array;
  43. PostAtt[0]= FormatDate;
  44. PostAtt[1]= findObj(ObjName);
  45. GetDate = showModalDialog("../util/calendar/calendar.htm", PostAtt ,"dialogWidth:286px;dialogHeight:221px;status:no;help:no;");
  46. }
  47. function SetDate()
  48. findObj(ObjName).value = GetDate; 
  49. }
  50. function setPerson(deptCode, deptName, user, userRealName)
  51. {
  52. form1.userName.value = user;
  53. form1.userRealName.value = userRealName;
  54. }
  55. //-->
  56. </script>
  57. </head>
  58. <body>
  59. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  60. <%
  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. UserStudyHisDb ushd = new UserStudyHisDb();
  75. ushd = ushd.getUserStudyHisDb(id);
  76. UserInfoHisDb uihd = new UserInfoHisDb();
  77. String userRealName = uihd.getUserRealName(ushd.getUserName());
  78. UserDb ud = new UserDb();
  79. ud = ud.getUserDb(ushd.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>学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;历:</td>
  95.         <td colSpan="2"><%=ushd.getGrade()%></td>
  96.       </tr>
  97.       <tr>
  98.         <td noWrap>毕业院校:</td>
  99.         <td colSpan="2"><%=ushd.getCollege()%></td>
  100.       </tr>
  101.       <tr>
  102.         <td noWrap>院校简称:</td>
  103.         <td colSpan="2"><%=ushd.getSCollege()%></td>
  104.       </tr>
  105.       <tr>
  106.         <td noWrap>专&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;业:</td>
  107.         <td colSpan="2"><%=ushd.getSpecialty()%></td>
  108.       </tr>
  109.       <tr>
  110.         <td noWrap>专业简称:</td>
  111.         <td colSpan="2"><%=ushd.getSSpecialty()%></td>  
  112.       </tr>
  113.       <tr>
  114.         <td noWrap>是否在职:</td>
  115.         <td colSpan="2"><%=ushd.getIsJob()%>
  116. </td>
  117.       </tr>
  118.       <tr>
  119.         <td noWrap>开始时间:</td>
  120.         <td colSpan="2"><%=DateUtil.format(ushd.getBeginDate(),"yyyy-MM-dd")%></td>
  121.       </tr>
  122.       <tr>
  123.         <td noWrap>结束时间:</td>
  124.         <td colSpan="2"><%=DateUtil.format(ushd.getEndDate(),"yyyy-MM-dd")%></td>
  125.       </tr>
  126.       <tr>
  127.         <td noWrap>学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位:</td>
  128.         <td colSpan="2"><%=ushd.getDegree()%>
  129. </td>
  130.       </tr>
  131.       <tr>
  132.         <td noWrap>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
  133.         <td colSpan="2"><%=ushd.getRemark()%></td>
  134.       </tr>
  135.    <tr>
  136. <td class="TableContent" noWrap>操作人:</td>
  137. <td class="TableData"><%=operator%></td>
  138. </tr>
  139. <tr>
  140.   <td class="TableContent" noWrap>操作类型:</td>
  141.   <td class="TableData"><%=ushd.getOperateType()%></td>
  142. </tr>
  143. <tr>
  144.   <td class="TableContent" noWrap>操作时间:</td>
  145.   <td class="TableData"><%=ushd.getAddDate()%></td>
  146. </tr>
  147.     </tbody>
  148.   </FORM>
  149. </table>
  150. </body>
  151. </html>