delegate-listMyDelegateInfos.jsp 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <%@page contentType="text/html;charset=UTF-8"%>
  2. <%@include file="/taglibs.jsp"%>
  3. <%pageContext.setAttribute("currentHeader", "bpm-workspace");%>
  4. <%pageContext.setAttribute("currentMenu", "bpm-delegate");%>
  5. <!doctype html>
  6. <html lang="en">
  7. <head>
  8. <%@include file="/common/meta.jsp"%>
  9. <title>流程列表</title>
  10. <%@include file="/common/s.jsp"%>
  11. </head>
  12. <body>
  13. <%@include file="/header/bpm-workspace.jsp"%>
  14. <div class="row-fluid">
  15. <%@include file="/menu/bpm-workspace.jsp"%>
  16. <!-- start of main -->
  17. <section id="m-main" class="span10" style="float:right">
  18. <article class="m-widget">
  19. <header class="header">
  20. <h4 class="title">列表</h4>
  21. </header>
  22. <div class="content">
  23. <table id="demoGrid" class="m-table table-hover">
  24. <thead>
  25. <tr>
  26. <th width="10" class="m-table-check"><input type="checkbox" name="checkAll" onchange="toggleSelectedItems(this.checked)"></th>
  27. <th class="sorting" name="id">编号</th>
  28. <th class="sorting" name="key">委托人</th>
  29. <th class="sorting" name="name">被委托人</th>
  30. <th class="sorting" name="category">开始时间</th>
  31. <th class="sorting" name="version">结束时间</th>
  32. <th class="sorting" name="description">流程定义</th>
  33. <th class="sorting" name="suspended">状态</th>
  34. <th width="150">&nbsp;</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. <c:forEach items="${bpmDelegateInfos}" var="item">
  39. <tr>
  40. <td><input type="checkbox" class="selectedItem" name="selectedItem" value="${item.id}"></td>
  41. <td>${item.id}</td>
  42. <td><tags:user userId="${item.assignee}"/></td>
  43. <td><tags:user userId="${item.attorney}"/></td>
  44. <td><fmt:formatDate value="${item.startTime}" pattern="yyyy-MM-dd"/></td>
  45. <td><fmt:formatDate value="${item.endTime}" pattern="yyyy-MM-dd"/></td>
  46. <td>${item.processDefinitionId}</td>
  47. <td>${item.status == 1 ? '有效' : '无效'}</td>
  48. <td><a href="delegate-removeDelegateInfo.do?id=${item.id}">删除</a></td>
  49. </tr>
  50. </c:forEach>
  51. </tbody>
  52. </table>
  53. </div>
  54. </article>
  55. </section>
  56. <!-- end of main -->
  57. </div>
  58. </body>
  59. </html>