|
@@ -6,7 +6,8 @@
|
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
|
<meta name="decorator" content="ani"/>
|
|
|
<%@ include file="/webpage/include/bootstraptable.jsp"%>
|
|
|
- <%@include file="reportList.js" %>
|
|
|
+ <%@ include file="/webpage/include/echarts.jsp"%>
|
|
|
+ <%--<%@include file="reportList.js" %>--%>
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="wrapper wrapper-content">
|
|
@@ -73,10 +74,87 @@
|
|
|
<%--</div>--%>
|
|
|
|
|
|
<!-- 表格 -->
|
|
|
- <table id="reportTable" data-toolbar="#toolbar"></table>
|
|
|
+ <%--<table id="reportTable" data-toolbar="#toolbar"></table>--%>
|
|
|
|
|
|
<!-- context menu -->
|
|
|
+ <table class="table table-bordered">
|
|
|
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th> </th>
|
|
|
+ <c:forEach items="${list}" var="data" varStatus="index">
|
|
|
+ <th>${data.name}</th>
|
|
|
+ </c:forEach>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>完成</th>
|
|
|
+ <c:forEach items="${list}" var="data" varStatus="index">
|
|
|
+ <th>${data.finishCount}</th>
|
|
|
+ </c:forEach>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>未完成</th>
|
|
|
+ <c:forEach items="${list}" var="data" varStatus="index">
|
|
|
+ <th>${data.unfinishCount}</th>
|
|
|
+ </c:forEach>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+
|
|
|
+
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <table class="table table-bordered">
|
|
|
+
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th> </th>
|
|
|
+ <c:forEach items="${list1}" var="data" varStatus="index">
|
|
|
+ <th>${data.name}</th>
|
|
|
+ </c:forEach>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>1-7天</th>
|
|
|
+ <c:forEach items="${list1}" var="data" varStatus="index">
|
|
|
+ <th>${data.level1}</th>
|
|
|
+ </c:forEach>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>8-14天</th>
|
|
|
+ <c:forEach items="${list1}" var="data" varStatus="index">
|
|
|
+ <th>${data.level2}</th>
|
|
|
+ </c:forEach>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>15-21天</th>
|
|
|
+ <c:forEach items="${list1}" var="data" varStatus="index">
|
|
|
+ <th>${data.level3}</th>
|
|
|
+ </c:forEach>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>21天以上</th>
|
|
|
+ <c:forEach items="${list1}" var="data" varStatus="index">
|
|
|
+ <th>${data.level4}</th>
|
|
|
+ </c:forEach>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ </thead>
|
|
|
+
|
|
|
+
|
|
|
+ </table>
|
|
|
+ <div id="main" style="width: 100%;height: 100%"></div>
|
|
|
+ <script type="text/javascript">
|
|
|
+ // 基于准备好的dom,初始化echarts实例4
|
|
|
+ var myChart = echarts.init(document.getElementById('main'));
|
|
|
+ window.onresize = myChart.resize;
|
|
|
+ $(function () {
|
|
|
+
|
|
|
+ jp.get("${ctx}${dataURL}", function (option) {
|
|
|
+ // 指定图表的配置项和数据
|
|
|
+ // 使用刚指定的配置项和数据显示图表。
|
|
|
+ myChart.setOption(option);
|
|
|
+ })
|
|
|
+ })
|
|
|
+ </script>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|