<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
    <th:block th:include="include :: touchScreenHeader('办件统计')"/>
    <script src="/touchscreenstyle/js/highcharts.js"></script>
</head>
<body>
<div class="header">
    <img id="sitefav" src="/touchscreenstyle/images/logo.png"/>
    <div class="time" id="clock">
        <p class="date">{{ date }}</p>
        <p class="time1">{{ time }}</p>
    </div>
</div>
<div class="main">
    <!-- <div class="zhanshi">
         <img src="images/a1.png"/>
     </div>-->
    <div>
        <!-- <p class="pingtit">办件统计</p>-->
        <div class="con">
            <div id="container" style="min-width: 310px; height:730px; margin: 0 auto;width:90%;"></div>
            <!--累计办结、本年办结、上月办结、昨日办结、今日办结-->
        </div>
    </div>
    <!--<ul class="an">
        <li class="next"><a href="#"><img src="images/gr.png"/></a></li>
        <li class="fan"><a href="#"><img src="images/or.png"></a></li>
    </ul>-->
</div>
<div class="weui_tabbar">
    <a href="/touchscreen/index" class="weui_tabbar_item">
        <div class="weui_tabbar_icon hig20">
            <i class="fa fa-map"></i>
        </div>
        <p class="weui_tabbar_label">指引地图</p>
    </a>
    <a href="/touchscreen/jieshao" class="weui_tabbar_item">
        <div class="weui_tabbar_icon hig20">
            <i class="fa fa-star-o"></i>
        </div>
        <p class="weui_tabbar_label">中心介绍</p>
    </a>
    <!--   <a href="/touchscreen/search" class="weui_tabbar_item">
           <div class="weui_tabbar_icon hig20">
               <i class="fa fa-search"></i>
           </div>
           <p class="weui_tabbar_label">办件查询</p>
       </a>-->
    <a href="/touchscreen/nan" class="weui_tabbar_item">
        <div class="weui_tabbar_icon hig20">
            <i class="fa fa-telegram"></i>
        </div>
        <p class="weui_tabbar_label">办事指南</p>
    </a>
    <a href="/touchscreen/notice" class="weui_tabbar_item">
        <div class="weui_tabbar_icon hig20">
            <i class="fa fa-list"></i>
        </div>
        <p class="weui_tabbar_label">公示公告</p>
    </a>
    <a href="/touchscreen/hao" class="weui_tabbar_item">
        <div class="weui_tabbar_icon hig20">
            <i class="fa fa-bullhorn"></i>
        </div>
        <p class="weui_tabbar_label">实时叫号</p>
    </a>
    <a href="/touchscreen/tong" class="weui_tabbar_item weui_bar_item_on">
        <div class="weui_tabbar_icon hig20">
            <i class="fa fa-pie-chart"></i>
        </div>
        <p class="weui_tabbar_label">办件统计</p>
    </a>
</div>
<th:block th:include="include :: touchScreenFooter"/>
<script th:inline="javascript">
    var list = [[${tjList}]];
    shijian();
    Highcharts.chart('container', {
        chart: {
            type: 'column'
        },
        title: {
            text: ''
        },
        subtitle: {
            text: ''
        },
        xAxis: {
            type: 'category'
        },
        yAxis: {
            title: {
                text: '办理事项件数'
            }
        },
        legend: {
            enabled: false
        },
        plotOptions: {
            series: {
                borderWidth: 0,
                dataLabels: {
                    enabled: true,
                    format: '{point.y}件'
                }
            }
        },
        tooltip: {
            headerFormat: '<span style="font-size:16px">{series.name}</span><br>',
            pointFormat: '<span style="color:{point.color}">{point.name}</span>: <b>{point.y:.2f}件</b><br/>'
        },
        series: [{
            name: '中国（河北）自由贸易试验区正定片区',
            colorByPoint: true,
            data: [{
                name: '累计办结',
                y: list.allBJCount,
                drilldown: '累计办结'
            }, {
                name: '本年办结',
                y: list.THISYEAR_ACH,
                drilldown: '本年办结'
            }, {
                name: '上月办结',
                y: list.LASTMONTH_ACH,
                drilldown: '上月办结'
            }, {
                name: '本月办结',
                y: list.THISMONTH_ACH,
                drilldown: '本月办结'
            }, {
                name: '昨日办结',
                y: list.LASTDay_ACH,
                drilldown: '昨日办结'
            }]
        }],
        drilldown: {
            series: [{
                name: 'Microsoft Internet Explorer',
                id: 'Microsoft Internet Explorer',
                data: [
                    [
                        'v11.0',
                        24.13
                    ],
                    [
                        'v8.0',
                        17.2
                    ],
                    [
                        'v9.0',
                        8.11
                    ],
                    [
                        'v10.0',
                        5.33
                    ],
                    [
                        'v6.0',
                        1.06
                    ],
                    [
                        'v7.0',
                        0.5
                    ]
                ]
            }, {
                name: 'Chrome',
                id: 'Chrome',
                data: [
                    [
                        'v40.0',
                        5
                    ],
                    [
                        'v41.0',
                        4.32
                    ],
                    [
                        'v42.0',
                        3.68
                    ],
                    [
                        'v39.0',
                        2.96
                    ],
                    [
                        'v36.0',
                        2.53
                    ],
                    [
                        'v43.0',
                        1.45
                    ],
                    [
                        'v31.0',
                        1.24
                    ],
                    [
                        'v35.0',
                        0.85
                    ],
                    [
                        'v38.0',
                        0.6
                    ],
                    [
                        'v32.0',
                        0.55
                    ],
                    [
                        'v37.0',
                        0.38
                    ],
                    [
                        'v33.0',
                        0.19
                    ],
                    [
                        'v34.0',
                        0.14
                    ],
                    [
                        'v30.0',
                        0.14
                    ]
                ]
            }, {
                name: 'Firefox',
                id: 'Firefox',
                data: [
                    [
                        'v35',
                        2.76
                    ],
                    [
                        'v36',
                        2.32
                    ],
                    [
                        'v37',
                        2.31
                    ],
                    [
                        'v34',
                        1.27
                    ],
                    [
                        'v38',
                        1.02
                    ],
                    [
                        'v31',
                        0.33
                    ],
                    [
                        'v33',
                        0.22
                    ],
                    [
                        'v32',
                        0.15
                    ]
                ]
            }, {
                name: 'Safari',
                id: 'Safari',
                data: [
                    [
                        'v8.0',
                        2.56
                    ],
                    [
                        'v7.1',
                        0.77
                    ],
                    [
                        'v5.1',
                        0.42
                    ],
                    [
                        'v5.0',
                        0.3
                    ],
                    [
                        'v6.1',
                        0.29
                    ],
                    [
                        'v7.0',
                        0.26
                    ],
                    [
                        'v6.2',
                        0.17
                    ]
                ]
            }, {
                name: 'Opera',
                id: 'Opera',
                data: [
                    [
                        'v12.x',
                        0.34
                    ],
                    [
                        'v28',
                        0.24
                    ],
                    [
                        'v27',
                        0.17
                    ],
                    [
                        'v29',
                        0.16
                    ]
                ]
            }]
        }
    });
</script>
</body>
</html>
