talentBasicSituation.jsp 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/webpage/include/taglibf.jsp"%>
  3. <!doctype html>
  4. <html>
  5. <head>
  6. <meta charset="utf-8">
  7. <title>${fns:getConfig("productName")}</title>
  8. <link rel="stylesheet" type="text/css" href="${ctxStaticWeb}/css/base.css" />
  9. <link rel="stylesheet" type="text/css" href="${ctxStaticWeb}/css/second.css" />
  10. <style>
  11. .new_l,.new_r{ margin:10px 0px;}
  12. .new_l{background-color:#FFF}
  13. .new_l h2{ border-bottom:1px solid #CCC; border-top:1px solid #CCC; line-height:38px; font-size:16px; background-color:#f8f8f8;}
  14. .new_l h2 a{color:#820402}
  15. .bg{ background-color:#fff; min-height:600px}
  16. .bg h2{ line-height:60px; color:#820402;}
  17. .btnSign { height:35px; line-height:35px; width:25%;background-color:#820402; color:#fff; border:0px; margin:20px}
  18. #inputForm label.error
  19. {
  20. color:#cc5965;
  21. font-size:14px;
  22. margin-left:5px;
  23. padding-left:16px;
  24. font-weight: bold;
  25. }
  26. </style>
  27. <%@include file="/webpage/include/anihead.jsp" %>
  28. <%@include file="/webpage/include/summernote.jsp" %>
  29. <script type="text/javascript">
  30. $(document).ready(function() {
  31. $('#csrq').datetimepicker({
  32. format: "YYYY-MM-DD"
  33. });
  34. $('#jhmnzzsj').datetimepicker({
  35. format: "YYYY-MM-DD"
  36. });
  37. //富文本初始化
  38. $('#xxjl').summernote({
  39. height: 120,
  40. lang: 'zh-CN',
  41. callbacks: {
  42. onChange: function(contents, $editable) {
  43. $("input[name='xxjl']").val($('#xxjl').summernote('code'));//取富文本的值
  44. }
  45. }
  46. });
  47. $('#gzjl').summernote({
  48. height: 120,
  49. lang: 'zh-CN',
  50. callbacks: {
  51. onChange: function(contents, $editable) {
  52. $("input[name='gzjl']").val($('#gzjl').summernote('code'));//取富文本的值
  53. }
  54. }
  55. });
  56. $('#shry').summernote({
  57. height: 120,
  58. lang: 'zh-CN',
  59. callbacks: {
  60. onChange: function(contents, $editable) {
  61. $("input[name='shry']").val($('#shry').summernote('code'));//取富文本的值
  62. }
  63. }
  64. });
  65. });
  66. function sign() {
  67. var isValidate = jp.validateForm('#inputForm');//校验表单
  68. if(!isValidate){
  69. return false;
  70. }else{
  71. jp.confirm("确认进行人才申报吗?",function () {
  72. jp.post("${ctxF}/talentBasicSituation/save",$('#inputForm').serialize(),function (data) {
  73. if(data.success){
  74. jp.success(data.msg);
  75. $('#inputForm')[0].reset();
  76. window.close();
  77. //jp.go("${ctxF}/info");
  78. }else{
  79. jp.error(data.msg);
  80. $("#inputForm").find("button:submit").button("reset");
  81. }
  82. })
  83. })
  84. }
  85. }
  86. </script>
  87. </head>
  88. <body>
  89. <%@ include file="/webpage/modules/web/top.jsp"%>
  90. <form:form id="inputForm" modelAttribute="talentBasicSituation" method="post" class="form-horizontal">
  91. <div class="c">
  92. <div class="new_l">
  93. <h2>&nbsp;&nbsp;&nbsp;当前位置:<a href="${ctx}/home">首页</a>&gt;<a href="${ctxF}/info">个人中心</a>&gt;<a href="${ctxF}/talentWorkstationList">“候鸟型”人才申报</a></h2>
  94. <form:hidden path="id"/>
  95. <input type="hidden" name="flag" value="1"/>
  96. <input type="hidden" id="workstationId" name="workstationId" value="${talentBasicSituation.workstationId}"/>
  97. <table style="margin: 2px;" class="table table-bordered" bgcolor="#CCCCCC">
  98. <tbody>
  99. <tr>
  100. <td colspan="7">
  101. <table class="table table-bordered" bgcolor="#CCCCCC">
  102. <tr>
  103. <td class="width-15 active" ><label class="pull-right"><font color="red">*</font>姓名:</label></td>
  104. <td class="width-35" >
  105. <form:input path="xm" htmlEscape="false" class="form-control required"/>
  106. </td>
  107. <td class="width-15 active"><label class="pull-right">性别:</label></td>
  108. <td class="width-35" >
  109. <form:select path="xb" class="form-control">
  110. <form:option value="1" label="男"/>
  111. <form:option value="2" label="女"/>
  112. </form:select>
  113. </td>
  114. </tr>
  115. <tr>
  116. <td class="width-15 active"><label class="pull-right">出生日期:</label></td>
  117. <td class="width-35" >
  118. <div class='input-group form_datetime' id='csrq' style="width: 397px;">
  119. <input type='text' name="csrq" class="form-control" value="${talentBasicSituation.csrq}"/>
  120. <span class="input-group-addon">
  121. <span class="glyphicon glyphicon-calendar"></span>
  122. </span>
  123. </div>
  124. </td>
  125. <td class="width-15 active"><label class="pull-right">政治面貌:</label></td>
  126. <td class="width-35">
  127. <form:input path="zzmm" htmlEscape="false" class="form-control"/>
  128. <%-- <form:select path="zzmm" class="form-control required">
  129. <form:option value="" label=""/>
  130. <form:options items="${fns:getDictList('politic')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
  131. </form:select>--%>
  132. </td>
  133. </tr>
  134. <tr>
  135. <td class="width-15 active"><label class="pull-right">民族:</label></td>
  136. <td class="width-35">
  137. <form:input path="mz" htmlEscape="false" class="form-control"/>
  138. </td>
  139. <td class="width-15 active"><label class="pull-right">籍贯:</label></td>
  140. <td class="width-35">
  141. <form:input path="jg" htmlEscape="false" class="form-control"/>
  142. </td>
  143. </tr>
  144. <tr>
  145. <td class="width-15 active"><label class="pull-right">专业技术职务:</label></td>
  146. <td class="width-35">
  147. <form:input path="zyjszw" htmlEscape="false" class="form-control"/>
  148. </td>
  149. <td class="width-15 active"><label class="pull-right">专业擅长领域:</label></td>
  150. <td class="width-35">
  151. <form:input path="zyscly" htmlEscape="false" class="form-control"/>
  152. </td>
  153. </tr>
  154. <tr>
  155. <td class="width-15 active"><label class="pull-right">身份证号码:</label></td>
  156. <td class="width-35" colspan="3">
  157. <form:input path="sfzhm" htmlEscape="false" class="form-control isIdCardNo"/>
  158. </td>
  159. </tr>
  160. <tr>
  161. <td class="width-15 active"><label class="pull-right">最高学历:</label></td>
  162. <td class="width-35">
  163. <form:input path="zgxl" htmlEscape="false" class="form-control"/>
  164. </td>
  165. <td class="width-15 active"><label class="pull-right">最高学位:</label></td>
  166. <td class="width-35">
  167. <form:input path="zgxw" htmlEscape="false" class="form-control"/>
  168. </td>
  169. </tr>
  170. <tr>
  171. <td class="width-15 active"><label class="pull-right">毕业院校(以最高学历为准):</label></td>
  172. <td class="width-35">
  173. <form:input path="byyx" htmlEscape="false" class="form-control"/>
  174. </td>
  175. <td class="width-15 active"><label class="pull-right">计划每年在站时间:</label></td>
  176. <td class="width-35">
  177. <div class='input-group form_datetime' id='jhmnzzsj' style="width: 397px;">
  178. <input type='text' name="jhmnzzsj" class="form-control" value="${talentBasicSituation.jhmnzzsj}"/>
  179. <span class="input-group-addon">
  180. <span class="glyphicon glyphicon-calendar"></span>
  181. </span>
  182. </div>
  183. </td>
  184. </tr>
  185. <tr>
  186. <td class="width-15 active"><label class="pull-right">工作单位:</label></td>
  187. <td class="width-35" >
  188. <form:input path="gzdw" htmlEscape="false" class="form-control"/>
  189. </td>
  190. <td class="width-15 active"><label class="pull-right">办公电话:</label></td>
  191. <td class="width-35" >
  192. <form:input path="bgdh" htmlEscape="false" class="form-control"/>
  193. </td>
  194. </tr>
  195. <tr>
  196. <td class="width-15 active"><label class="pull-right">电子邮箱:</label></td>
  197. <td class="width-35" >
  198. <form:input path="dzyx" htmlEscape="false" class="form-control email"/>
  199. </td>
  200. <td class="width-15 active"><label class="pull-right">移动电话:</label></td>
  201. <td class="width-35" >
  202. <form:input path="yddh" htmlEscape="false" class="form-control isTel"/>
  203. </td>
  204. </tr>
  205. <tr>
  206. <td class="width-15 active"><label class="pull-right">学习经历(本科阶段写起):</label></td>
  207. <td class="width-35" colspan="6">
  208. <input type="hidden" name="xxjl" value=" ${talentBasicSituation.xxjl}"/>
  209. <div id="xxjl">
  210. ${fns:unescapeHtml(talentBasicSituation.xxjl)}
  211. </div>
  212. </td>
  213. </tr>
  214. <tr>
  215. <td class="width-15 active"><label class="pull-right">工作经历:</label></td>
  216. <td class="width-35" colspan="6">
  217. <input type="hidden" name="gzjl" value=" ${talentBasicSituation.gzjl}"/>
  218. <div id="gzjl">
  219. ${fns:unescapeHtml(talentBasicSituation.gzjl)}
  220. </div>
  221. </td>
  222. </tr>
  223. <tr>
  224. <td class="width-15 active"><label class="pull-right">所获荣誉(近三年):</label></td>
  225. <td class="width-35" colspan="6">
  226. <input type="hidden" name="shry" value=" ${talentBasicSituation.shry}"/>
  227. <div id="shry">
  228. ${fns:unescapeHtml(talentBasicSituation.shry)}
  229. </div>
  230. </td>
  231. </tr>
  232. </table>
  233. </td>
  234. </tr>
  235. </tbody>
  236. </table>
  237. <div style="text-align: center;">
  238. <button name="btnRegister" class="btnSign" onclick="sign();return false;" style="cursor: pointer" >立即申报</button>
  239. </div>
  240. <div style="height: 2px;"></div>
  241. </div>
  242. </div>
  243. </form:form>
  244. <%@ include file="/webpage/modules/web/footer.jsp"%>
  245. </body>
  246. </html>