<!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/ewIncidentStats/incidentStatsIndex.html" ><span></span></a>事件统计</header>
|
[#if incidentList??&&incidentList?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">${cusName}事件统计表</div>
|
<div class="client-name"><span>${cusName}</span><p>${beginTime}-${endTime}</p></div>
|
<div class="searchCon">
|
<table class="tableName">
|
<tbody><tr>
|
<th>编号</th>
|
</tr>
|
[#if incidentList??&&incidentList?size>0]
|
[#list incidentList as sj]
|
<tr>
|
<td>${sj_index+1}</td>
|
</tr>
|
[/#list]
|
[/#if]
|
</tbody></table>
|
<div id="boxscroll">
|
<div>
|
<table class="tableName">
|
<tbody><tr>
|
<!-- 标题栏 -->
|
<th>联系人</th>
|
<th>${Constants.CUSTOMER_CONSTANTS}</th>
|
<th>${Constants.UNIT_CONSTANTS}</th>
|
<th>来电号码</th>
|
<th>工单状态</th>
|
<th>解决结果</th>
|
<th>事件类型</th>
|
<th>影响范围</th>
|
<th>紧急程度</th>
|
<th>优先级</th>
|
<th>领域</th>
|
<th>工单标题</th>
|
<th>受理人</th>
|
<th>解决时间</th>
|
</tr>
|
|
<!-- 数据栏 -->
|
[#if incidentList??&&incidentList?size>0]
|
[#list incidentList as incident]
|
<tr>
|
<td>${incident.CONTACT_NAME}</td>
|
<td>${incident.CUSTOMER_NAME}</td>
|
<td>${incident.SUB_CUSTOMER_NAME}</td>
|
<td>${incident.CONTACT_PHONE}</td>
|
<td>${Constants.getmapSC_WORKFLOW_INCIDENT_STATE_Label(incident.STATE+"")}</td>
|
<td>${incident.RESOLVE_TYPE_NAME}</td>
|
<td>${incident.TYPE_NAME}</td>
|
<td>${incident.INFLUENCE_NAME}</td>
|
<td>${incident.PRIORITY_NAME}</td>
|
<td>${incident.PRIORITY_NAME}</td>
|
<td>${incident.THIRD_CATEGORY_NAME}</td>
|
<td>${incident.NAME}</td>
|
<td>${incident.RESOLVE_USER_NAME}</td>
|
<td>${DateUtil.format('yyyy年MM月dd',incident.RESOLVE_TIME)}</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);
|
/*if(currTab.width()*sw.activeIndex +10 > sw.width){
|
currTab.parent().css("left",-currTab.width()*sw.activeIndex);
|
}else{
|
currTab.parent().css("left",0);
|
}*/
|
currTab.parent().css("left",-parseInt(sw.activeIndex/4)*sw.width);
|
}
|
});
|
|
$(function(){
|
|
$('#check').click(function(){
|
window.location.href='${base}/ewyw/stats/ewIncidentStats/incidentSearchReport.html?statsType=${RequestParameters.statsType}';
|
});
|
})
|
</script>
|
</body>
|
</html>
|