<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp" %>
<html>
<head>
    <title>镇江本部历年项目建设进度统计表</title>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta name="decorator" content="ani"/>
    <%@ include file="/webpage/include/bootstraptable.jsp" %>
    <%@include file="/webpage/include/treeview.jsp" %>
    <%@include file="statisticsList.js" %>
    <style type="text/css">
        td {
            text-align: center;
        }

        table tr:nth-child(2n) {
            background: #f0f0f0;
        }

        /*设置偶数行颜色*/
        table tr:nth-child(2n+1) {
            background: #ffffff;
        }
    </style>
</head>
<body>
<div class="wrapper wrapper-content">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">镇江本部历年项目建设进度汇总表</h3>
        </div>
        <div class="panel-body">
            <div class="row">
                <%--                <div class="col-sm-8 col-md-9">
                                    <!-- 表格 -->
                                    <table id="car1Table" data-toolbar="#toolbar"
                                           style="table-layout: fixed;word-break:break-all;"></table>
                                </div>--%>
                <div class="col-sm-8 col-md-9">
                    <table width="100%" border="1">
                        <tr>
                            <td rowspan="2">年份</td>
                            <td rowspan="2">施工单位</td>
                            <td colspan="2">项目投运状态</td>
                            <td colspan="2">施工单位送审状态</td>
                            <td colspan="2">结算审定状态</td>
                            <td colspan="2">开票状态</td>
                        </tr>
                        <tr>
                            <td>项目已投运</td>
                            <td>项目未投运</td>
                            <td>已送审</td>
                            <td>未送审</td>
                            <td>已审定</td>
                            <td>未审定</td>
                            <td>已开票</td>
                            <td>未开票</td>
                        </tr>
                        <c:forEach items="${PageList}" var="items" varStatus="id">
                            <c:forEach items="${items.planningStatistics}" var="itemss" varStatus="id">
                                <tr>
                                    <td>${itemss.projectYear}</td>
                                    <td>${itemss.constructionUnit}</td>
                                    <td>${itemss.projectOperationStatusT}</td>
                                    <td>${itemss.projectOperationStatusF}</td>
                                    <td>${itemss.whetherIsApprovalT}</td>
                                    <td>${itemss.whetherIsApprovalF}</td>
                                    <td>${itemss.approvedNotT}</td>
                                    <td>${itemss.approvedNotF}</td>
                                    <td>${itemss.approvedNotNotT}</td>
                                    <td>${itemss.approvedNotNotF}</td>
                                </tr>
                            </c:forEach>
                            <tr>
                                <td colspan="2">合计</td>
                                <td>${items.planningStatisticsYear.projectOperationStatusT}</td>
                                <td>${items.planningStatisticsYear.projectOperationStatusF}</td>
                                <td>${items.planningStatisticsYear.whetherIsApprovalT}</td>
                                <td>${items.planningStatisticsYear.whetherIsApprovalF}</td>
                                <td>${items.planningStatisticsYear.approvedNotT}</td>
                                <td>${items.planningStatisticsYear.approvedNotF}</td>
                                <td>${items.planningStatisticsYear.approvedNotNotT}</td>
                                <td>${items.planningStatisticsYear.approvedNotNotF}</td>
                            </tr>
                        </c:forEach>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>