workspace-listProcessDefinitions.jsp 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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/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="${processDefinitions}" var="item">
  39. <tr>
  40. <td><input type="checkbox" class="selectedItem" name="selectedItem" value="${item.id}"></td>
  41. <td>${item.id}</td>
  42. <td>${item.key}</td>
  43. <td>${item.name}</td>
  44. <td>${item.category}</td>
  45. <td>${item.version}</td>
  46. <td>${item.description}</td>
  47. <td>${item.suspended ? '挂起' : '激活'}</td>
  48. <td>
  49. <a href="${tenantPrefix}/form/form-viewStartForm.do?processDefinitionId=${item.id}">发起流程</a>
  50. <a href="workspace-graphProcessDefinition.do?processDefinitionId=${item.id}" target="_blank">流程图</a>
  51. </td>
  52. </tr>
  53. </c:forEach>
  54. </tbody>
  55. </table>
  56. </div>
  57. </article>
  58. </section>
  59. <!-- end of main -->
  60. </div>
  61. </body>
  62. </html>