createStaffInfo.jsp 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <%@ page language="java" contentType="text/html;charset=GBK"
  2. pageEncoding="GBK"%>
  3. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  8. <title>新增员工信息</title>
  9. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  10. <link href="${ pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  11. <script type="text/javascript" src="/shares/js/jquery-1.3.2.min.js"></script>
  12. <script type="text/javascript" src="/shares/js/constant.js"></script>
  13. <script type="text/javascript" src="/shares/js/common.js"></script>
  14. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  15. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
  16. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
  17. <script type="text/javascript" src="/shares/js/yw/yongfu/staffInfo.js"></script>
  18. <script type="text/javascript" src="/shares/js/yw/yongfu/common.js"></script>
  19. <script type="text/javascript" src="/shares/js/file.js"></script>
  20. <script type="text/javascript">
  21. $(function() {
  22. $("#staff_birthday").ligerDateEditor({
  23. labelWidth : 100,
  24. labelAlign : 'right',
  25. initValue : ''
  26. });
  27. $("#register_time").ligerDateEditor({
  28. labelWidth : 100,
  29. labelAlign : 'right',
  30. initValue : ''
  31. });
  32. $("#agreement_time").ligerDateEditor({
  33. labelWidth : 100,
  34. labelAlign : 'right',
  35. initValue : ''
  36. });
  37. $("#social_time").ligerDateEditor({
  38. labelWidth : 100,
  39. labelAlign : 'right',
  40. initValue : ''
  41. });
  42. $("#health_time").ligerDateEditor({
  43. labelWidth : 100,
  44. labelAlign : 'right',
  45. initValue : ''
  46. });
  47. $("#fund_time").ligerDateEditor({
  48. labelWidth : 100,
  49. labelAlign : 'right',
  50. initValue : ''
  51. });
  52. });
  53. </script>
  54. <style type="text/css">
  55. .file-style{
  56. width: 550px;
  57. }
  58. .file-style input[type='file'] {
  59. width:385px ;
  60. height:24px;
  61. line-height:22px;
  62. vertical-align: bottom;
  63. background-color: #fff;
  64. border: 1px solid #cccccc;
  65. margin-top: 2px;
  66. margin-bottom: 2px;
  67. }
  68. </style>
  69. </head>
  70. <body>
  71. <form name="addForm" action="StaffAction.do" method="post" onsubmit="return checkForm();">
  72. <div id="title" class="form-button">
  73. <input type="submit" id="subBtu" class="l-button" value="保存" />
  74. </div>
  75. <div class="container-layout">
  76. <div class="forum-container">
  77. <center>
  78. <table class="l-table-edit line">
  79. <tr>
  80. <th colspan="9">新增员工基本信息</th>
  81. </tr>
  82. <tr>
  83. <td>档案号:</td>
  84. <td colspan="9"><input type="text" id="file_num" name="file_num" value="${requestScope.staff.staff_name }"></td>
  85. </tr>
  86. <tr>
  87. <td>姓名<FONT COLOR="red">*</FONT>:</td>
  88. <td><input type="text" id="staff_name" name="staff_name" value="${requestScope.staff.staff_name }"></td>
  89. <td>性别:</td>
  90. <td>
  91. <select name="staff_sex">
  92. <c:forEach var="listSex" items="${listStaffSex}">
  93. <option value="${listSex.data_id }">${listSex.value_name }</option>
  94. </c:forEach>
  95. </select>
  96. </td>
  97. <td>民族:</td>
  98. <td><input type="text" id="ethnic_group" name="ethnic_group" value="${requestScope.staff.ethnic_group}"></td>
  99. <td>出生日期:</td>
  100. <td><input type="text" id="staff_birthday" name="staff_birthday" value="${requestScope.staff.staff_birthday}" ></td>
  101. <td rowspan="5">
  102. 照片上传:
  103. <jsp:include page="/include/file.jsp">
  104. <jsp:param name="fieldName" value="staff_photo" />
  105. <jsp:param name="folder" value="yongfu/staff" />
  106. <jsp:param name="documentId" value="${requestScope.staff.staff_photo}" />
  107. <jsp:param name="size" value="1" />
  108. <jsp:param name="isView" value="1" />
  109. <jsp:param name="isDelFile" value="1" />
  110. <jsp:param name="definedCss" value="" />
  111. </jsp:include>
  112. </td>
  113. </tr>
  114. <tr>
  115. <td>血型:</td>
  116. <td><input type="text" id="blood_type" name="blood_type" value="${requestScope.staff.blood_type }"></td>
  117. <td>身高:</td>
  118. <td><input type="text" id="body_height" name="body_height" value="${requestScope.staff.body_height }"></td>
  119. <td>体重:</td>
  120. <td><input type="text" id="body_weight" name="body_weight" value="${requestScope.staff.body_weight }"></td>
  121. <td>婚姻状况:</td>
  122. <td><input type="text" id="marital_status" name="marital_status" value="${requestScope.staff.marital_status }"></td>
  123. </tr>
  124. <tr>
  125. <td>籍贯:</td>
  126. <td><input type="text" id="native" name="native" value="${requestScope.staff.native }"></td>
  127. <td>政治面貌:</td>
  128. <td><input type="text" id="political_landscape" name="political_landscape" value="${requestScope.staff.political_landscape }"></td>
  129. <td>职称:</td>
  130. <td colspan="3"><input type="text" id="job_title" name="job_title" value="${requestScope.staff.job_title }" size="50"></td>
  131. </tr>
  132. <tr>
  133. <td>户籍地址:</td>
  134. <td colspan="3"><input type="text" id="census_address" name="census_address" value="${requestScope.staff.census_address }" size="50"></td>
  135. <td>身份证号码<FONT COLOR="red">*</FONT>:</td>
  136. <td colspan="3">
  137. <input type="text" id="id_number"
  138. name="id_number" value="${requestScope.staff.id_number }" onblur="checkIdNumber(this);" onkeyup="value=value.replace(/[^\w\.\/]/ig,'')" maxlength="18" >
  139. <div id="id_number_div"></div>
  140. </td>
  141. </tr>
  142. <tr>
  143. <td>家庭住址:</td>
  144. <td colspan="3"><input type="text" id="home_address" name="home_address" value="${requestScope.staff.home_address }" size="50"></td>
  145. <td>联系电话:</td>
  146. <td colspan="3"><input type="text" id="self_phone" name="self_phone" value="${requestScope.staff.self_phone }" size="50"></td>
  147. </tr>
  148. <tr>
  149. <td>是否特种工:</td>
  150. <td colspan="8">
  151. <c:forEach var="listSpe" items="${listMaritalStatus }">
  152. <c:choose>
  153. <c:when test="${listSpe.data_id eq '0'}">
  154. <input type="radio" name="special_work" value="${listSpe.data_id}" checked="checked" />${listSpe.value_name}
  155. </c:when>
  156. <c:otherwise>
  157. <input type="radio" name="special_work" value="${listSpe.data_id}" />${listSpe.value_name}
  158. </c:otherwise>
  159. </c:choose>
  160. </c:forEach>
  161. </td>
  162. </tr>
  163. <tr>
  164. <td>入司日期:</td>
  165. <td colspan="3"><input type="text" id="register_time" name="register_time" value="${requestScope.staff.register_time}"></td>
  166. <td>劳动合同有效期至:</td>
  167. <td colspan="4"><input type="text" id="agreement_time" name="agreement_time" value="${requestScope.staff.agreement_time}"></td>
  168. </tr>
  169. <tr>
  170. <td>社保起始日期:</td>
  171. <td colspan="3"><input type="text" id="social_time" name="social_time" value="${requestScope.staff.social_time}"></td>
  172. <td>医保起始日期:</td>
  173. <td colspan="4"><input type="text" id="health_time" name="health_time" value="${requestScope.staff.health_time}"></td>
  174. </tr>
  175. <tr>
  176. <td>住房公积金起始日期:</td>
  177. <td colspan="3"><input type="text" id="fund_time" name="fund_time" value="${requestScope.staff.fund_time }"></td>
  178. <td>所属分公司:</td>
  179. <td colspan="4"><input type="text" id="branch_company_id" name="branch_company_id" value="${requestScope.staff.branch_company_id }"></td>
  180. </tr>
  181. <tr>
  182. <td>联系人:</td>
  183. <td colspan="3"><input type="text" id="contact_person" name="contact_person" value="${requestScope.staff.contact_person }"></td>
  184. <td>联系电话:</td>
  185. <td colspan="4"><input type="text" id="contact_person_phone" name="contact_person_phone" value="${requestScope.staff.contact_person_phone }"></td>
  186. </tr>
  187. <tr>
  188. <td>身份证附件:</td>
  189. <td colspan="8">
  190. <input type="hidden" id="id_number_affix" name="id_number_affix" >
  191. <jsp:include page="/include/file.jsp">
  192. <jsp:param name="fieldName" value="sfzDocumentId" />
  193. <jsp:param name="folder" value="yongfu/staff" />
  194. <jsp:param name="documentId" value="${requestScope.staff.id_number_affix}" />
  195. <jsp:param name="size" value="5" />
  196. <jsp:param name="isView" value="1" />
  197. <jsp:param name="isDelFile" value="1" />
  198. <jsp:param name="definedCss" value="file-style" />
  199. </jsp:include>
  200. </td>
  201. </tr>
  202. <tr>
  203. <td>合同附件:</td>
  204. <td colspan="8">
  205. <input type="hidden" id="agreement_affix" name="agreement_affix" >
  206. <jsp:include page="/include/file.jsp">
  207. <jsp:param name="fieldName" value="htDocumentId" />
  208. <jsp:param name="folder" value="yongfu/staff" />
  209. <jsp:param name="documentId" value="${requestScope.staff.agreement_affix}" />
  210. <jsp:param name="size" value="30" />
  211. <jsp:param name="isView" value="1" />
  212. <jsp:param name="isDelFile" value="1" />
  213. <jsp:param name="definedCss" value="file-style" />
  214. </jsp:include>
  215. </td>
  216. </tr>
  217. <tr>
  218. <td colspan="9" style="text-align: center;">
  219. &nbsp;
  220. </td>
  221. </tr>
  222. </table>
  223. <input type="hidden" id="task" name="task" value="addBasicInfo">
  224. </center>
  225. </div>
  226. </div>
  227. </form>
  228. <%@ include file="/include/message.jsp"%>
  229. </body>
  230. </html>