cmGempreferralList.jsp 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/WEB-INF/views/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>员工推荐管理</title>
  6. <meta name="decorator" content="default"/>
  7. <style type="text/css">
  8. .table th{text-align: center;}
  9. .table td{text-align: center;}
  10. </style>
  11. <script type="text/javascript">
  12. $(document).ready(function() {
  13. });
  14. function page(n,s){
  15. $("#pageNo").val(n);
  16. $("#pageSize").val(s);
  17. $("#searchForm").submit();
  18. return false;
  19. }
  20. </script>
  21. </head>
  22. <body>
  23. <ul class="nav nav-tabs">
  24. <li class="active"><a href="${ctx}/user/cmGempreferral/">员工推荐列表</a></li>
  25. <shiro:hasPermission name="user:cmGempreferral:edit"><li><a href="${ctx}/user/cmGempreferral/form">员工推荐添加</a></li></shiro:hasPermission>
  26. </ul>
  27. <form:form id="searchForm" modelAttribute="cmGempreferral" action="${ctx}/user/cmGempreferral/" method="post" class="breadcrumb form-search">
  28. <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
  29. <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
  30. <div class="ul-form">
  31. <label>序号:</label>
  32. <form:input path="gempreferralID" htmlEscape="false" maxlength="20" class="input-medium"/>
  33. <label>会所ID:</label>
  34. <form:input path="gclubID" htmlEscape="false" maxlength="11" class="input-medium"/>
  35. <label>状态:</label>
  36. <form:input path="status" htmlEscape="false" maxlength="50" class="input-medium"/>
  37. &nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
  38. <div class="clearfix"></div>
  39. </div>
  40. </form:form>
  41. <sys:message content="${message}"/>
  42. <table id="contentTable" class="table table-striped table-bordered table-condensed">
  43. <thead>
  44. <tr>
  45. <shiro:hasPermission name="user:cmGempreferral:edit"><th>操作</th></shiro:hasPermission>
  46. </tr>
  47. </thead>
  48. <tbody>
  49. <c:forEach items="${page.list}" var="cmGempreferral">
  50. <tr>
  51. <shiro:hasPermission name="user:cmGempreferral:edit"><td>
  52. <a href="${ctx}/user/cmGempreferral/form?id=${cmGempreferral.id}">编辑</a>
  53. <shiro:hasPermission name="user:cmGempreferral:delete">
  54. <a href="${ctx}/user/cmGempreferral/delete?id=${cmGempreferral.id}" onclick="return confirmx('确认要删除该员工推荐吗?', this.href)">删除</a>
  55. </shiro:hasPermission>
  56. </td></shiro:hasPermission>
  57. </tr>
  58. </c:forEach>
  59. </tbody>
  60. </table>
  61. <div class="pagination">${page}</div>
  62. </body>
  63. </html>