performance-info-list.jsp 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <%@page contentType="text/html;charset=UTF-8"%>
  2. <%@include file="/taglibs.jsp"%>
  3. <%pageContext.setAttribute("currentHeader", "performance");%>
  4. <%pageContext.setAttribute("currentMenu", "performance");%>
  5. <!doctype html>
  6. <html lang="en">
  7. <head>
  8. <%@include file="/common/meta.jsp"%>
  9. <title><spring:message code="dev.performance-info.list.title" text="列表"/></title>
  10. <%@include file="/common/s3.jsp"%>
  11. <script type="text/javascript">
  12. var config = {
  13. id: 'performance-infoGrid',
  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: 'performance-infoGridForm',
  26. exportUrl: 'performance-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/performance-info.jsp"%>
  39. <div class="row-fluid">
  40. <%@include file="/menu/performance-info.jsp"%>
  41. <!-- start of main -->
  42. <section id="m-main" class="col-md-10" style=" ">
  43. <div class="panel panel-default">
  44. <div class="panel-heading">
  45. <i class="glyphicon glyphicon-list"></i>
  46. 查询
  47. <div class="pull-right ctrl">
  48. <a class="btn btn-default btn-xs"><i id="performance-infoSearchIcon" class="glyphicon glyphicon-chevron-up"></i></a>
  49. </div>
  50. </div>
  51. <div class="panel-body">
  52. <form name="performance-infoForm" method="post" action="performance-info-list.do" class="form-inline">
  53. <label for="performance-info_name"><spring:message code='performance-info.performance-info.list.search.name' text='名称'/>:</label>
  54. <input type="text" id="performance-info_name" name="filter_LIKES_name" value="${param.filter_LIKES_name}" class="form-control">
  55. <button class="btn btn-default a-search" onclick="document.performance-infoForm.submit()">查询</button>&nbsp;
  56. </form>
  57. </div>
  58. </div>
  59. <div style="margin-bottom: 20px;">
  60. <div class="pull-left btn-group" role="group">
  61. <button class="btn btn-default a-insert" onclick="location.href='performance-info-input.do'">新建</button>
  62. <button class="btn btn-default a-remove" onclick="table.removeAll()">删除</button>
  63. <button class="btn btn-default a-export" onclick="table.exportExcel()">导出</button>
  64. </div>
  65. <div class="pull-right">
  66. 每页显示
  67. <select class="m-page-size form-control" style="display:inline;width:auto;">
  68. <option value="10">10</option>
  69. <option value="20">20</option>
  70. <option value="50">50</option>
  71. </select>
  72. </div>
  73. <div class="clearfix"></div>
  74. </div>
  75. <form id="performance-infoGridForm" name="performance-infoGridForm" method='post' action="performance-info-remove.do" class="m-form-blank">
  76. <div class="panel panel-default">
  77. <div class="panel-heading">
  78. <i class="glyphicon glyphicon-list"></i>
  79. <spring:message code="scope-info.scope-info.list.title" text="列表"/>
  80. </div>
  81. <table id="performance-infoGrid" class="table table-hover">
  82. <thead>
  83. <tr>
  84. <th width="10" class="table-check"><input type="checkbox" name="checkAll" onchange="toggleSelectedItems(this.checked)"></th>
  85. <th class="sorting" name="id"><spring:message code="performance-info.performance-info.list.id" text="编号"/></th>
  86. <th class="sorting" name="name"><spring:message code="performance-info.performance-info.list.name" text="名称"/></th>
  87. <th width="80">&nbsp;</th>
  88. </tr>
  89. </thead>
  90. <tbody>
  91. <c:forEach items="${page.result}" var="item">
  92. <tr>
  93. <td><input type="checkbox" class="selectedItem a-check" name="selectedItem" value="${item.id}"></td>
  94. <td>${item.id}</td>
  95. <td>${item.name}</td>
  96. <td>
  97. <a href="performance-info-input.do?id=${item.id}" class="a-update"><spring:message code="core.list.edit" text="编辑"/></a>
  98. </td>
  99. </tr>
  100. </c:forEach>
  101. </tbody>
  102. </table>
  103. </div>
  104. </form>
  105. <div>
  106. <div class="m-page-info pull-left">
  107. 共100条记录 显示1到10条记录
  108. </div>
  109. <div class="btn-group m-pagination pull-right">
  110. <button class="btn btn-default">&lt;</button>
  111. <button class="btn btn-default">1</button>
  112. <button class="btn btn-default">&gt;</button>
  113. </div>
  114. <div class="clearfix"></div>
  115. </div>
  116. <div class="m-spacer"></div>
  117. </section>
  118. <!-- end of main -->
  119. </div>
  120. </body>
  121. </html>