monthProgress_kg_list.jsp 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  4. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  5. <%
  6. String path = request.getContextPath();
  7. String basePath = request.getScheme() + "://"
  8. + request.getServerName() + ":" + request.getServerPort()
  9. + path + "/";
  10. %>
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14. <base href="<%=basePath%>">
  15. <!-- 下拉框 -->
  16. <link rel="stylesheet" href="static/ace/css/chosen.css" />
  17. <!-- jsp文件头和头部 -->
  18. <%@ include file="../../system/index/top.jsp"%>
  19. <!-- 日期框 -->
  20. <link rel="stylesheet" href="static/ace/css/datepicker.css" />
  21. <link rel="stylesheet" href="static/ace/css/annualPlan/annualPlan.css" />
  22. </head>
  23. <body class="no-skin">
  24. <!-- /section:basics/navbar.layout -->
  25. <div class="main-container" id="main-container">
  26. <!-- /section:basics/sidebar -->
  27. <div class="main-content">
  28. <div class="main-content-inner">
  29. <div class="page-content">
  30. <div class="row">
  31. <div class="col-xs-12">
  32. <!-- 检索 -->
  33. <form action="monthProgress/list.do" method="post" name="Form" id="Form">
  34. <div id="user_company" style='display:none;'>${userInfo.COMPANY}</div>
  35. <c:choose>
  36. <c:when test="${not empty varList}">
  37. <c:forEach items="${varList}" var="year" varStatus="vs">
  38. <div class="ydwcqk">
  39. <div class="ydwcqk_title">
  40. <p>${year}年月度完成情况</p>
  41. </div>
  42. <table class="ydb">
  43. <tr>
  44. <th class="click" id="dailyComp" onclick="showDailyTable(this,'${year}')">日常养护</th>
  45. <th class="click" id="monthly_prevention_completion" onclick="showSumTable(this,'${year}','highway_prevention_project_dettable')">预防养护</th>
  46. </tr>
  47. <tr>
  48. <th class="click" id="monthly_repair_completion" onclick="showSumTable(this,'${year}','highway_repair_project_dettable')">修复养护</th>
  49. <th class="click" id="monthly_special_completion" onclick="showSumTable(this,'${year}','highway_special_project_dettable')">专项养护</th>
  50. </tr>
  51. <tr>
  52. <th class="click" id="monthly_emergency_completion" onclick="showSumTable(this,'${year}','highway_emergency_project_dettable')">应急养护</th>
  53. <th class="click" id="monthly_test_project_completion" onclick="showSumTable(this,'${year}','highway_test_project_dettable')">试验检测项目</th>
  54. </tr>
  55. <tr>
  56. <th class="click" id="monthly_scientific_project_completion" onclick="showSumTable(this,'${year}','highway_scientific_project_dettable')">科研项目</th>
  57. <th class="click" id="monthly_equipment_overhaul_completion" onclick="showSumTable(this,'${year}','highway_equipment_overhaul_project_dettable')">设备大修项目</th>
  58. </tr>
  59. <tr>
  60. <th></th>
  61. <th class="click" id="highway_reserve_fees_sumtable_view" onclick="showDettTable(this,'${year}','highway_reserve_fees_sumtable_view')">预备费</th>
  62. </tr>
  63. </table>
  64. </div>
  65. </c:forEach>
  66. </c:when>
  67. </c:choose>
  68. <div class="page-header position-relative">
  69. <table style="width:100%;">
  70. <tr>
  71. <td style="vertical-align:top;">
  72. <%-- <c:if test="${roleName == '系统管理组' || roleName == '路桥公司管理员'}">
  73. <a class="btn btn-mini btn-success" onclick="add();">新增</a>
  74. </c:if> --%>
  75. </td>
  76. <td style="vertical-align:top;"><div class="pagination" style="float: right;padding-top: 0px;margin-top: 0px;">${page.pageStr}</div></td>
  77. </tr>
  78. </table>
  79. </div>
  80. </form>
  81. </div>
  82. <!-- /.col -->
  83. </div>
  84. <!-- /.row -->
  85. </div>
  86. <!-- /.page-content -->
  87. </div>
  88. </div>
  89. <!-- /.main-content -->
  90. <!-- 返回顶部 -->
  91. <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
  92. <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
  93. </a>
  94. </div>
  95. <!-- /.main-container -->
  96. <!-- basic scripts -->
  97. <!-- 页面底部js¨ -->
  98. <%@ include file="../../system/index/foot.jsp"%>
  99. <!-- 删除时确认窗口 -->
  100. <script src="static/ace/js/bootbox.js"></script>
  101. <!-- ace scripts -->
  102. <script src="static/ace/js/ace/ace.js"></script>
  103. <!-- 下拉框 -->
  104. <script src="static/ace/js/chosen.jquery.js"></script>
  105. <!-- 日期框 -->
  106. <script src="static/ace/js/date-time/bootstrap-datepicker.js"></script>
  107. <!--提示框-->
  108. <script type="text/javascript" src="static/js/jquery.tips.js"></script>
  109. <script type="text/javascript">
  110. $(getTop(globalThis).hangge());//关闭加载状态
  111. //获取报告中所有表格列表
  112. function showSumTable(e,year,planTable){
  113. getTop(globalThis).jzts();
  114. var id = e.id;
  115. console.log(id)
  116. var name = e.innerText;
  117. getTop(globalThis).mainFrame.tabAddHandler(id,name,"monthProgress/showSumTable.do?YEAR=" + year + "&type="+id + "&planTable=" + planTable);
  118. };
  119. //获取报告中预备费表格列表
  120. function showDettTable(e,year,tableName){
  121. //debugger;
  122. getTop(globalThis).jzts();
  123. var id = e.id;
  124. var name = e.innerText;
  125. console.log(tableName)
  126. getTop(globalThis).mainFrame.tabAddHandler(0,name,"annualPlanComp/showDettTable.do?YEAR=" + year + "&type="+id + "&name="+name + "&TABLENAME="+tableName );
  127. };
  128. function showDailyTable(e,year){
  129. getTop(globalThis).jzts();
  130. var id = e.id;
  131. getTop(globalThis).mainFrame.tabAddHandler(id,"日常养护","monthProgress/showDailyTable.do?YEAR=" + year);
  132. }
  133. </script>
  134. </body>
  135. </html>