issues.jsp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <%@page contentType="text/html;charset=UTF-8"%>
  2. <%@include file="/taglibs.jsp"%>
  3. <%pageContext.setAttribute("currentHeader", "plm");%>
  4. <%pageContext.setAttribute("currentMenu", "plm");%>
  5. <!doctype html>
  6. <html lang="en">
  7. <head>
  8. <%@include file="/common/meta.jsp"%>
  9. <title>列表</title>
  10. <%@include file="/common/s3.jsp"%>
  11. <script type="text/javascript">
  12. var config = {
  13. id: 'pimInfoGrid',
  14. pageNo: ${page.pageNo},
  15. pageSize: ${page.pageSize},
  16. totalCount: ${page.totalCount},
  17. resultSize: ${page.resultSize},
  18. pageCount: ${page.pageCount},
  19. orderBy: '${page.orderBy == null ? "" : page.orderBy}',
  20. asc: ${page.asc},
  21. params: {
  22. 'filter_LIKES_name': '${param.filter_LIKES_name}'
  23. },
  24. selectedItemClass: 'selectedItem',
  25. gridFormId: 'pimInfoGridForm',
  26. exportUrl: 'pim-info-export.do'
  27. };
  28. var table;
  29. $(function() {
  30. table = new Table(config);
  31. table.configPagination('.m-pagination');
  32. table.configPageInfo('.m-page-info');
  33. table.configPageSize('.m-page-size');
  34. });
  35. </script>
  36. </head>
  37. <body>
  38. <%@include file="/header/plm.jsp"%>
  39. <div class="row-fluid">
  40. <!-- start of sidebar -->
  41. <div class="panel-group col-md-2" id="accordion" role="tablist" aria-multiselectable="true" style=" ">
  42. <div class="panel panel-default">
  43. <div class="panel-heading" role="tab" id="collapse-header-user" data-toggle="collapse" data-parent="#accordion" href="#collapse-body-auth" aria-expanded="true" aria-controls="collapse-body-auth">
  44. <h4 class="panel-title">
  45. <i class="glyphicon glyphicon-list"></i>
  46. &nbsp;
  47. </h4>
  48. </div>
  49. <div id="collapse-body-auth" class="panel-collapse collapse ${currentMenu == 'plm' ? 'in' : ''}" role="tabpanel" aria-labelledby="collapse-header-auth">
  50. <div class="panel-body">
  51. <ul class="nav nav-list">
  52. <li><a href="${tenantPrefix}/plm/index.do"><i class="glyphicon glyphicon-list"></i> 返回首页</a></li>
  53. </ul>
  54. </div>
  55. </div>
  56. </div>
  57. <footer id="m-footer" class="text-center">
  58. <hr>
  59. &copy; 江西军民融合
  60. </footer>
  61. </div>
  62. <!-- start of main -->
  63. <section id="m-main" class="col-md-10" style=" ">
  64. <form id="plmGridForm" name="plmGridForm" method='post' action="plm-project-remove.do" class="m-form-blank">
  65. <div class="panel panel-default">
  66. <div class="panel-heading">
  67. <i class="glyphicon glyphicon-list"></i>
  68. 任务
  69. <div class="pull-right ctrl">
  70. <a class="btn btn-default btn-xs"><i id="audit-baseSearchIcon" class="glyphicon glyphicon-chevron-up"></i></a>
  71. </div>
  72. </div>
  73. <table id="plmGrid" class="table table-hover">
  74. <thead>
  75. <tr>
  76. <th class="sorting" name="id"><spring:message code="plm.plm.list.id" text="编号"/></th>
  77. <th>类型</th>
  78. <th>名称</th>
  79. <th>创建时间</th>
  80. <th>报告人</th>
  81. <th>负责人</th>
  82. <th>状态</th>
  83. </tr>
  84. </thead>
  85. <tbody>
  86. <c:forEach var="item" items="${page.result}">
  87. <tr>
  88. <td>${item.id}</td>
  89. <td>${item.type}</td>
  90. <td><a href="issue.do?id=${item.id}">${item.name}</a></td>
  91. <td><fmt:formatDate value="${item.createTime}" type="both"/></td>
  92. <td><tags:user userId="${item.reporterId}"/></td>
  93. <td><tags:user userId="${item.assigneeId}"/></td>
  94. <td>${item.status}</td>
  95. </tr>
  96. </c:forEach>
  97. </tbody>
  98. </table>
  99. </div>
  100. </form>
  101. <div class="m-spacer"></div>
  102. </section>
  103. <!-- end of main -->
  104. </div>
  105. </body>
  106. </html>