delegate-listMyDelegateInfos.jsp 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <%@page contentType="text/html;charset=UTF-8"%>
  2. <%@include file="/taglibs.jsp"%>
  3. <%pageContext.setAttribute("currentHeader", "pim");%>
  4. <%pageContext.setAttribute("currentMenu", "bpm-delegate");%>
  5. <%pageContext.setAttribute("currentTitle", "bpm-process-9");%>
  6. <!doctype html>
  7. <html lang="en">
  8. <head>
  9. <%@include file="/common/meta.jsp"%>
  10. <title>列表</title>
  11. <%@include file="/common/s3.jsp"%>
  12. </head>
  13. <body>
  14. <%@include file="/header/bpm-workspace3.jsp"%>
  15. <div class="row-fluid">
  16. <%@include file="/menu/bpm-workspace3.jsp"%>
  17. <!-- start of main -->
  18. <section id="m-main" class="col-md-10" style=" ">
  19. <div style="margin-bottom: 20px;">
  20. <div class="pull-left btn-group" role="group">
  21. <button class="btn btn-default a-insert" onclick="location.href='delegate-prepareAutoDelegate.do'">新建</button>
  22. </div>
  23. <div class="clearfix"></div>
  24. </div>
  25. <form id="pimRemindGridForm" name="pimRemindGridForm" method='post' action="pim-note-remove.do" class="m-form-blank">
  26. <div class="panel panel-default">
  27. <div class="panel-heading">
  28. <i class="glyphicon glyphicon-list"></i>
  29. 列表
  30. </div>
  31. <table id="pimRemindGrid" class="table table-hover">
  32. <thead>
  33. <tr>
  34. <%--
  35. <th width="10" class="m-table-check"><input type="checkbox" name="checkAll" onchange="toggleSelectedItems(this.checked)"></th>
  36. --%>
  37. <th class="sorting" name="key">&nbsp;委托人</th>
  38. <th class="sorting" name="name">被委托人</th>
  39. <th class="sorting" name="category">开始时间</th>
  40. <th class="sorting" name="version">结束时间</th>
  41. <th class="sorting" name="description">流程定义</th>
  42. <th class="sorting" name="description">任务</th>
  43. <th class="sorting" name="suspended">状态</th>
  44. <th width="80">&nbsp;</th>
  45. </tr>
  46. </thead>
  47. <tbody>
  48. <c:forEach items="${delegateInfos}" var="item">
  49. <tr>
  50. <%--
  51. <td><input type="checkbox" class="selectedItem a-check" name="selectedItem" value="${item.id}"></td>
  52. --%>
  53. <td>&nbsp;<tags:user userId="${item.assignee}"/></td>
  54. <td><tags:user userId="${item.attorney}"/></td>
  55. <td><fmt:formatDate value="${item.startTime}" pattern="yyyy-MM-dd"/></td>
  56. <td><fmt:formatDate value="${item.endTime}" pattern="yyyy-MM-dd"/></td>
  57. <td>${item.processDefinitionId}</td>
  58. <td>${item.taskDefinitionKey}</td>
  59. <td>${item.status == 1 ? '有效' : '无效'}</td>
  60. <td><a href="delegate-removeDelegateInfo.do?id=${item.id}">删除</a></td>
  61. </tr>
  62. </c:forEach>
  63. </tbody>
  64. </table>
  65. </div>
  66. </form>
  67. </section>
  68. <!-- end of main -->
  69. </div>
  70. </body>
  71. </html>