leaderMembershipForm.jsp 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. <script type="text/javascript">
  8. $(document).ready(function() {
  9. });
  10. function save() {
  11. var isValidate = jp.validateForm('#inputForm');//校验表单
  12. if(!isValidate){
  13. return false;
  14. }else{
  15. jp.loading();
  16. jp.post("${ctx}/leader/info/leaderMembership/save",$('#inputForm').serialize(),function(data){
  17. if(data.success){
  18. jp.getParent().refresh();
  19. var dialogIndex = parent.layer.getFrameIndex(window.name); // 获取窗口索引
  20. parent.layer.close(dialogIndex);
  21. jp.success(data.msg)
  22. }else{
  23. jp.error(data.msg);
  24. }
  25. })
  26. }
  27. }
  28. </script>
  29. </head>
  30. <body class="bg-white">
  31. <form:form id="inputForm" modelAttribute="leaderMembership" class="form-horizontal">
  32. <form:hidden path="id"/>
  33. <table class="table table-bordered">
  34. <tbody>
  35. <tr>
  36. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>党籍类型:</label></td>
  37. <td class="width-35">
  38. <form:input path="leaderType" htmlEscape="false" class="form-control required"/>
  39. </td>
  40. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>党员表ID:</label></td>
  41. <td class="width-35">
  42. <form:input path="leaderId" htmlEscape="false" class="form-control required"/>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>状态时间:</label></td>
  47. <td class="width-35">
  48. <form:input path="statusDate" htmlEscape="false" class="form-control required"/>
  49. </td>
  50. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>转接时间:</label></td>
  51. <td class="width-35">
  52. <form:input path="changeDate" htmlEscape="false" class="form-control required"/>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>转接类型:</label></td>
  57. <td class="width-35">
  58. <form:select path="changeType" class="form-control required">
  59. <form:option value="" label=""/>
  60. <form:options items="${fns:getDictList('')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
  61. </form:select>
  62. </td>
  63. <td class="width-15 active"><label class="pull-right">组织名称:</label></td>
  64. <td class="width-35">
  65. <form:input path="lead" htmlEscape="false" class="form-control "/>
  66. </td>
  67. </tr>
  68. <tr>
  69. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>党内职务:</label></td>
  70. <td class="width-35">
  71. <form:select path="duties" class="form-control required">
  72. <form:option value="" label=""/>
  73. <form:options items="${fns:getDictList('')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
  74. </form:select>
  75. </td>
  76. <td class="width-15 active"><label class="pull-right">备注:</label></td>
  77. <td class="width-35">
  78. <form:input path="remark" htmlEscape="false" class="form-control "/>
  79. </td>
  80. </tr>
  81. </tbody>
  82. </table>
  83. </form:form>
  84. </body>
  85. </html>