todo.jsp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
  4. <!DOCTYPE html>
  5. <html lang="en">
  6. <head>
  7. <meta charset="utf-8">
  8. <title>江苏省港口建设与经营管理信息系统</title>
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <%@ include file="../common.jsp"%>
  11. <script type="text/javascript" src="${app }/static/biz/js/todo.js"></script>
  12. <script type="text/javascript">
  13. $(document).ready(function () {
  14. todo.init();
  15. initTySelect('selTodo','${type}','','80%');
  16. iFrameHeightIframe('${menuid}');//自适应高度
  17. });
  18. </script>
  19. </head>
  20. <body>
  21. <div class="box" >
  22. <div class="box-content" >
  23. <form action="${app }/todo" id="todoform" method="post">
  24. <div >
  25. <table class="search_table" cellpadding="0" cellspacing="0">
  26. <tr>
  27. <th width="10%"></th>
  28. <th width="25%"></th>
  29. <th width="10%"></th>
  30. <th width="25%"></th>
  31. <th width="10%"></th>
  32. <th width="20%"></th>
  33. </tr>
  34. <tr>
  35. <tr>
  36. <td class="right">
  37. 待办类型 :&nbsp;
  38. </td>
  39. <td >
  40. <div id="selTodo"></div>
  41. </td>
  42. <td class="right">
  43. </td>
  44. <td >
  45. </td>
  46. <td class="right" colspan="2">
  47. <a class="btn btn-default btn-sm" href="#" onclick="todo.search()">
  48. <i class="glyphicon glyphicon-search"></i>
  49. 查询</a>
  50. </td>
  51. </tr>
  52. </table>
  53. </div>
  54. <!-- 列表 -->
  55. <div style="background-color:#f4f4f4;">
  56. <table class="main_table" cellpadding="0" cellspacing="0">
  57. <tr>
  58. <th width="10%">任务类型</th>
  59. <!-- <th width="20%">任务内容</th> -->
  60. <th width="20%">任务标题</th>
  61. <th width="20%">开始时间</th>
  62. <th width="10%">发起人</th>
  63. <th width="20%">处理</th>
  64. </tr>
  65. <c:forEach items="${list}" var="workitem" varStatus="status">
  66. <tr class="tr_bg">
  67. <td>${workitem.processName }</td>
  68. <%-- <td>${workitem.description }</td> --%>
  69. <td>${workitem.description }</td>
  70. <td>${fn:substring(workitem.createTime,0,19)}</td>
  71. <td>${workitem.senderName }</td>
  72. <td>
  73. <c:if test="${workitem.status == 0 }">
  74. <a class="btn btn-default btn-xs" href="#" onclick="todo.banli('${workitem.processKey}','${workitem.businessKey }')">
  75. <i class="glyphicon glyphicon-search"></i>
  76. 办理</a>
  77. </c:if>
  78. <c:if test="${workitem.status == 1 }">
  79. <a class="btn btn-default btn-xs" href="#" onclick="todo.banliTh('${workitem.processKey}','${workitem.businessKey }')">
  80. <i class="glyphicon glyphicon-search"></i>
  81. 办理</a>
  82. </c:if>
  83. </td>
  84. </tr>
  85. </c:forEach>
  86. </table>
  87. </div>
  88. <!-- 分页 -->
  89. <%-- <jsp:include page="../pageinfo.jsp"></jsp:include> --%>
  90. </div>
  91. </form>
  92. </div>
  93. </body>
  94. </html>