123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme() + "://"
- + request.getServerName() + ":" + request.getServerPort()
- + path + "/";
- %>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <base href="<%=basePath%>">
- <!-- 下拉框 -->
- <link rel="stylesheet" href="static/ace/css/chosen.css" />
- <!-- jsp文件头和头部 -->
- <%@ include file="../../system/index/top.jsp"%>
- <!-- 日期框 -->
- <link rel="stylesheet" href="static/ace/css/datepicker.css" />
- <link rel="stylesheet" href="static/ace/css/annualPlan/annualPlan.css" />
- </head>
- <body class="no-skin">
- <!-- /section:basics/navbar.layout -->
- <div class="main-container" id="main-container">
- <!-- /section:basics/sidebar -->
- <div class="main-content">
- <div class="main-content-inner">
- <div class="page-content">
- <div class="row">
- <div class="col-xs-12">
-
- <!-- 检索 -->
- <form action="monthProgress/list.do" method="post" name="Form" id="Form">
- <div id="user_company" style='display:none;'>${userInfo.COMPANY}</div>
-
- <c:choose>
- <c:when test="${not empty varList}">
- <c:forEach items="${varList}" var="year" varStatus="vs">
- <div class="ydwcqk">
- <div class="ydwcqk_title">
- <p>${year}年月度完成情况</p>
- </div>
- <table class="ydb">
- <tr>
- <th class="click" id="dailyComp" onclick="showDailyTable(this,'${year}')">日常养护</th>
- <th class="click" id="monthly_prevention_completion" onclick="showSumTable(this,'${year}','highway_prevention_project_dettable')">预防养护</th>
- </tr>
- <tr>
- <th class="click" id="monthly_repair_completion" onclick="showSumTable(this,'${year}','highway_repair_project_dettable')">修复养护</th>
- <th class="click" id="monthly_special_completion" onclick="showSumTable(this,'${year}','highway_special_project_dettable')">专项养护</th>
- </tr>
- <tr>
- <th class="click" id="monthly_emergency_completion" onclick="showSumTable(this,'${year}','highway_emergency_project_dettable')">应急养护</th>
- <th class="click" id="monthly_test_project_completion" onclick="showSumTable(this,'${year}','highway_test_project_dettable')">试验检测项目</th>
- </tr>
- <tr>
- <th class="click" id="monthly_scientific_project_completion" onclick="showSumTable(this,'${year}','highway_scientific_project_dettable')">科研项目</th>
- <th class="click" id="monthly_equipment_overhaul_completion" onclick="showSumTable(this,'${year}','highway_equipment_overhaul_project_dettable')">设备大修项目</th>
- </tr>
- <tr>
- <th></th>
- <th class="click" id="highway_reserve_fees_sumtable_view" onclick="showDettTable(this,'${year}','highway_reserve_fees_sumtable_view')">预备费</th>
- </tr>
- </table>
- </div>
- </c:forEach>
- </c:when>
- </c:choose>
- <div class="page-header position-relative">
- <table style="width:100%;">
- <tr>
- <td style="vertical-align:top;">
- <%-- <c:if test="${roleName == '系统管理组' || roleName == '路桥公司管理员'}">
- <a class="btn btn-mini btn-success" onclick="add();">新增</a>
- </c:if> --%>
- </td>
- <td style="vertical-align:top;"><div class="pagination" style="float: right;padding-top: 0px;margin-top: 0px;">${page.pageStr}</div></td>
- </tr>
- </table>
- </div>
- </form>
-
- </div>
- <!-- /.col -->
- </div>
- <!-- /.row -->
- </div>
- <!-- /.page-content -->
- </div>
- </div>
- <!-- /.main-content -->
- <!-- 返回顶部 -->
- <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
- <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
- </a>
- </div>
- <!-- /.main-container -->
- <!-- basic scripts -->
- <!-- 页面底部js¨ -->
- <%@ include file="../../system/index/foot.jsp"%>
- <!-- 删除时确认窗口 -->
- <script src="static/ace/js/bootbox.js"></script>
- <!-- ace scripts -->
- <script src="static/ace/js/ace/ace.js"></script>
- <!-- 下拉框 -->
- <script src="static/ace/js/chosen.jquery.js"></script>
- <!-- 日期框 -->
- <script src="static/ace/js/date-time/bootstrap-datepicker.js"></script>
- <!--提示框-->
- <script type="text/javascript" src="static/js/jquery.tips.js"></script>
- <script type="text/javascript">
- $(getTop(globalThis).hangge());//关闭加载状态
-
- //获取报告中所有表格列表
- function showSumTable(e,year,planTable){
- getTop(globalThis).jzts();
- var id = e.id;
- console.log(id)
- var name = e.innerText;
- getTop(globalThis).mainFrame.tabAddHandler(id,name,"monthProgress/showSumTable.do?YEAR=" + year + "&type="+id + "&planTable=" + planTable);
- };
-
- //获取报告中预备费表格列表
- function showDettTable(e,year,tableName){
- //debugger;
- getTop(globalThis).jzts();
- var id = e.id;
- var name = e.innerText;
-
- console.log(tableName)
-
- getTop(globalThis).mainFrame.tabAddHandler(0,name,"annualPlanComp/showDettTable.do?YEAR=" + year + "&type="+id + "&name="+name + "&TABLENAME="+tableName );
- };
-
- function showDailyTable(e,year){
- getTop(globalThis).jzts();
- var id = e.id;
- getTop(globalThis).mainFrame.tabAddHandler(id,"日常养护","monthProgress/showDailyTable.do?YEAR=" + year);
- }
- </script>
- </body>
- </html>
|