| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="./Script/Common/huayi.load.js"></script>
- <script src="./Script/Common/huayi.config.js"></script>
- <style>
- * {
- font-family: "微软雅黑";
- }
- @font-face {
- font-family: 'iconfont';
- src: url('fonts/iconfont.eot');
- /* IE9*/
- src: url('fonts/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('fonts/iconfont.woff') format('woff'), /* chrome、firefox */
- url('fonts/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
- url('fonts/iconfont.svg#iconfont') format('svg');
- /* iOS 4.1- */
- }
- .iconfont {
- font-family: "iconfont";
- font-size: 25px;
- font-style: normal;
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- .bc {
- background-color: #F5F5F5;
- border: 2px solid #EBEBEB;
- padding: 25px 20px;
- }
- .size-14 {
- font-size: 14px;
- font-weight: normal;
- }
- .ba {
- background-color: #F5F5F5;
- border: 2px solid #EBEBEB;
- padding: 0px;
- }
- .left_box {
- background-color: #FFFFFF;
- }
- .rows {
- display: -webkit-box;
- }
- .lazur {
- color: #23c6c8;
- }
- .bottom_line {
- border-bottom: 2px solid #CCCCCC;
- }
- .clear {
- margin: 0;
- padding: 0;
- margin-top: 2%;
- }
- .widgets {
- padding: 15px 20px;
- margin-bottom: 25px;
- margin-top: 35px;
- }
- /*.ss{
- background: url(img/huan.png) no-repeat;
- background-size: contain;
- background-position: center;
- margin-left: 20px;
- }*/
- .fenxian {
- border: 2px solid #CCCCCC;
- margin-bottom: 10px;
- display: inherit;
- position: absolute;
- width: 100%;
- TOP: 50%;
- }
- .left1 {
- LEFT: 15px;
- }
- .left2 {
- right: 15px;
- }
- .rowTitle {
- position: absolute;
- font-size: 16px;
- top: 40px;
- left: 45px;
- font-weight: 800;
- padding-bottom: 10px;
- border-bottom: 2px solid #CCCCCC;
- letter-spacing: 4px;
- }
- .num_box {
- background-color: #fefefe;
- border: 1px solid #EBEBEB;
- border-radius: 5px;
- margin-top: 10px;
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
- height: 318px;
- }
- .size-16 {
- font-size: 16px !important;
- }
- .size-14 {
- font-size: 14px !important;
- }
- .size-15 {
- font-size: 15px !important;
- }
- .size-12 {
- font-size: 12px !important;
- }
- .min_bottom {
- margin-bottom: 5px !important;
- }
- .fa-4x {
- font-size: 3em;
- color: #FFFFFF;
- background-color: #67cdcb;
- padding: 10px;
- border-radius: 5px;
- }
- .bg_green {
- background: -webkit-linear-gradient(left, #accafd, #b8dcfc);
- background: -moz-linear-gradient(left, #accafd, #b8dcfc);
- background: -o-linear-gradient(left, #accafd, #b8dcfc);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#b8dcfc), to(#accafd));
- background: linear-gradient(left, #accafd, #b8dcfc); /* Opera 11.1 - 12.0 */ /* Firefox 3.6 - 15 */ /* 标准的语法 */
- }
- .bg_blue { /* Safari 5.1 - 6.0 */
- background: -webkit-linear-gradient(left, #f26997, #f080ce);
- background: -moz-linear-gradient(left, #f26997, #f080ce);
- background: -o-linear-gradient(left, #f26997, #f080ce);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#f080ce), to(#f26997));
- background: linear-gradient(left, #f26997, #f080ce); /* Opera 11.1 - 12.0 */ /* Firefox 3.6 - 15 */ /* 标准的语法 */
- }
- .bg_red {
- background: -webkit-linear-gradient(left, #fbc356, #fa9182);
- background: -moz-linear-gradient(left, #fbc356, #fa9182);
- background: -o-linear-gradient(left, #fbc356, #fa9182);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#fa9182), to(#fbc356));
- background: linear-gradient(left, #fbc356, #fa9182); /* Opera 11.1 - 12.0 */ /* Firefox 3.6 - 15 */ /* 标准的语法 */
- }
- .bg_black {
- background: -webkit-linear-gradient(left, #88eec0, #8bdedd);
- background: -moz-linear-gradient(left, #88eec0, #8bdedd);
- background: -o-linear-gradient(left, #88eec0, #8bdedd);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#8bdedd), to(#88eec0));
- background: linear-gradient(left, #88eec0, #8bdedd); /* Opera 11.1 - 12.0 */ /* Firefox 3.6 - 15 */ /* 标准的语法 */
- }
- .bg_wj {
- background: -webkit-linear-gradient(left, #6c77da, #7351ac);
- background: -moz-linear-gradient(left, #6c77da, #7351ac);
- background: -o-linear-gradient(left, #6c77da, #7351ac);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#7351ac), to(#6c77da));
- background: linear-gradient(left, #6c77da, #7351ac); /* Opera 11.1 - 12.0 */ /* Firefox 3.6 - 15 */ /* 标准的语法 */
- }
- .jg {
- letter-spacing: 2px;
- margin-top: -3px;
- font-weight: bolder;
- }
- .mt {
- margin-top: 10px;
- }
- .ibox-content {
- padding: 20px 20px 95px;
- background-color: #fefefe;
- border: 1px solid #EBEBEB;
- border-radius: 5px;
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
- box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
- }
- .size-20 {
- font-size: 20px;
- color: #4078ad;
- }
- .border_top {
- border-top: none;
- }
- /*.margin-tops{
- margin-top:-50px;
- }*/
- .padding-left-min {
- padding-left: 0;
- padding-top: 5px;
- }
- .mins-left {
- padding-left: 30px;
- padding-right: 0;
- }
- .widget h2, .widget h3 {
- margin-top: 0px;
- }
- .col-sm-2 {
- width: 20%;
- }
- .col-sm-4 {
- width: 29%;
- }
- .min_right {
- margin-right: 15px;
- }
- .col-xs-3 {
- padding-left: 5px;
- }
- .huan {
- background: url(./img/huan.png)no-repeat;
- }
- .min-padding {
- padding-bottom: 10px;
- padding-top: 10px;
- border-bottom-width: 1px;
- border-radius: 5px !important;
- padding-left: 10px;
- padding-right: 5px;
- }
- .progress {
- height: 5px;
- background-color: #CCCCCC;
- }
- .progress-bar-ff {
- background-color: #FFF;
- }
- .ff {
- color: #FFFFFF;
- }
- .c-bottom {
- margin-top: 5px;
- }
- .bg-purple {
- background: -ms-linear-gradient(right, #ea76dd,#8a9cf4);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#ea76dd), to(#8a9cf4));
- background: -webkit-linear-gradient(right, #ea76dd, #8a9cf4);
- background: -moz-linear-gradient(right, #ea76dd, #8a9cf4);
- background: -o-linear-gradient(right, #ea76dd, #8a9cf4);
- background: linear-gradient(right, #ea76dd, #8a9cf4);
- background: #ea76dd; /* Opera 11.1 - 12.0 */ /* Firefox 3.6 - 15 */ /* 标准的语法 */
- }
- .bg-blues {
- background: -ms-linear-gradient(right, #67aefe,#67aefe);
- background: -webkit-linear-gradient(right, #67aefe, #67aefe);
- background: -moz-linear-gradient(right, #67aefe, #7bd7fe);
- background: -o-linear-gradient(right, #67aefe, #7bd7fe);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#67aefe), to(#7bd7fe));
- background: linear-gradient(right, #67aefe, #7bd7fe);
- background: #67aefe; /* Opera 11.1 - 12.0 */ /* Firefox 3.6 - 15 */ /* 标准的语法 */
- }
- .bg-yellow {
- background: -ms-linear-gradient(right,#f95a84,#f86953);
- background: -webkit-linear-gradient(right, #f95a84, #f86953);
- background: -moz-linear-gradient(right, #f95a84, #f86953);
- background: -o-linear-gradient(right, #f95a84, #f86953);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#f95a84), to(#f86953));
- background: linear-gradient(right, #f95a84, #f86953);
- background: #f95a84; /* Opera 11.1 - 12.0 */ /* Firefox 3.6 - 15 */ /* 标准的语法 */
- }
- /*.p-xl{
- border-width: 5px;
- border-style: solid;
- border-color: #69cbd0 #69cbd0 #be8bd6 #47bde3 ;
- border-radius: 50%;
- }*/
- .c-bottom {
- width: 29%;
- overflow: hidden;
- margin-right: 5px;
- float: left;
- }
- .c-bottom ul {
- overflow: hidden;
- width: 100%;
- padding-left: 0px;
- list-style: none;
- margin-top: 3px;
- cursor: pointer;
- }
- .Text{
- width: 100%;
- text-align: center;
- }
- </style>
- </head>
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="row">
- <div class="col-sm-2">
- <div class="widget style1 bc">
- <div class="row">
- <div class="col-xs-3 text-center">
- <i class="fa iconfont fa-4x bg_black"></i>
- </div>
- <div class="col-xs-9 text-left mins-left">
- <h2 class="size-16 jg min_bottom"> 今日来电 </h2>
- <h2 class="font-bold size-15 min_bottom">26</h2>
- <h3 class="font-bold size-12 ">总时长:120000M</h3>
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="widget style1 bc ">
- <div class="row">
- <div class="col-xs-3">
- <i class="fa iconfont fa-4x bg_green"></i>
- </div>
- <div class="col-xs-9 text-left mins-left">
- <h2 class="size-16 jg min_bottom"> 今日去电 </h2>
- <h2 class="font-bold size-15 min_bottom">26</h2>
- <h3 class="font-bold size-12 ">总时长:120000M</h3>
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="widget style1 bc">
- <div class="row">
- <div class="col-xs-3">
- <i class="fa iconfont fa-4x bg_blue"></i>
- </div>
- <div class="col-xs-9 text-left mins-left">
- <h2 class="size-16 jg min_bottom"> 本月来电 </h2>
- <h2 class="font-bold size-15 min_bottom">26</h2>
- <h3 class="font-bold size-12 ">总时长:120000M</h3>
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="widget style1 bc ">
- <div class="row">
- <div class="col-xs-3">
- <i class="fa iconfont fa-4x bg_red"></i>
- </div>
- <div class="col-xs-9 text-left mins-left">
- <h2 class="size-16 jg min_bottom"> 本月去电 </h2>
- <h2 class="font-bold size-15 min_bottom">26</h2>
- <h3 class="font-bold size-12 ">总时长:120000M</h3>
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="widget style1 bc ">
- <div class="row">
- <div class="col-xs-3">
- <i class="fa iconfont fa-4x bg_wj"></i>
- </div>
- <div class="col-xs-9 text-left mins-left">
- <h2 class="size-16 jg min_bottom"> 未接来电</h2>
- <h2 class="font-bold size-15 min_bottom">26</h2>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-sm-8 " style="width: 60%;">
- <div class="left_box rows num_box">
- <b class="rowTitle">工单信息</b>
- <div style="margin-top: 30px; width: 100%;">
- <div class="col-md-3 clear">
- <div class="widgets p-xl ss" id="hx" style="height: 280px; width: 200px; margin: 0 auto;">
- <!--<div style="margin-bottom: 50px;">
- <h2 class="text-center">
- <span class="lazur size-14">总计</span>
- </h2>
- <h2 class="m-xs text-center size-14">100000000</h2>
- </div>-->
- </div>
- </div>
- <div class="col-md-9 clear">
- <div class="widgets p-xl border_left" style="margin-top: 60px;">
- <div class="col-sm-4" style="margin-right: 5px;">
- <div class="row bc min-padding bg-blues">
- <h3 class="ff"><span>300</span>单</h3>
- <div class="progress">
- <div class="progress-bar progress-bar-ff" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 30%;">
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-4 ">
- <div class="row bc min-padding bg-purple">
- <h3 class="ff"><span>300</span>单</h3>
- <div class="progress">
- <div class="progress-bar progress-bar-ff" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 30%;">
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-4" style="margin-right: 5px;">
- <div class="row bc min-padding bg-yellow">
- <h3 class="ff"><span>300</span>单</h3>
- <div class="progress">
- <div class="progress-bar progress-bar-ff" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 30%;">
- </div>
- </div>
- </div>
- </div>
- <div class="c-bottom ">
- <ul class="c-b-ul">
- <li class="fl Text">今日完成量</li>
- </ul>
- </div>
- <div class="c-bottom ">
- <ul class="c-b-ul">
- <li class="fl Text">今日待完成量</li>
- </ul>
- </div>
- <div class="c-bottom ">
- <ul class="c-b-ul ">
- <li class="fl Text">本月待完成量</li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-4" style="width: 40%;">
- <div class="ibox float-e-margins mt">
- <div class="ibox-content">
- <div class="flot-chart">
- <div class="flot-chart-content" id="flot-pie-chart" style="height: 300px;width: 100%;"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox-content">
- <div class="ibox float-e-margins">
- <div class="ibox-title border_top padding-left-min">
- <div class="ibox-tools margin-tops">
- <h3>去年同月相比<strong> ↑ 4.3%</strong></h3>
- <!-- <h3 class="size-20">↑ <strong>4.3%</strong></h3>-->
- </div>
- </div>
- <div style="width: 100%;">
- <div class="flot-chart-content" id="flot-line-chart" style='height: 400px;'></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script src="./js/jquery-ui-1.10.4.min.js"></script>
- <script src="./js/content.min.js?v=1.0.0"></script>
- <script src="./js/echarts.common.min.js"></script>
- <script src="js/highcharts/highcharts.js"></script>
- <script src="js/highcharts/highcharts-zh_CN.js"></script>
- <!--<script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
- <script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>-->
- <script>
- var inval;
- $(document).ready(function () {
- teltotal();
- telhour();
- telday();
- worktotal();
- if (inval) {
- clearInterval(inval);
- }
- inval = setInterval(function () { teltotal(); telhour(); telday(); worktotal(); }, huayi.config.indextime);
- })
- function teltotal() {
- $.getJSON(huayi.config.callcenter_url + 'Index/GetTelRecordsTotal', { "token": $.cookie("token") }, function (result) {
- if (result.state.toLowerCase() == "success") {
- $(".style1").eq(0).find("h2").eq(1).text(result.data.dayin.count);
- $(".style1").eq(0).find("h3").text("总时长:" + result.data.dayin.totaltime + "");
- $(".style1").eq(1).find("h2").eq(1).text(result.data.dayout.count);
- $(".style1").eq(1).find("h3").text("总时长:" + result.data.dayout.totaltime + "");
- $(".style1").eq(2).find("h2").eq(1).text(result.data.monin.count);
- $(".style1").eq(2).find("h3").text("总时长:" + result.data.monin.totaltime + "");
- $(".style1").eq(3).find("h2").eq(1).text(result.data.monout.count);
- $(".style1").eq(3).find("h3").text("总时长:" + result.data.monout.totaltime + "");
- $(".style1").eq(4).find("h2").eq(1).text(result.data.daynocon);
- }
- })
- }
- //图一
- var myChart1 = echarts.init(document.getElementById('flot-pie-chart'));
- var option1 = {
- title: {
- text: '今日每小时的总通话量和接通量',
- x: 'left',
- textStyle: {
- color: '#333',
- fontWeight: '500',
- fontSize: 18
- },
- },
- legend: {
- orient: 'horizontal',
- x: 'right',
- top: 20,
- data: ['总通话量', '接通量']
- },
- tooltip: {
- trigger: 'item',
- formatter: "{b}点,{a}为{c}通"
- },
- xAxis: {
- name: '时间',
- data: ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24",],
- axisLabel: {
- interval: 0,//横轴信息全部显示
- rotate: -0,//-30度角倾斜显示
- }
- },
- yAxis: {
- name: '数量'
- },
- series: [{
- name: '总通话量',
- type: 'bar',
- itemStyle: {
- normal: {
- color: '#d5d5d5'
- }
- },
- barGap: '-100%',
- barMaxWidth: '100',
- data: [51, 30, 40, 25, 80, 40, 42, 86, 50, 26, 12, 30, 55, 15, 18, 55, 28, 26, 50, 46, 98, 66, 50, 85]
- }, {
- name: '接通量',
- type: 'bar',
- itemStyle: {
- normal: {
- color: '#7abf62'
- }
- },
- barMaxWidth: '100',
- data: [5, 20, 36, 10, 15, 20, 28, 36, 20, 36, 5, 20, 36, 10, 15, 20, 28, 36, 20, 36, 88, 46, 30, 45]
- }]
- };
- function telhour() {
- $.getJSON(huayi.config.callcenter_url + 'Index/GetTelRecordsByHour', { "token": $.cookie("token") }, function (result) {
- if (result.state.toLowerCase() == "success") {
-
- option1.series[0].data = result.data.total;
- option1.series[1].data = result.data.count;
- myChart1.setOption(option1);
- }
- })
- }
- //myChart.setOption(option);
- //图3
- var option3 = {
- title: {
- text: '本月话务量及工单量折线图',
- x: -20
- },
- xAxis: {
- labels: {
- style: {
- color: '#19a0f5',//颜色
- fontSize: '12px' //字体
- }
- },
- categories: ['01日', '02日', '03日', '04日', '05日', '06日', '07日', '08日', '09日', '10日', '11日', '12日', '13日', '14日', '15日', '16日', '17日', '18日',
- '19日', '20日', '21日', '22日', '23日', '24日', '25日',
- '26日', '27日', '28日', '29日', '30日', '31日']
- },
- yAxis: {
- title: {
- text: '单位',
- rotation: 0,
- y: -180,
- style: {
- color: '#19a0f5',//颜色
- fontSize: '16px' //字体
- }
- },
- labels: {
- style: {
- color: '#19a0f5',//颜色
- fontSize: '14px' //字体
- }
- },
- plotLines: [{
- value: 0,
- width: 1,
- color: '#808080'
- }]
- },
- tooltip: {
- valueSuffix: '单'
- },
- legend: {
- align: 'right',
- verticalAlign: 'top',
- x: 0,
- y: 0
- },
- credits: {
- enabled: false
- },
- series: [{
- name: '工单量',
- data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3,
- 13.9, 9.6, 21.5, 25.2, 26.5, 23.3, 6.9, 9.5, 14.5, 18.2,
- 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 9.6, 21.5, 25.2],
- color: '#ffaaac'
- }, {
- name: '话务量',
- data: [2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1,
- 8.6, 2.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 9.6,
- 13.9, 9.6, 21.5, 25.2, 26.5, 23.3, 6.9, 9.5, 18.2, 21.5, 25.2
- ],
- color: '#d8e7ef'
- }]
- };
- function telday() {
- $.getJSON(huayi.config.callcenter_url + 'Index/GetWorkTelByDay', { "token": $.cookie("token") }, function (result) {
- if (result.state.toLowerCase() == "success") {
- $(".ibox-tools h3 strong").text(result.data.bl);
- option3.xAxis.categories = result.data.col;
- option3.series[0].data = result.data.worktotal;
- option3.series[1].data = result.data.teltotal;
- var chart3 = new Highcharts.Chart('flot-line-chart', option3);
- }
- })
- }
- //图2
- var myChart2 = echarts.init(document.getElementById('hx'));
- var option2 = {
- color: ['#67aefe', '#ea76dd'],
- title: {
- text: '总计',
- subtext: '10000',
- x: 'center',
- y: 60,
- textStyle: {
- fontWeight: 'normal',
- fontSize: 16
- }
- },
- legend: {
- orient: 'horizontal',
- x: 'center',
- bottom: 50,
- data: ['今日完成量', '今日待完成量']
- },
- series: [{
- type: 'pie',
- radius: ['50%', '80%'],
- center: ['50%', '30%'],
- avoidLabelOverlap: false,
- hoverAnimation: false,
- label: {
- normal: {
- show: false,
- position: 'center',
- formatter: "",
- },
- emphasis: {
- show: true,
- textStyle: {
- fontSize: '14',
- fontWeight: 'bold'
- }
- }
- },
- labelLine: {
- normal: {
- show: false
- }
- },
- data: [{
- value: 0,
- name: '今日完成量'
- }, {
- value: 100,
- name: '今日待完成量'
- },
- ]
- }]
- };
- function worktotal() {
- $.getJSON(huayi.config.callcenter_url + 'Index/GetWorkTotal', { "token": $.cookie("token") }, function (result) {
- if (result.state.toLowerCase() == "success") {
- option2.title.subtext = result.data.daywc * 1 + result.data.daywwc * 1;
- option2.series[0].data = [{ value: result.data.daywwc, name: '今日待完成量' }, { value: result.data.daywc, name: '今日完成量' }]
- $(".bg-blues h3").find("span").text(result.data.daywc);
- $(".bg-purple h3").find("span").text(result.data.daywwc);
- $(".bg-yellow h3").find("span").text(result.data.monwwc);
- myChart2.setOption(option2);
- }
- })
- }
- </script>
- </body>
- <!-- Mirrored from www.zi-han.net/theme/hplus/widgets.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:01 GMT -->
- </html>
|