msg-info-listReceived.jsp 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <%@page contentType="text/html;charset=UTF-8"%>
  2. <%@include file="/taglibs.jsp"%>
  3. <%pageContext.setAttribute("currentHeader", "pim");%>
  4. <%pageContext.setAttribute("currentMenu", "msg");%>
  5. <%pageContext.setAttribute("currentTitle", "bpm-process-3");%>
  6. <!doctype html>
  7. <html lang="en">
  8. <head>
  9. <%@include file="/common/meta.jsp"%>
  10. <title>收件箱</title>
  11. <%@include file="/common/s3.jsp"%>
  12. <script type="text/javascript">
  13. var config = {
  14. id: 'pimRemindGrid',
  15. pageNo: ${page.pageNo},
  16. pageSize: ${page.pageSize},
  17. totalCount: ${page.totalCount},
  18. resultSize: ${page.resultSize},
  19. pageCount: ${page.pageCount},
  20. orderBy: '${page.orderBy == null ? "" : page.orderBy}',
  21. asc: ${page.asc},
  22. params: {
  23. 'filter_LIKES_content': '${param.filter_LIKES_content}'
  24. },
  25. selectedItemClass: 'selectedItem',
  26. gridFormId: 'pimRemindGridForm',
  27. exportUrl: 'pim-info-export.do'
  28. };
  29. var table;
  30. $(function() {
  31. table = new Table(config);
  32. table.configPagination('.m-pagination');
  33. table.configPageInfo('.m-page-info');
  34. table.configPageSize('.m-page-size');
  35. });
  36. </script>
  37. </head>
  38. <body>
  39. <%request.setAttribute("pageNow", "pim");%>
  40. <%@include file="/header/pim3.jsp"%>
  41. <div class="row-fluid">
  42. <%@include file="/menu/pim3.jsp"%>
  43. <!-- start of main -->
  44. <section id="m-main" class="col-md-10" style=" ">
  45. <div style="margin-bottom: 20px;">
  46. <div class="pull-right">
  47. 每页显示
  48. <select class="m-page-size form-control" style="display:inline;width:auto;">
  49. <option value="10">10</option>
  50. <option value="20">20</option>
  51. <option value="50">50</option>
  52. </select>
  53. </div>
  54. <div class="clearfix"></div>
  55. </div>
  56. <form id="pimRemindGridForm" name="pimRemindGridForm" method='post' action="pim-info-remove.do" class="m-form-blank">
  57. <div class="panel panel-default">
  58. <div class="panel-heading">
  59. 收件箱
  60. </div>
  61. <table id="pimRemindGrid" class="table table-hover">
  62. <thead>
  63. <tr>
  64. <th width="10" class="m-table-check"><input type="checkbox" name="checkAll" onchange="toggleSelectedItems(this.checked)"></th>
  65. <th class="sorting" name="name">标题</th>
  66. <th class="sorting" name="name">发件人</th>
  67. <th class="sorting" name="name">发送时间</th>
  68. <th class="sorting" name="name">状态</th>
  69. </tr>
  70. </thead>
  71. <tbody>
  72. <c:forEach items="${page.result}" var="item">
  73. <tr>
  74. <td><input type="checkbox" class="selectedItem a-check" name="selectedItem" value="${item.id}"></td>
  75. <td><a href="msg-info-view.do?id=${item.id}">${item.name}</a></td>
  76. <td><tags:user userId="${item.senderId}"/></td>
  77. <td><fmt:formatDate value="${item.createTime}" type="both"/></td>
  78. <td>${item.status == 0 ? '未读' : '已读'}</td>
  79. </tr>
  80. </c:forEach>
  81. </tbody>
  82. </table>
  83. </div>
  84. </form>
  85. <div>
  86. <div class="m-page-info pull-left">
  87. 共100条记录 显示1到10条记录
  88. </div>
  89. <div class="btn-group m-pagination pull-right">
  90. <button class="btn btn-default">&lt;</button>
  91. <button class="btn btn-default">1</button>
  92. <button class="btn btn-default">&gt;</button>
  93. </div>
  94. <div class="clearfix"></div>
  95. </div>
  96. </section>
  97. <!-- end of main -->
  98. </div>
  99. </body>
  100. </html>