addEmployEntry.jsp 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  7. <title>应聘登记</title>
  8. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  9. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  10. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  11. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
  12. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTab.js" type="text/javascript"></script>
  13. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
  14. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
  15. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerResizable.js" type="text/javascript"></script>
  16. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerTab.js" type="text/javascript"></script>
  17. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerLayout.js" type="text/javascript"></script>
  18. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
  19. <script type="text/javascript" src="/shares/js/yw/hr/employ/addEmployEntry.js"></script>
  20. <!-- <script type="text/javascript" src="/shares/js/file.js"></script> -->
  21. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  22. <script type="text/javascript" src="/shares/datePicker/WdatePicker.js" ></script>
  23. <script type="text/javascript" src="/shares/js/constant.js"></script>
  24. <script type="text/javascript" src="/shares/js/common.js"></script>
  25. <script type="text/javascript" src="/shares/js/yw/hr/common.js"></script>
  26. <script type="text/javascript">
  27. $(function(){
  28. var unit_id = "${employStaff.unit_id}";
  29. var str = '${show_staff_msg}';
  30. if(''!=str){
  31. alert(str);
  32. }
  33. });
  34. function showBorrow(obj) {
  35. if (obj == 'tabitem2') {//学习经历
  36. getEducation();
  37. } else if (obj == 'tabitem3') {//工作经历
  38. getExperience();
  39. } else if (obj == 'tabitem4') {//家庭成员
  40. getFamily();
  41. }else if (obj == 'tabitem5') {//证书
  42. }
  43. }
  44. /**
  45. * 学习经历列表 liujc
  46. */
  47. function getEducation(){
  48. var grid = null;
  49. $(function () {
  50. grid = $("#maingrid2").ligerGrid({
  51. columns: [
  52. { display: '学习类型', name: 'study_type', width: 100},
  53. { display: '学校名称', name: 'study_school_name', width: 170 },
  54. { display: '专业', name: 'study_subject', width: 100},
  55. { display: '学历', name: 'study_educational_background_name', width: 100},
  56. { display: '学位', name: 'study_degree', width: 100},
  57. { display: '开始时间', name: 'study_start_date', width: 100},
  58. { display: '结束时间', name: 'study_end_date', width: 100},
  59. {
  60. display: '操作', isAllowHide: false,width: 150,
  61. render: function (row)
  62. {
  63. var html = '<a href=\"#\" onclick=\"toEditEducation('+row.universalid+')\">修改</a>&nbsp&nbsp;';
  64. html += '<a href=\"#\" onclick=\"delEducation('+row.universalid+')\">删除</a>&nbsp;';
  65. return html;
  66. }
  67. }
  68. ],
  69. usePager: false, //是否分页
  70. pageSize:50,
  71. url: 'hrEmployEntryAction.do?task=listEducation&iemploy_staff_id=${employ_staff_id}&unit_id=${employStaff.unit_id}&time=' + new Date().getTime(),
  72. pageParmName: 'p', //页索引参数名,(提交给服务器)
  73. pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
  74. width: '99.8%',
  75. height: '99%'
  76. });
  77. $("#pageloading").hide();
  78. });
  79. }
  80. /**
  81. * 工作经历 liujc
  82. */
  83. function getExperience(){
  84. var grid = null;
  85. $(function () {
  86. grid = $("#maingrid3").ligerGrid({
  87. columns: [
  88. { display: '单位名称', name: 'work_company', width: 200},
  89. { display: '职务', name: 'work_position', width: 170 },
  90. { display: '开始时间', name: 'work_start_date', width: 100},
  91. { display: '结束时间', name: 'work_end_date', width: 100},
  92. { display: '证明人', name: 'certifier', width: 100},
  93. { display: '联系电话', name: 'contact_phone', width: 100},
  94. {
  95. display: '操作', isAllowHide: false,width: 150,
  96. render: function (row)
  97. {
  98. var html = '<a href=\"#\" onclick=\"toEditExperience('+row.universalid+')\">修改</a>&nbsp&nbsp;';
  99. html += '<a href=\"#\" onclick=\"delExperience('+row.universalid+')\">删除</a>&nbsp;';
  100. return html;
  101. }
  102. }
  103. ],
  104. usePager: false, //是否分页
  105. pageSize:50,
  106. url: 'hrEmployEntryAction.do?task=listExperience&iemploy_staff_id=${employ_staff_id}&unit_id=${employStaff.unit_id}&time=' + new Date().getTime(),
  107. pageParmName: 'p', //页索引参数名,(提交给服务器)
  108. pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
  109. width: '99.8%',
  110. height: '99%'
  111. });
  112. $("#pageloading").hide();
  113. });
  114. }
  115. /**
  116. * 家庭成员 liujc
  117. */
  118. function getFamily(){
  119. var grid = null;
  120. $(function () {
  121. grid = $("#maingrid4").ligerGrid({
  122. columns: [
  123. { display: '姓名', name: 'member_name', width: 150},
  124. { display: '关系', name: 'member_relation', width: 100 },
  125. { display: '单位', name: 'member_company', width: 200},
  126. { display: '职务', name: 'member_position', width: 150},
  127. { display: '联系电话', name: 'member_phone', width: 150},
  128. { display: '备注', name: 'member_remark', width: 200},
  129. {
  130. display: '操作', isAllowHide: false,width: 150,
  131. render: function (row)
  132. {
  133. var html = '<a href=\"#\" onclick=\"toEditFamily('+row.universalid+')\">修改</a>&nbsp&nbsp;';
  134. html += '<a href=\"#\" onclick=\"delFamily('+row.universalid+')\">删除</a>&nbsp;';
  135. return html;
  136. }
  137. }
  138. ],
  139. usePager: false, //是否分页
  140. pageSize:50,
  141. url: 'hrEmployEntryAction.do?task=listFamilyMember&iemploy_staff_id=${employ_staff_id}&unit_id=${employStaff.unit_id}&time=' + new Date().getTime(),
  142. pageParmName: 'p', //页索引参数名,(提交给服务器)
  143. pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
  144. width: '99.8%',
  145. height: '99%'
  146. });
  147. $("#pageloading").hide();
  148. });
  149. }
  150. </script>
  151. <style type="text/css">
  152. .file-style {
  153. width: 300px;
  154. }
  155. .file-style input[type='file'] {
  156. width: 260px;
  157. height: 24px;
  158. line-height: 22px;
  159. vertical-align: bottom;
  160. background-color: #fff;
  161. border: 1px solid #cccccc;
  162. margin-top: 2px;
  163. margin-bottom: 2px;
  164. }
  165. layout{width:99.5%;margin:0; padding:0;}
  166. body{padding:5px; margin:0;}
  167. .forum-container table td{padding-left: 5px;}
  168. .temp-form{background-color: #ffffff; overflow-y: auto; margin-top:5px}
  169. .notice{color: blue; display: none; margin-top: 2px}
  170. .warn{color: red; display: none; margin-top: 2px}
  171. .default-text{width: 173px;}
  172. .default-select{width: 177px}
  173. .notice-msg{position: absolute;z-index: 100; float: left; top: 30%; left: 45%; background-color: #ffffff; width: 150px; overflow: hidden; border: 1px solid #cccccc; text-align: center; padding: 5px 5px 5px 5px; display: none}
  174. .forum-container-2 table tr td{font-size: 14px;}
  175. .forum-container-2 .l-table-edit-text {width: 150px; font-size: 14px;}
  176. .forum-container-2 .l-table-edit-content{width: 250px; font-size: 14px;}
  177. .dialogTable{margin: 5px auto; width: 400px}
  178. .dialogTable tr{height: 25px; padding-bottom: 2px; margin: 10px auto}
  179. .dialogTable .left-text {width: 80px; font-weight: bold;}
  180. .dialogTable .save-and-prov-notice { color: blue; }
  181. .dialogTable .input {width: 100px;height:18px; line-height: 18px;border: 1px solid #cccccc}
  182. </style>
  183. </head>
  184. <body>
  185. <input type="hidden" id="isEdit" name="isEdit" value="${isEdit }">
  186. <input type="hidden" id="employ_staff_id" name="employ_staff_id" value="${employ_staff_id }">
  187. <div class="tab2 l-tab" id="tab1" style="width: 99.5%; overflow: hidden; border: 1px solid #A3C0E8;">
  188. <div title="基本信息">
  189. <jsp:include page="/yw/hr/employentry/include/staffInfo.jsp">
  190. <jsp:param value="${employ_staff_id}" name="employ_staff_id"/>
  191. </jsp:include>
  192. </div>
  193. <div title="学习经历">
  194. <jsp:include page="/yw/hr/employentry/include/educationInfo.jsp">
  195. <jsp:param value="${employ_staff_id}" name="employ_staff_id"/>
  196. </jsp:include>
  197. </div>
  198. <div title="工作经历">
  199. <jsp:include page="/yw/hr/employentry/include/experienceInfo.jsp">
  200. <jsp:param value="${employ_staff_id}" name="employ_staff_id"/>
  201. </jsp:include>
  202. </div>
  203. <div title="家庭成员">
  204. <jsp:include page="/yw/hr/employentry/include/familyInfo.jsp">
  205. <jsp:param value="${employ_staff_id}" name="employ_staff_id"/>
  206. </jsp:include>
  207. </div>
  208. <div title="自我评价及说明">
  209. <jsp:include page="/yw/hr/employentry/include/appraisalInfo.jsp">
  210. <jsp:param value="${employ_staff_id}" name="employ_staff_id"/>
  211. </jsp:include>
  212. </div>
  213. </div>
  214. <%@ include file="/include/message.jsp"%>
  215. </body>
  216. </html>