<!doctype html>
|
<html>
|
<head>
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
<script type="text/javascript">
|
/*标签切换屏幕左右滑动*/
|
$(document).ready(function () {
|
n=$('.kltwowrap a').size();
|
var wh=100*n+"%";
|
$('.kltwowrap').width(wh);
|
var lt=(100/n/2);
|
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();
|
});
|
|
window.onload=function(){
|
var pages = document.getElementById("swiper-pages");
|
var scale = window.screen.height / window.screen.width;
|
pages.style.height = document.body.clientWidth * scale -$('.kltit').height()-$('.kltwo').height() - 20 + "px";
|
}
|
|
var tabsSwiper = new Swiper(".swiper-container",{
|
setWrapperSize :true,
|
onSlideChangeStart: function(sw){
|
$(".kltwowrap .active").removeClass('active');
|
$(".kltwowrap a").eq(tabsSwiper.activeIndex).addClass('active');
|
|
var currTab = $(".kltwowrap a").eq(tabsSwiper.activeIndex);
|
currTab.parent().css("left",-parseInt(sw.activeIndex/2)*sw.width);
|
}
|
});
|
})
|
|
//跳转到查询页
|
function jumpToSearch(statsType){
|
window.location.href='${base}/ewyw/stats/ewQuestionStats/questionStatsJump.html?statsType='+statsType;
|
}
|
//跳转到查询页
|
function jumpToReport(statsType){
|
window.location.href='${base}/ewyw/stats/ewQuestionStats/questionStatsReportJump.html?statsType='+statsType;
|
}
|
</script>
|
</head>
|
|
<body>
|
<header class="kltit">
|
<a href="${base}/ewyw/estatis.html"><span></span></a>
|
问题统计
|
</header>
|
<nav class="kltwo clearfix">
|
<div class="kltwowrap">
|
<a href="#" hidefocus="true" class="active">单项统计</a>
|
<a href="#" hidefocus="true">报表统计</a>
|
</div>
|
</nav>
|
<div class="swiper-pages swiper-container" id="swiper-pages">
|
<div class="swiper-wrapper">
|
<div class="swiper-slide">
|
<section class="taskstati clearfix">
|
<a href="javascript:jumpToSearch('source')"><p>问题来源</p></a>
|
<a href="javascript:jumpToSearch('close')"><p>问题关闭方式</p></a>
|
<a href="javascript:jumpToSearch('priority')"><p>问题优先级</p></a>
|
<a href="javascript:jumpToSearch('influence')"><p>问题影响度</p></a>
|
</section>
|
</div>
|
<div class="swiper-slide">
|
<section class="taskstati clearfix">
|
<a href="javascript:jumpToReport('dcl')"><p>问题达成率统计</p></a>
|
<a href="javascript:jumpToReport('detail')"><p>问题明细统计</p></a>
|
<a href="javascript:jumpToReport('deal')"><p>问题处理情况统计</p></a>
|
<a href="javascript:jumpToReport('state')"><p>问题状态统计</p></a>
|
</section>
|
</div>
|
</div>
|
</div>
|
</body>
|
</html>
|