talentTeamMembers.jsp 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. });
  35. function sign() {
  36. var isValidate = jp.validateForm('#inputForm');//校验表单
  37. if(!isValidate){
  38. return false;
  39. }else{
  40. jp.confirm("确认进行人才申报吗?",function () {
  41. jp.post("${ctxF}/talentTeamMembers/save",$('#inputForm').serialize(),function (data) {
  42. if(data.success){
  43. jp.success(data.msg);
  44. $('#inputForm')[0].reset();
  45. window.close();
  46. //jp.go("${ctxF}/info");
  47. }else{
  48. jp.error(data.msg);
  49. $("#inputForm").find("button:submit").button("reset");
  50. }
  51. })
  52. })
  53. }
  54. }
  55. </script>
  56. </head>
  57. <body>
  58. <%@ include file="/webpage/modules/web/top.jsp"%>
  59. <form:form id="inputForm" modelAttribute="talentTeamMembers" method="post" class="form-horizontal">
  60. <div class="c">
  61. <div class="new_l">
  62. <h2>&nbsp;&nbsp;&nbsp;当前位置:<a href="${ctx}/home">首页</a>&gt;<a href="${ctxF}/info">个人中心</a>&gt;<a href="${ctxF}/talentWorkstationList">“候鸟型”人才申报</a></h2>
  63. <form:hidden path="id"/>
  64. <input type="hidden" name="flag" value="1"/>
  65. <input type="hidden" id="workstationId" name="workstationId" value="${talentTeamMembers.workstationId}"/>
  66. <table style="margin: 2px;" class="table table-bordered" bgcolor="#CCCCCC">
  67. <tbody>
  68. <tr>
  69. <td colspan="7">
  70. <table class="table table-bordered" bgcolor="#CCCCCC">
  71. <tr>
  72. <td class="width-15 active" ><label class="pull-right"><font color="red">*</font>姓名:</label></td>
  73. <td class="width-35" >
  74. <form:input path="xm" htmlEscape="false" class="form-control required"/>
  75. </td>
  76. <td class="width-15 active"><label class="pull-right">性别:</label></td>
  77. <td class="width-35" >
  78. <form:select path="xb" class="form-control">
  79. <form:option value="1" label="男"/>
  80. <form:option value="2" label="女"/>
  81. </form:select>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td class="width-15 active"><label class="pull-right">籍贯:</label></td>
  86. <td class="width-35">
  87. <form:input path="jg" htmlEscape="false" class="form-control "/>
  88. </td>
  89. <td class="width-15 active"><label class="pull-right">出生日期:</label></td>
  90. <td class="width-35" >
  91. <div class='input-group form_datetime' id='csrq' style="width: 397px;">
  92. <input type='text' name="csrq" class="form-control " value="${talentTeamMembers.csrq}"/>
  93. <span class="input-group-addon">
  94. <span class="glyphicon glyphicon-calendar"></span>
  95. </span>
  96. </div>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td class="width-15 active"><label class="pull-right">工作单位:</label></td>
  101. <td class="width-35" >
  102. <form:input path="gzdw" htmlEscape="false" class="form-control "/>
  103. </td>
  104. <td class="width-15 active"><label class="pull-right">学历:</label></td>
  105. <td class="width-35">
  106. <form:input path="xl" htmlEscape="false" class="form-control "/>
  107. </td>
  108. </tr>
  109. <tr>
  110. <td class="width-15 active"><label class="pull-right">专业技术职务:</label></td>
  111. <td class="width-35">
  112. <form:input path="zyjszw" htmlEscape="false" class="form-control "/>
  113. </td>
  114. <td class="width-15 active"><label class="pull-right">专长/研究成果/获奖情况:</label></td>
  115. <td class="width-35">
  116. <form:input path="yjcg" htmlEscape="false" class="form-control "/>
  117. </td>
  118. </tr>
  119. </table>
  120. </td>
  121. </tr>
  122. </tbody>
  123. </table>
  124. <div style="text-align: center;">
  125. <button name="btnRegister" class="btnSign" onclick="sign();return false;" style="cursor: pointer" >立即申报</button>
  126. </div>
  127. <div style="height: 2px;"></div>
  128. </div>
  129. </div>
  130. </form:form>
  131. <%@ include file="/webpage/modules/web/footer.jsp"%>
  132. </body>
  133. </html>