todo.jsp 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. var type = '${type}';
  16. $(".typeselectpicker").find("option[value='"+type+"']").attr("selected",true);
  17. iFrameHeightIframe('${menuid}');//自适应高度
  18. });
  19. </script>
  20. </head>
  21. <body>
  22. <div class="box" >
  23. <div class="box-content" >
  24. <form action="${app }/todo" id="todoform" method="post">
  25. <div >
  26. <table class="search_table" cellpadding="0" cellspacing="0">
  27. <tr>
  28. <th width="10%"></th>
  29. <th width="25%"></th>
  30. <th width="10%"></th>
  31. <th width="25%"></th>
  32. <th width="10%"></th>
  33. <th width="20%"></th>
  34. </tr>
  35. <tr>
  36. <tr>
  37. <td class="right">
  38. 待办类型 :&nbsp;
  39. </td>
  40. <td >
  41. <select id="type" name="type" class='typeselectpicker'>
  42. <option value="all">全部</option>
  43. <c:if test="${ssflag == 1 }">
  44. <option value="dcsb">单船申报</option>
  45. <option value="xkzsq">许可证申请</option>
  46. <option value="xkzbg">许可证变更</option>
  47. <option value="xkzyx">许可证延续</option>
  48. <option value="xkzzx">许可证注销</option>
  49. <option value="jdtx">监督提醒</option>
  50. <option value="qt">其他</option>
  51. </c:if>
  52. <c:if test="${ssflag == 0 }">
  53. <option value="lhsq">理货申请</option>
  54. <option value="lhbg">理货变更 </option>
  55. <option value="lhyx">理货延续</option>
  56. <option value="jsjdcbsj">建设进度初步设计申请</option>
  57. <option value="jsjdbg">建设进度初步设计变更</option>
  58. <option value="jgsq">建设进度竣工申请</option>
  59. <option value="jdtx">监督提醒申请</option>
  60. </c:if>
  61. </select>
  62. </td>
  63. <td class="right">
  64. </td>
  65. <td >
  66. </td>
  67. <td class="right" colspan="2">
  68. <a class="btn btn-default btn-sm" href="#" onclick="todo.search()">
  69. <i class="glyphicon glyphicon-search"></i>
  70. 查询</a>
  71. </td>
  72. </tr>
  73. </table>
  74. </div>
  75. <!-- 列表 -->
  76. <div style="background-color:#f4f4f4;">
  77. <table class="main_table" cellpadding="0" cellspacing="0">
  78. <tr>
  79. <th width="10%">任务类型</th>
  80. <!-- <th width="20%">任务内容</th> -->
  81. <th width="20%">任务标题</th>
  82. <th width="20%">开始时间</th>
  83. <th width="10%">发起人</th>
  84. <th width="20%">处理</th>
  85. </tr>
  86. <c:forEach items="${list}" var="workitem" varStatus="status">
  87. <tr class="tr_bg">
  88. <td>${workitem.processName }</td>
  89. <%-- <td>${workitem.description }</td> --%>
  90. <td>${workitem.description }</td>
  91. <td>${fn:substring(workitem.createTime,0,19)}</td>
  92. <td>${workitem.senderName }</td>
  93. <td>
  94. <c:if test="${workitem.status == 0 }">
  95. <a class="btn btn-default btn-xs" href="#" onclick="todo.banli('${workitem.processKey}','${workitem.businessKey }')">
  96. <i class="glyphicon glyphicon-search"></i>
  97. 办理</a>
  98. </c:if>
  99. <c:if test="${workitem.status == 1 }">
  100. <a class="btn btn-default btn-xs" href="#" onclick="todo.banliTh('${workitem.processKey}','${workitem.businessKey }')">
  101. <i class="glyphicon glyphicon-search"></i>
  102. 办理</a>
  103. </c:if>
  104. </td>
  105. </tr>
  106. </c:forEach>
  107. </table>
  108. </div>
  109. <!-- 分页 -->
  110. <%-- <jsp:include page="../pageinfo.jsp"></jsp:include> --%>
  111. </div>
  112. </form>
  113. </div>
  114. </body>
  115. </html>