cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!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 class="check taskoption"></label><a href="${base}/uwyw/stats/uIncidentStats/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}/uwyw/stats/uIncidentStats/incidentSearchReport.html?statsType=${RequestParameters.statsType}';
    });
})
</script>      
</body>
</html>