|
|
@@ -423,12 +423,15 @@ function part2ExportFun() {
|
|
423
|
423
|
console.log(con);
|
|
424
|
424
|
var dataList=[];
|
|
425
|
425
|
var dataScore=[];
|
|
|
426
|
+ var dataTotal=0;
|
|
426
|
427
|
$('.phone_li').empty();
|
|
427
|
428
|
$(con).each(function(i,n){
|
|
428
|
429
|
if(n.分类=='系统量'){
|
|
429
|
430
|
$('#total').text(n.数量)
|
|
430
|
431
|
}else if(n.分类=='今日量'){
|
|
431
|
432
|
$('#today').text(n.数量)
|
|
|
433
|
+ }else if(n.分类=='总量'){
|
|
|
434
|
+ dataTotal=n.数量+0
|
|
432
|
435
|
}else{
|
|
433
|
436
|
dataList[i]=n.分类;
|
|
434
|
437
|
dataScore[i]=n.数量;
|
|
|
@@ -475,7 +478,8 @@ function part2ExportFun() {
|
|
475
|
478
|
barWidth: 8,
|
|
476
|
479
|
initValue:dataScore[0],
|
|
477
|
480
|
roundCorner: true,
|
|
478
|
|
- maxValue:5000
|
|
|
481
|
+ maxValue:dataTotal,
|
|
|
482
|
+ fontSize:35
|
|
479
|
483
|
// percentage: true
|
|
480
|
484
|
});
|
|
481
|
485
|
$('.text1').radialIndicator({
|
|
|
@@ -485,7 +489,8 @@ function part2ExportFun() {
|
|
485
|
489
|
barWidth: 8,
|
|
486
|
490
|
initValue:dataScore[1],
|
|
487
|
491
|
roundCorner: true,
|
|
488
|
|
- maxValue:5000
|
|
|
492
|
+ maxValue:dataTotal,
|
|
|
493
|
+ fontSize:35
|
|
489
|
494
|
// percentage: true
|
|
490
|
495
|
});
|
|
491
|
496
|
$('.text2').radialIndicator({
|
|
|
@@ -495,7 +500,8 @@ function part2ExportFun() {
|
|
495
|
500
|
barWidth: 8,
|
|
496
|
501
|
initValue:dataScore[2],
|
|
497
|
502
|
roundCorner: true,
|
|
498
|
|
- maxValue:5000
|
|
|
503
|
+ maxValue:dataTotal,
|
|
|
504
|
+ fontSize:35
|
|
499
|
505
|
// percentage: true
|
|
500
|
506
|
});
|
|
501
|
507
|
$('.text3').radialIndicator({
|
|
|
@@ -505,7 +511,8 @@ function part2ExportFun() {
|
|
505
|
511
|
barWidth: 8,
|
|
506
|
512
|
initValue:dataScore[3],
|
|
507
|
513
|
roundCorner: true,
|
|
508
|
|
- maxValue:5000
|
|
|
514
|
+ maxValue:dataTotal,
|
|
|
515
|
+ fontSize:35
|
|
509
|
516
|
// percentage: true
|
|
510
|
517
|
});$('.text4').radialIndicator({
|
|
511
|
518
|
radius: 40,
|
|
|
@@ -514,7 +521,8 @@ function part2ExportFun() {
|
|
514
|
521
|
barWidth: 8,
|
|
515
|
522
|
initValue:dataScore[4],
|
|
516
|
523
|
roundCorner: true,
|
|
517
|
|
- maxValue:5000
|
|
|
524
|
+ maxValue:dataTotal,
|
|
|
525
|
+ fontSize:35
|
|
518
|
526
|
// percentage: true
|
|
519
|
527
|
});$('.text5').radialIndicator({
|
|
520
|
528
|
radius: 40,
|
|
|
@@ -523,7 +531,8 @@ function part2ExportFun() {
|
|
523
|
531
|
barWidth: 8,
|
|
524
|
532
|
initValue:dataScore[5],
|
|
525
|
533
|
roundCorner: true,
|
|
526
|
|
- maxValue:5000
|
|
|
534
|
+ maxValue:dataTotal,
|
|
|
535
|
+ fontSize:35
|
|
527
|
536
|
// percentage: true
|
|
528
|
537
|
});$('.text6').radialIndicator({
|
|
529
|
538
|
radius: 40,
|
|
|
@@ -532,7 +541,8 @@ function part2ExportFun() {
|
|
532
|
541
|
barWidth: 8,
|
|
533
|
542
|
initValue:dataScore[6],
|
|
534
|
543
|
roundCorner: true,
|
|
535
|
|
- maxValue:5000
|
|
|
544
|
+ maxValue:dataTotal,
|
|
|
545
|
+ fontSize:35
|
|
536
|
546
|
// percentage: true
|
|
537
|
547
|
});
|
|
538
|
548
|
$('.text7').radialIndicator({
|
|
|
@@ -542,7 +552,8 @@ function part2ExportFun() {
|
|
542
|
552
|
barWidth: 8,
|
|
543
|
553
|
initValue:dataScore[7],
|
|
544
|
554
|
roundCorner: true,
|
|
545
|
|
- maxValue:5000
|
|
|
555
|
+ maxValue:dataTotal,
|
|
|
556
|
+ fontSize:35
|
|
546
|
557
|
// percentage: true
|
|
547
|
558
|
});
|
|
548
|
559
|
}
|