process-operation-listDrafts.jsp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. <%pageContext.setAttribute("currentTitle", "bpm-process-4");%>
  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. <script type="text/javascript">
  13. var config = {
  14. id: 'dynamicModelGrid',
  15. pageNo: ${empty page.pageNo ? 1 : page.pageNo},
  16. pageSize: ${empty page.pageSize ? 10 : page.pageSize},
  17. totalCount: ${empty page.totalCount ? 10 : page.totalCount},
  18. resultSize: ${empty page.resultSize ? 10 : page.resultSize},
  19. pageCount: ${empty page.pageCount ? 1 : page.pageCount},
  20. orderBy: '${page.orderBy == null ? "" : page.orderBy}',
  21. asc: ${empty page.asc ? 'true' : page.asc},
  22. params: {
  23. },
  24. selectedItemClass: 'selectedItem',
  25. gridFormId: 'dynamicModelGridForm',
  26. exportUrl: 'form-template-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/bpm-workspace3.jsp"%>
  39. <div class="row-fluid">
  40. <%@include file="/menu/bpm-workspace3.jsp"%>
  41. <!-- start of main -->
  42. <section id="m-main" class="col-md-10" style=" ">
  43. <!--
  44. <div class="panel panel-default">
  45. <div class="panel-heading">
  46. 查询
  47. <div class="pull-right ctrl">
  48. <a class="btn btn-default btn-xs"><i id="pimRemindSearchIcon" class="glyphicon glyphicon-chevron-up"></i></a>
  49. </div>
  50. </div>
  51. <div class="panel-body">
  52. </div>
  53. </div>
  54. -->
  55. <div style="margin-bottom: 20px;">
  56. <!--
  57. <div class="pull-left btn-group" role="group">
  58. <button class="btn btn-default a-insert" onclick="location.href='pim-info-input.do'">新建</button>
  59. <button class="btn btn-default a-remove" onclick="table.removeAll()">删除</button>
  60. <button class="btn btn-default a-export" onclick="table.exportExcel()">导出</button>
  61. </div>
  62. -->
  63. <div class="pull-right">
  64. 每页显示
  65. <select class="m-page-size form-control" style="display:inline;width:auto;">
  66. <option value="10">10</option>
  67. <option value="20">20</option>
  68. <option value="50">50</option>
  69. </select>
  70. </div>
  71. <div class="clearfix"></div>
  72. </div>
  73. <form id="pimRemindGridForm" name="pimRemindGridForm" method='post' action="#" class="m-form-blank">
  74. <div class="panel panel-default">
  75. <div class="panel-heading">
  76. <i class="glyphicon glyphicon-list"></i>
  77. 列表
  78. </div>
  79. <table id="pimRemindGrid" class="table table-hover">
  80. <thead>
  81. <tr>
  82. <%--
  83. <th width="10" class="m-table-check"><input type="checkbox" name="checkAll" onchange="toggleSelectedItems(this.checked)"></th>
  84. --%>
  85. <th class="sorting" name="name">名称</th>
  86. <th class="sorting" name="name">创建时间</th>
  87. <th class="sorting" name="status">状态</th>
  88. <th width="120">&nbsp;</th>
  89. </tr>
  90. </thead>
  91. <tbody>
  92. <c:forEach items="${page.result}" var="item">
  93. <tr>
  94. <%--
  95. <td><input type="checkbox" class="selectedItem" name="selectedItem" value="${item.code}"></td>
  96. --%>
  97. <td>${item.name}</td>
  98. <td><fmt:formatDate value="${item.createTime}" type="both"/></td>
  99. <td>${item.status == 0 ? '流程草稿' : '任务草稿'}</td>
  100. <td>
  101. <a href="process-operation-viewStartForm.do?businessKey=${item.code}&bpmProcessId=${item.category}">编辑</a>
  102. &nbsp;
  103. <a href="process-operation-removeDraft.do?code=${item.code}">删除</a>
  104. </td>
  105. </tr>
  106. </c:forEach>
  107. </tbody>
  108. </table>
  109. </div>
  110. </form>
  111. <div>
  112. <div class="m-page-info pull-left">
  113. 共100条记录 显示1到10条记录
  114. </div>
  115. <div class="btn-group m-pagination pull-right">
  116. <button class="btn btn-default">&lt;</button>
  117. <button class="btn btn-default">1</button>
  118. <button class="btn btn-default">&gt;</button>
  119. </div>
  120. <div class="clearfix"></div>
  121. </div>
  122. </section>
  123. <!-- end of main -->
  124. </div>
  125. </body>
  126. </html>