<!doctype html>
|
<html>
|
<head>
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
<script type="text/javascript" src="${common_static}/static/wechat/style/js/jquery.nicescroll.js"></script>
|
</head>
|
|
<body>
|
<header class="kltit"><label [#if RequestParameters.search??]class="check-sx taskoption"[#else]class="check taskoption"[/#if] id="check"></label><a href="${base}/ewyw/stats/ewKnowStats/knowStatsIndex.html" ><span></span></a>知识统计</header>
|
[#if report??&&report?size>0]
|
<script>
|
$(document).ready(function() {
|
var nicesx = $("#boxscroll").niceScroll("#boxscroll div",{touchbehavior:true,cursorcolor:"#FF00FF",cursoropacitymax:0.6,cursorwidth:24,usetransition:true,hwacceleration:true,autohidemode:"hidden"});
|
});
|
</script>
|
<div class="statistics-title">工程师统计</div>
|
<div class="client-name"><span></span><p>统计日期:${DateUtil.format("yyyy/MM/dd",startDate)}-${DateUtil.format("yyyy/MM/dd",endDate)}</p></div>
|
<div class="searchCon">
|
<table class="tableName">
|
<tbody><tr>
|
<th>序号</th>
|
</tr>
|
[#if report??&&report?size>0]
|
[#list report as data]
|
<tr>
|
<td>${data_index+1}</td>
|
</tr>
|
[/#list]
|
[/#if]
|
</tbody></table>
|
<div id="boxscroll">
|
<div>
|
<table class="tableName">
|
<tbody>
|
<tr>
|
<th style="width:150px;">名称</th>
|
<th style="width:70px;">创建</th>
|
<th style="width:70px;">被顶</th>
|
<th style="width:70px;">被踩</th>
|
<th style="width:70px;">置顶</th>
|
<th style="width:70px;">精华</th>
|
<th style="width:70px;">编辑</th>
|
</tr>
|
|
<!-- 数据栏 -->
|
[#if report??&&report?size>0]
|
[#list report as data]
|
<tr>
|
<td>${data.ZSXM}</td>
|
<td>${data.createnum}</td>
|
<td>${data.zannum}</td>
|
<td>${data.cainum}</td>
|
<td>${data.topnum}</td>
|
<td>${data.jhnum}</td>
|
<td>${data.editnum}</td>
|
</tr>
|
[/#list]
|
[/#if]
|
</tbody></table>
|
</div>
|
</div>
|
</div>
|
[/#if]
|
<script type="text/javascript">
|
n=$('.kltwowrap a').size();
|
var wh=100*n+"%";
|
$('.kltwowrap').width(wh);
|
var lt=(100/n/4);
|
var lt_li=lt+"%";
|
$('.kltwowrap a').width(lt_li);
|
$(".kltwowrap a").on('touchstart mousedown',function(e){
|
e.preventDefault()
|
$(".kltwowrap .active").removeClass('active');
|
$(this).addClass('active');
|
tabsSwiper.slideTo($(this).index());
|
});
|
|
$(".kltwowrap a").click(function(e){
|
e.preventDefault();
|
});
|
|
var tabsSwiper = new Swiper(".swiper-container",{
|
setWrapperSize :true,
|
onSlideChangeStart: function(sw){
|
$(".kltwowrap .active").removeClass('active');
|
$(".kltwowrap a").eq(tabsSwiper.activeIndex).addClass('active');
|
|
//sw.width
|
var currTab = $(".kltwowrap a").eq(tabsSwiper.activeIndex);
|
currTab.parent().css("left",-parseInt(sw.activeIndex/4)*sw.width);
|
}
|
});
|
|
$(function(){
|
$('#check').click(function(){
|
window.location.href='${base}/ewyw/stats/ewKnowStats/knowSearchReportIndex.html?statsType=${RequestParameters.statsType}';
|
});
|
})
|
</script>
|
</body>
|
</html>
|