workspace-listInvolvedProcessInstances.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <%@page contentType="text/html;charset=UTF-8"%>
  2. <%@include file="/taglibs.jsp"%>
  3. <%pageContext.setAttribute("currentHeader", "bpm-workspace");%>
  4. <%pageContext.setAttribute("currentMenu", "bpm-process");%>
  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: 'processGrid',
  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. },
  23. selectedItemClass: 'selectedItem',
  24. gridFormId: 'processGridForm',
  25. exportUrl: 'process-export.do'
  26. };
  27. var table;
  28. $(function() {
  29. table = new Table(config);
  30. table.configPagination('.m-pagination');
  31. table.configPageInfo('.m-page-info');
  32. table.configPageSize('.m-page-size');
  33. });
  34. </script>
  35. </head>
  36. <body>
  37. <%@include file="/header/bpm-workspace3.jsp"%>
  38. <div class="row-fluid">
  39. <%@include file="/menu/bpm-workspace3.jsp"%>
  40. <!-- start of main -->
  41. <section id="m-main" class="col-md-10" style=" ">
  42. <div style="margin-bottom: 20px;">
  43. <div class="pull-right">
  44. 每页显示
  45. <select class="m-page-size form-control" style="display:inline;width:auto;">
  46. <option value="10">10</option>
  47. <option value="20">20</option>
  48. <option value="50">50</option>
  49. </select>
  50. </div>
  51. <div class="clearfix"></div>
  52. </div>
  53. <form id="pimRemindGridForm" name="pimRemindGridForm" method='post' action="pim-note-remove.do" class="m-form-blank">
  54. <div class="panel panel-default">
  55. <div class="panel-heading">
  56. <i class="glyphicon glyphicon-list"></i>
  57. 列表
  58. </div>
  59. <table id="pimRemindGrid" class="table table-hover">
  60. <thead>
  61. <tr>
  62. <th class="sorting" name="id">编号</th>
  63. <th class="sorting" name="name">流程定义</th>
  64. <th class="sorting" name="createTime">创建时间</th>
  65. <th class="sorting" name="endTime">结束时间</th>
  66. <th class="sorting" name="assignee">负责人</th>
  67. <th width="170">&nbsp;</th>
  68. </tr>
  69. </thead>
  70. <tbody>
  71. <c:forEach items="${page.result}" var="item">
  72. <tr>
  73. <td>${item.id}</td>
  74. <td>${item.processDefinitionId}</td>
  75. <td><fmt:formatDate value="${item.startTime}" pattern="yyyy-MM-dd HH:mm:ss" /></td>
  76. <td><fmt:formatDate value="${item.endTime}" pattern="yyyy-MM-dd HH:mm:ss" /></td>
  77. <td><tags:user userId="${item.startUserId}"/></td>
  78. <td>
  79. <a href="workspace-viewHistory.do?processInstanceId=${item.id}">历史</a>
  80. </td>
  81. </tr>
  82. </c:forEach>
  83. </tbody>
  84. </table>
  85. </div>
  86. </form>
  87. <div>
  88. <div class="m-page-info pull-left">
  89. 共100条记录 显示1到10条记录
  90. </div>
  91. <div class="btn-group m-pagination pull-right">
  92. <button class="btn btn-default">&lt;</button>
  93. <button class="btn btn-default">1</button>
  94. <button class="btn btn-default">&gt;</button>
  95. </div>
  96. <div class="clearfix"></div>
  97. </div>
  98. </section>
  99. <!-- end of main -->
  100. </div>
  101. </body>
  102. </html>