hpApplyPositionInterViewForm.jsp 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/webpage/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>联系面试</title>
  6. <meta name="decorator" content="ani"/>
  7. <style>
  8. tr > td, .table > tfoot > tr > td {
  9. padding: 8px;
  10. line-height: 1.42857143;
  11. vertical-align: middle;
  12. border-top: 1px solid #ddd;
  13. }
  14. .headBottom{
  15. background-color: #a0cfef;
  16. color: #fff;
  17. height: 34px;
  18. line-height: 34px;
  19. }
  20. </style>
  21. <script type="text/javascript">
  22. $(document).ready(function() {
  23. $('#contactStatus1').iCheck('check');
  24. $('input[name="contactStatus"]').on('ifChecked', function(event){
  25. var value = $(this).val();
  26. if(value == 5){
  27. $('input[name="contactContent"]').attr('minlength','20');
  28. }else{
  29. $('input[name="contactContent"]').attr('minlength','');
  30. }
  31. });
  32. });
  33. function save() {
  34. var isValidate = jp.validateForm('#inputForm');//校验表单
  35. if(!isValidate){
  36. return false;
  37. }else{
  38. jp.loading();
  39. jp.post("${ctx}/hpuser/hpApplyPosition/saveChat",$('#inputForm').serialize(),function(data){
  40. if(data.success){
  41. jp.getParent().refresh();
  42. var dialogIndex = parent.layer.getFrameIndex(window.name); // 获取窗口索引
  43. parent.layer.close(dialogIndex);
  44. jp.success(data.msg)
  45. }else{
  46. jp.error(data.msg);
  47. }
  48. })
  49. }
  50. }
  51. </script>
  52. </head>
  53. <body class="bg-white">
  54. <form:form id="inputForm" modelAttribute="hpApplyPosition" class="form-horizontal">
  55. <form:hidden path="id"/>
  56. <table class="table table-bordered">
  57. <tbody>
  58. <tr>
  59. <td class="width-15 active"><label class="pull-right">用户手机号:</label></td>
  60. <td class="width-35">
  61. ${hpApplyPosition.hpResume.phone}
  62. </td>
  63. </tr>
  64. <tr>
  65. <td class="width-15 active"><label class="pull-right">联系人:</label></td>
  66. <td class="width-35">
  67. ${hpApplyPosition.contactUser}
  68. </td>
  69. </tr>
  70. <tr>
  71. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>联系时间:</label></td>
  72. <td class="width-35">
  73. <input type='text' readonly="true" name="contactTime" class="form-control input-sm" value="<fmt:formatDate value="${hpApplyPosition.contactTime}" pattern="yyyy-MM-dd HH:mm:ss"/>"/>
  74. </td>
  75. </tr>
  76. <tr>
  77. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>联系状态:</label></td>
  78. <td class="width-35">
  79. <form:radiobutton path="contactStatus" value="1" htmlEscape="false" label="再联系" class="i-checks"/>
  80. <form:radiobutton path="contactStatus" value="3" htmlEscape="false" label="入职" class="i-checks"/>
  81. <form:radiobutton path="contactStatus" value="5" htmlEscape="false" label="流失" class="i-checks"/>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>备注:</label></td>
  86. <td class="width-35">
  87. <input name="contactContent" htmlEscape="false" maxlength="100" class="form-control required" placeholder="100字以内"/>
  88. </td>
  89. </tr>
  90. </tbody>
  91. </table>
  92. </form:form>
  93. </body>
  94. </html>