projectAppointmentList.jsp 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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}/project/projectAppointment/">项目预约列表</a></li>
  25. <shiro:hasPermission name="project:projectAppointment:edit"><li><a href="${ctx}/project/projectAppointment/form">项目预约添加</a></li></shiro:hasPermission>
  26. </ul>
  27. <form:form id="searchForm" modelAttribute="projectAppointment" action="${ctx}/project/projectAppointment/" 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="appointmentClubName" htmlEscape="false" maxlength="100" class="input-medium"/>
  33. <label>联系方式:</label>
  34. <form:input path="contactWay" htmlEscape="false" maxlength="50" class="input-medium"/>
  35. <label>openid:</label>
  36. <form:input path="openid" htmlEscape="false" maxlength="100" 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. <th>会所名称</th>
  46. <th>联系方式</th>
  47. <th>openid</th>
  48. <th>预约时间</th>
  49. <th>备注</th>
  50. <shiro:hasPermission name="project:projectAppointment:edit"><th>操作</th></shiro:hasPermission>
  51. </tr>
  52. </thead>
  53. <tbody>
  54. <c:forEach items="${page.list}" var="projectAppointment">
  55. <tr>
  56. <td><a href="${ctx}/project/projectAppointment/form?id=${projectAppointment.id}">
  57. ${projectAppointment.appointmentClubName}
  58. </a></td>
  59. <td>
  60. ${projectAppointment.contactWay}
  61. </td>
  62. <td>
  63. ${projectAppointment.openid}
  64. </td>
  65. <td>
  66. <fmt:formatDate value="${projectAppointment.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
  67. </td>
  68. <td>
  69. ${projectAppointment.remarks}
  70. </td>
  71. <shiro:hasPermission name="project:projectAppointment:edit"><td>
  72. <a href="${ctx}/project/projectAppointment/form?id=${projectAppointment.id}">编辑</a>
  73. <shiro:hasPermission name="project:projectAppointment:delete">
  74. <a href="${ctx}/project/projectAppointment/delete?id=${projectAppointment.id}" onclick="return confirmx('确认要删除该预约项目吗?', this.href)">删除</a>
  75. </shiro:hasPermission>
  76. </td></shiro:hasPermission>
  77. </tr>
  78. </c:forEach>
  79. </tbody>
  80. </table>
  81. <div class="pagination">${page}</div>
  82. </body>
  83. </html>