Explorar el Código

安阳大屏修改

yangjunfeng %!s(int64=5) %!d(string=hace) años
padre
commit
1cf36e26e2

+ 686 - 10
WebChart/TelephoneDetails.html

@@ -69,6 +69,261 @@
69 69
 				color: #FFFFFF;
70 70
 				letter-spacing: 10px;
71 71
 			}
72
+			/*坐席状态*/
73
+			.f_ss{
74
+				float: left;
75
+			}
76
+			.w_5{
77
+				width: 600px;
78
+				float: left;
79
+			}
80
+			.f_state{
81
+				float: right;
82
+				width: 250px;
83
+			}
84
+		ul {
85
+		    overflow: hidden;
86
+		}
87
+		
88
+		    ul li {
89
+		        list-style: none;
90
+		    }
91
+		
92
+		.fenxian {
93
+		    list-style: none;
94
+		    width: 136px;
95
+		    padding: 0;
96
+		    height: 10px;
97
+		}
98
+		
99
+		    .fenxian li {
100
+		        width: 50%;
101
+		        list-style: none;
102
+		        height: 8px;
103
+		        float: left;
104
+		    }
105
+		
106
+		.left_red {
107
+		    background: #65c2ca;
108
+		}
109
+		
110
+		.rg_green {
111
+		    background: #F95A83;
112
+		}
113
+		
114
+		.zx-box {
115
+		    background: #F5F5F5;
116
+		    /*height: 200px;*/
117
+		    border-radius: 5px;
118
+		    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
119
+		    margin-bottom: 10px;
120
+		    overflow: hidden;
121
+		}
122
+		
123
+		.m-b {
124
+		    margin-bottom: 0;
125
+		}
126
+		/*坐席数量*/
127
+		.zt-content ul {
128
+		    width: 100%;
129
+		    overflow: hidden;
130
+			float: left;
131
+		}
132
+		
133
+		    .zt-content ul li {
134
+		        width: 90px;
135
+		        font-size: 14px;
136
+		        float: left;
137
+				margin-left: 5px;
138
+				color: #FFFFFF;
139
+		    }
140
+		
141
+		        .zt-content ul li i {
142
+		            display: inline-block;
143
+		            width: 20px;
144
+		            height: 20px;
145
+		            vertical-align: middle;
146
+		            margin-right: 10px;
147
+					border-radius: 50%;
148
+		        }
149
+		
150
+		.hc {
151
+		    background-color: greenyellow;
152
+		}
153
+		
154
+		.ml {
155
+		    background-color: red;
156
+		}
157
+		
158
+		.kx {
159
+		    background-color: #55aa7f
160
+			}
161
+		.zl {
162
+		    background-color: #00ffff
163
+		}
164
+		
165
+		.qc {
166
+              background-color: #00ffff
167
+		}
168
+		
169
+		.lx {
170
+		  background-color: #555500
171
+		}
172
+		
173
+		.hh {
174
+		      background-color: #ff55ff
175
+		}
176
+		/*坐席监控*/
177
+		
178
+		.bg_person {
179
+		    background: url(../img/bg-person.png)no-repeat;
180
+		    width: 65px;
181
+		    height: 65px;
182
+		    text-align: -webkit-center;
183
+		    background-position: center center;
184
+		    margin: 0 auto;
185
+		}
186
+		
187
+		.zx_people {
188
+		    padding: 0;
189
+		}
190
+		
191
+		.zx_content ul:after {
192
+		    content: "";
193
+		    display: block;
194
+		    clear: both;
195
+		}
196
+		
197
+		.people_list p {
198
+		    margin-bottom: 5px !important;
199
+		}
200
+		
201
+		.zx_content ul {
202
+		    height: 800px;
203
+		    overflow: auto;
204
+		}
205
+		
206
+		    .zx_content ul li {
207
+		        width: 14%;
208
+		        text-align: center;
209
+		        float: left;
210
+		        cursor: pointer;
211
+		    }
212
+		
213
+		        .zx_content ul li > div {
214
+		            width: 100%;
215
+		            position: relative;
216
+		        }
217
+		
218
+		.zx_content i {
219
+		    display: block;
220
+		    height: 22px;
221
+		    width: 20px;
222
+		    background: url(../img/zuoxiIcon.png) no-repeat;
223
+		    position: absolute;
224
+		    right: 13px;
225
+		    top: 40px;
226
+		} 
227
+		/*坐席状态*/
228
+		.w_3 {
229
+		    width: 300px;
230
+			height: 20px;
231
+		    overflow: hidden;
232
+			margin-top: 5px;
233
+		    float: left;
234
+			margin-left: 200px;
235
+		}
236
+		
237
+		    .ztsm b {
238
+		        padding: 3px 15px;
239
+		        border-radius: 10px;
240
+		        color: #FFFFFF;
241
+		    }
242
+		
243
+		.ztsm2 ul li {
244
+		    width: 33%;
245
+		    font-size: 14px;
246
+		    float: left;
247
+		    margin-bottom: 25px;
248
+		    text-align: center;
249
+		    cursor: pointer;
250
+		}
251
+		
252
+		.zx {
253
+		    /*background: #989898;*/
254
+		    background: #61b960;
255
+		}
256
+		
257
+		.jt {
258
+		    background: #5ed7b7;
259
+		}
260
+		
261
+		.dj {
262
+		    background: #bed75b;
263
+		}
264
+		
265
+		.qca {
266
+		    background: #d75e7c;
267
+		}
268
+		
269
+		.lj {
270
+		    background: #5daed8;
271
+		}
272
+		
273
+		.qc {
274
+		    background: #d8988f;
275
+		}
276
+		
277
+		.kqc {
278
+		    background: #44af3c;
279
+		}
280
+		
281
+		.jqc {
282
+		    background: #d91e06;
283
+		}
284
+		
285
+		.dis {
286
+		    background: #989898;
287
+		}
288
+		
289
+		.users{
290
+			display: flex;
291
+			flex-wrap: wrap;
292
+			/* overflow-y: scroll; */
293
+		}
294
+		.users .touxiang ol{
295
+			list-style: none;
296
+		}
297
+		.users .touxiang{
298
+			height: 60px;
299
+		}
300
+		.tx{ 
301
+			width: 70%;
302
+			height: 60px;
303
+		}
304
+		.person{
305
+			/* width: 110px;
306
+			height: 50px; */
307
+		}
308
+		.yuan_one{
309
+			width: 20px;
310
+			height: 20px;
311
+			display: block;
312
+			background-color: darkgray;
313
+			border-radius: 50%;
314
+			margin: 0 auto;
315
+		}
316
+		.yuan_two{
317
+			width: 40px;
318
+			height: 20px;
319
+			display: block;
320
+			background-color: darkgray;
321
+			border-radius: 80%;
322
+			margin: 5px auto 0 auto;
323
+		}
324
+		.userid{
325
+			color: #FFFFFF;
326
+		}
72 327
 		</style>
73 328
 	</head>
74 329
 
@@ -84,18 +339,437 @@
84 339
 		<!--导航栏结束-->
85 340
 		<div  class="boxwrap">
86 341
 			<p class="bt">话务数量</p>
87
-				<div class="phone_top">
88
-				<div class="legend_bar clearfix">
89
-					<div class="title_word pull-left">
90
-						<span class="col-line"></span> 坐席闲忙比例
342
+				<div class="phone_top"style="overflow: hidden;">
343
+				<div class="legend_bar clearfix" style="height: 20px;margin-top: 5px;">
344
+					<div class="title_word pull-left f_ss">
345
+						<span class="col-line"></span> 坐席监控
91 346
 					</div>
92
-					<div class="time_box pull-right form-inline"">
93
-						<!--地区选择:
94
-						<select class="areaOne selects" style="height: 30px;"></select>-->
95
-						日期<input type="text" id="time1" class="times" />
347
+					<div class="zt-content w_5">
348
+					    <ul>
349
+					        <li><i class="hc"></i>通话中</li>
350
+					        <li><i class="ml"></i>置忙</li>
351
+					        <li><i class="kx"></i>空闲</li>
352
+					        <li><i class="zl"></i>振铃</li>
353
+					        <!--<li><i class="qc"></i>&nbsp;签出</li>-->
354
+					        <li><i class="lx"></i>离线</li>
355
+					        <li><i class="hh"></i>话后处理</li>
356
+					    </ul>
357
+					</div>
358
+					<div class="ztsm2 w_3">
359
+					    <ul class="ztsm">
360
+					        <li style="width: 40%;"><b class="kqc">开始监测</b></li>
361
+					        <li style="width: 40%;"><b class="jqc dis">停止监测</b></li>
362
+					    </ul>
96 363
 					</div>
97 364
 				</div>
98
-				<div id="sitProportion" style=" width: 100%;height: 400px;"></div>
365
+				<ul class="users" id="sitProportion" style=" width: 100%;height: 370px;margin-top: 30px;">
366
+					<li class="touxiang">
367
+						<ol class="tx">
368
+							<li class="person">
369
+								<span class="yuan_one"></span>
370
+								<span class="yuan_two"></span>
371
+							</li>
372
+							<li class="userid">8082</li>
373
+						</ol>
374
+					</li>
375
+					<li class="touxiang">
376
+						<ol class="tx">
377
+							<li class="person">
378
+								<span class="yuan_one"></span>
379
+								<span class="yuan_two"></span>
380
+							</li>
381
+							<li class="userid">8082</li>
382
+						</ol>
383
+					</li>
384
+					<li class="touxiang">
385
+						<ol class="tx">
386
+							<li class="person">
387
+								<span class="yuan_one"></span>
388
+								<span class="yuan_two"></span>
389
+							</li>
390
+							<li class="userid">8082</li>
391
+						</ol>
392
+					</li>
393
+					<li class="touxiang">
394
+						<ol class="tx">
395
+							<li class="person">
396
+								<span class="yuan_one"></span>
397
+								<span class="yuan_two"></span>
398
+							</li>
399
+							<li class="userid">8082</li>
400
+						</ol>
401
+					</li>
402
+					<li class="touxiang">
403
+						<ol class="tx">
404
+							<li class="person">
405
+								<span class="yuan_one"></span>
406
+								<span class="yuan_two"></span>
407
+							</li>
408
+							<li class="userid">8082</li>
409
+						</ol>
410
+					</li>
411
+					<li class="touxiang">
412
+						<ol class="tx">
413
+							<li class="person">
414
+								<span class="yuan_one"></span>
415
+								<span class="yuan_two"></span>
416
+							</li>
417
+							<li class="userid">8082</li>
418
+						</ol>
419
+					</li>
420
+					<li class="touxiang">
421
+						<ol class="tx">
422
+							<li class="person">
423
+								<span class="yuan_one"></span>
424
+								<span class="yuan_two"></span>
425
+							</li>
426
+							<li class="userid">8082</li>
427
+						</ol>
428
+					</li>
429
+					<li class="touxiang">
430
+						<ol class="tx">
431
+							<li class="person">
432
+								<span class="yuan_one"></span>
433
+								<span class="yuan_two"></span>
434
+							</li>
435
+							<li class="userid">8082</li>
436
+						</ol>
437
+					</li>
438
+					<li class="touxiang">
439
+						<ol class="tx">
440
+							<li class="person">
441
+								<span class="yuan_one"></span>
442
+								<span class="yuan_two"></span>
443
+							</li>
444
+							<li class="userid">8082</li>
445
+						</ol>
446
+					</li>
447
+					<li class="touxiang">
448
+						<ol class="tx">
449
+							<li class="person">
450
+								<span class="yuan_one"></span>
451
+								<span class="yuan_two"></span>
452
+							</li>
453
+							<li class="userid">8082</li>
454
+						</ol>
455
+					</li>
456
+					<li class="touxiang">
457
+						<ol class="tx">
458
+							<li class="person">
459
+								<span class="yuan_one"></span>
460
+								<span class="yuan_two"></span>
461
+							</li>
462
+							<li class="userid">8082</li>
463
+						</ol>
464
+					</li>
465
+					<li class="touxiang">
466
+						<ol class="tx">
467
+							<li class="person">
468
+								<span class="yuan_one"></span>
469
+								<span class="yuan_two"></span>
470
+							</li>
471
+							<li class="userid">8082</li>
472
+						</ol>
473
+					</li>
474
+					<li class="touxiang">
475
+						<ol class="tx">
476
+							<li class="person">
477
+								<span class="yuan_one"></span>
478
+								<span class="yuan_two"></span>
479
+							</li>
480
+							<li class="userid">8082</li>
481
+						</ol>
482
+					</li>
483
+					<li class="touxiang">
484
+						<ol class="tx">
485
+							<li class="person">
486
+								<span class="yuan_one"></span>
487
+								<span class="yuan_two"></span>
488
+							</li>
489
+							<li class="userid">8082</li>
490
+						</ol>
491
+					</li>
492
+					<li class="touxiang">
493
+						<ol class="tx">
494
+							<li class="person">
495
+								<span class="yuan_one"></span>
496
+								<span class="yuan_two"></span>
497
+							</li>
498
+							<li class="userid">8082</li>
499
+						</ol>
500
+					</li>
501
+					<li class="touxiang">
502
+						<ol class="tx">
503
+							<li class="person">
504
+								<span class="yuan_one"></span>
505
+								<span class="yuan_two"></span>
506
+							</li>
507
+							<li class="userid">8082</li>
508
+						</ol>
509
+					</li>
510
+					
511
+					<li class="touxiang">
512
+						<ol class="tx">
513
+							<li class="person">
514
+								<span class="yuan_one"></span>
515
+								<span class="yuan_two"></span>
516
+							</li>
517
+							<li class="userid">8082</li>
518
+						</ol>
519
+					</li>
520
+					<li class="touxiang">
521
+						<ol class="tx">
522
+							<li class="person">
523
+								<span class="yuan_one"></span>
524
+								<span class="yuan_two"></span>
525
+							</li>
526
+							<li class="userid">8082</li>
527
+						</ol>
528
+					</li>
529
+					<li class="touxiang">
530
+						<ol class="tx">
531
+							<li class="person">
532
+								<span class="yuan_one"></span>
533
+								<span class="yuan_two"></span>
534
+							</li>
535
+							<li class="userid">8082</li>
536
+						</ol>
537
+					</li>
538
+					<li class="touxiang">
539
+						<ol class="tx">
540
+							<li class="person">
541
+								<span class="yuan_one"></span>
542
+								<span class="yuan_two"></span>
543
+							</li>
544
+							<li class="userid">8082</li>
545
+						</ol>
546
+					</li>
547
+					<li class="touxiang">
548
+						<ol class="tx">
549
+							<li class="person">
550
+								<span class="yuan_one"></span>
551
+								<span class="yuan_two"></span>
552
+							</li>
553
+							<li class="userid">8082</li>
554
+						</ol>
555
+					</li>
556
+					<li class="touxiang">
557
+						<ol class="tx">
558
+							<li class="person">
559
+								<span class="yuan_one"></span>
560
+								<span class="yuan_two"></span>
561
+							</li>
562
+							<li class="userid">8082</li>
563
+						</ol>
564
+					</li>
565
+					<li class="touxiang">
566
+						<ol class="tx">
567
+							<li class="person">
568
+								<span class="yuan_one"></span>
569
+								<span class="yuan_two"></span>
570
+							</li>
571
+							<li class="userid">8082</li>
572
+						</ol>
573
+					</li>
574
+					<li class="touxiang">
575
+						<ol class="tx">
576
+							<li class="person">
577
+								<span class="yuan_one"></span>
578
+								<span class="yuan_two"></span>
579
+							</li>
580
+							<li class="userid">8082</li>
581
+						</ol>
582
+					</li>
583
+					<li class="touxiang">
584
+						<ol class="tx">
585
+							<li class="person">
586
+								<span class="yuan_one"></span>
587
+								<span class="yuan_two"></span>
588
+							</li>
589
+							<li class="userid">8082</li>
590
+						</ol>
591
+					</li>
592
+					<li class="touxiang">
593
+						<ol class="tx">
594
+							<li class="person">
595
+								<span class="yuan_one"></span>
596
+								<span class="yuan_two"></span>
597
+							</li>
598
+							<li class="userid">8082</li>
599
+						</ol>
600
+					</li>
601
+					<li class="touxiang">
602
+						<ol class="tx">
603
+							<li class="person">
604
+								<span class="yuan_one"></span>
605
+								<span class="yuan_two"></span>
606
+							</li>
607
+							<li class="userid">8082</li>
608
+						</ol>
609
+					</li>
610
+					<li class="touxiang">
611
+						<ol class="tx">
612
+							<li class="person">
613
+								<span class="yuan_one"></span>
614
+								<span class="yuan_two"></span>
615
+							</li>
616
+							<li class="userid">8082</li>
617
+						</ol>
618
+					</li>
619
+					<li class="touxiang">
620
+						<ol class="tx">
621
+							<li class="person">
622
+								<span class="yuan_one"></span>
623
+								<span class="yuan_two"></span>
624
+							</li>
625
+							<li class="userid">8082</li>
626
+						</ol>
627
+					</li>
628
+					<li class="touxiang">
629
+						<ol class="tx">
630
+							<li class="person">
631
+								<span class="yuan_one"></span>
632
+								<span class="yuan_two"></span>
633
+							</li>
634
+							<li class="userid">8082</li>
635
+						</ol>
636
+					</li>
637
+					<li class="touxiang">
638
+						<ol class="tx">
639
+							<li class="person">
640
+								<span class="yuan_one"></span>
641
+								<span class="yuan_two"></span>
642
+							</li>
643
+							<li class="userid">8082</li>
644
+						</ol>
645
+					</li>
646
+					<li class="touxiang">
647
+						<ol class="tx">
648
+							<li class="person">
649
+								<span class="yuan_one"></span>
650
+								<span class="yuan_two"></span>
651
+							</li>
652
+							<li class="userid">8082</li>
653
+						</ol>
654
+					</li>
655
+					<li class="touxiang">
656
+						<ol class="tx">
657
+							<li class="person">
658
+								<span class="yuan_one"></span>
659
+								<span class="yuan_two"></span>
660
+							</li>
661
+							<li class="userid">8082</li>
662
+						</ol>
663
+					</li>
664
+					<li class="touxiang">
665
+						<ol class="tx">
666
+							<li class="person">
667
+								<span class="yuan_one"></span>
668
+								<span class="yuan_two"></span>
669
+							</li>
670
+							<li class="userid">8082</li>
671
+						</ol>
672
+					</li>
673
+					<li class="touxiang">
674
+						<ol class="tx">
675
+							<li class="person">
676
+								<span class="yuan_one"></span>
677
+								<span class="yuan_two"></span>
678
+							</li>
679
+							<li class="userid">8082</li>
680
+						</ol>
681
+					</li>
682
+					<li class="touxiang">
683
+						<ol class="tx">
684
+							<li class="person">
685
+								<span class="yuan_one"></span>
686
+								<span class="yuan_two"></span>
687
+							</li>
688
+							<li class="userid">8082</li>
689
+						</ol>
690
+					</li>
691
+					<li class="touxiang">
692
+						<ol class="tx">
693
+							<li class="person">
694
+								<span class="yuan_one"></span>
695
+								<span class="yuan_two"></span>
696
+							</li>
697
+							<li class="userid">8082</li>
698
+						</ol>
699
+					</li>
700
+					<li class="touxiang">
701
+						<ol class="tx">
702
+							<li class="person">
703
+								<span class="yuan_one"></span>
704
+								<span class="yuan_two"></span>
705
+							</li>
706
+							<li class="userid">8082</li>
707
+						</ol>
708
+					</li>
709
+					<li class="touxiang">
710
+						<ol class="tx">
711
+							<li class="person">
712
+								<span class="yuan_one"></span>
713
+								<span class="yuan_two"></span>
714
+							</li>
715
+							<li class="userid">8082</li>
716
+						</ol>
717
+					</li>
718
+					<li class="touxiang">
719
+						<ol class="tx">
720
+							<li class="person">
721
+								<span class="yuan_one"></span>
722
+								<span class="yuan_two"></span>
723
+							</li>
724
+							<li class="userid">8082</li>
725
+						</ol>
726
+					</li>
727
+					<li class="touxiang">
728
+						<ol class="tx">
729
+							<li class="person">
730
+								<span class="yuan_one"></span>
731
+								<span class="yuan_two"></span>
732
+							</li>
733
+							<li class="userid">8082</li>
734
+						</ol>
735
+					</li>
736
+					<li class="touxiang">
737
+						<ol class="tx">
738
+							<li class="person">
739
+								<span class="yuan_one"></span>
740
+								<span class="yuan_two"></span>
741
+							</li>
742
+							<li class="userid">8082</li>
743
+						</ol>
744
+					</li>
745
+					<li class="touxiang">
746
+						<ol class="tx">
747
+							<li class="person">
748
+								<span class="yuan_one"></span>
749
+								<span class="yuan_two"></span>
750
+							</li>
751
+							<li class="userid">8082</li>
752
+						</ol>
753
+					</li>
754
+					<li class="touxiang">
755
+						<ol class="tx">
756
+							<li class="person">
757
+								<span class="yuan_one"></span>
758
+								<span class="yuan_two"></span>
759
+							</li>
760
+							<li class="userid">8082</li>
761
+						</ol>
762
+					</li>
763
+					<li class="touxiang">
764
+						<ol class="tx">
765
+							<li class="person">
766
+								<span class="yuan_one"></span>
767
+								<span class="yuan_two"></span>
768
+							</li>
769
+							<li class="userid">8082</li>
770
+						</ol>
771
+					</li>
772
+				</ul>
99 773
 			</div>
100 774
 			<!--<div class="row">-->
101 775
 				<div class="phone_bottom clearfix">
@@ -110,7 +784,9 @@
110 784
 
111 785
 				</div>
112 786
 					<!--话务量实时统计-->
113
-					<div id="phoneTimeCount" style="width: 100%;height: 390px;"></div>
787
+					<div id="phoneTimeCount" style="width: 100%;height: 390px;">
788
+						
789
+					</div>
114 790
 				</div>
115 791
 				<div class="bottom_right pull-left">
116 792
 					<div class="legend_bar clearfix">

+ 88 - 17
WebChart/css/main.css

@@ -49,19 +49,20 @@ p {
49 49
 }
50 50
 .orderCon_left {
51 51
 	box-sizing: border-box;
52
-	    margin-top: 35px;
52
+	    margin-top: 27px;
53 53
 	    margin-left: 36px;
54 54
 }
55 55
 .orderli{
56
-	width: 100px;
57
-	height: 55px;
56
+	width: 120px;
57
+	height: 75px;
58 58
 	background: url(../img/num_frame.png) no-repeat center;
59 59
 	background-size: 100%;
60
+	margin-bottom: -10px;
60 61
 }
61 62
 .orderli img{
62 63
 	width: 30px!important;
63 64
 	height: 30px!important;
64
-	margin-top: 11px;
65
+	margin-top: 22px;
65 66
 }
66 67
 .orderli:nth-child(n+6) {
67 68
 	position: absolute !important;
@@ -73,19 +74,19 @@ p {
73 74
 }
74 75
 
75 76
 .orderli:nth-child(7) {
76
-	top: 55px !important;
77
+	top: 66px !important;
77 78
 }
78 79
 
79 80
 .orderli:nth-child(8) {
80
-	top: 110px !important;
81
+	top: 130px !important;
81 82
 }
82 83
 
83 84
 .orderli:nth-child(9) {
84
-	top: 165px !important;
85
+	top: 192px !important;
85 86
 }
86 87
 
87 88
 .orderli:nth-child(10) {
88
-	top: 220px !important;
89
+	top: 255px !important;
89 90
 }
90 91
 .num_word {
91 92
 	display: inline-block;
@@ -105,7 +106,8 @@ p {
105 106
 	font-size: 12px;
106 107
 }
107 108
 .map_bg{
108
-	    margin: -215px 0px 0px 170px;
109
+	width: 60%;
110
+	    margin: -215px 0px 0px 190px;
109 111
 }
110 112
 #radarBox{
111 113
 	width: 170px!important;
@@ -120,11 +122,67 @@ p {
120 122
 /* 第二个 */
121 123
 .sl_more{
122 124
 	width: 150px;
125
+	padding-left: 50px!important;
126
+	top: 0px!important;
127
+}
128
+.source_kuang{
129
+	width: 170px;
130
+	height: 68px;
131
+	margin-bottom: -8px;
132
+	
133
+}
134
+.pbout{
135
+	height: 65px;
136
+}
137
+.percent_box{
138
+	width: 40px;
139
+	height: 40px;
140
+	margin-top: 0;
141
+}
142
+.percent_in{
143
+	width: 40px!important;
144
+	height: 40px!important;
145
+	background-size: 100%;
146
+	/* position: initial!important; */
147
+	margin-top: 0;
148
+}
149
+.percent_out{
150
+	width: 50px!important;
151
+	height: 50px!important;
152
+/* position: initial!important; */
153
+	margin-top: 0;
154
+}
155
+.percent_word{
156
+	font-size: 12px!important
157
+}
158
+
159
+.percent_word p{
160
+	font-size:  12px!important
161
+}
162
+.percent_word p:first-child{
163
+   width: 40px;
164
+   margin-top: -6px;
165
+}
166
+.percent_word p:last-child{
167
+   width: 40px;
168
+ margin-top: 6px!important;
169
+}
170
+.nw{
171
+	float: left;
172
+	margin-top: -76px;
173
+	margin-left: 63px!important;
174
+}
175
+.source_kuang .nw span{
176
+	font-size: 14px!important;
177
+}
178
+.sr_bm{
179
+top: -349px!important;
180
+right: 80px!important;
123 181
 }
124 182
 /* 第三个 */
125 183
 .orderTtype_Con ul{
126 184
 	margin-left: 31px;
127
-	margin-top:9px;
185
+	margin-top:25px;
128 186
 	width: 447px;
129 187
 }
130 188
 .orderTtype_Con ul li{
@@ -192,14 +250,14 @@ p {
192 250
 	
193 251
 }
194 252
 .tagBox{
195
-	width: 180px;
253
+	width: 245px;
196 254
 	padding-left: 0;
197 255
     margin-left: -60px;
198
-	margin-top: -44px;
256
+	margin-top: 0px;
199 257
 }
200 258
 .tagcloud{
201 259
 	width: 100%;
202
-	height:240px;
260
+	height:300px;
203 261
 	overflow:hidden;
204 262
 }
205 263
 .tagcloud>div{
@@ -220,7 +278,7 @@ p {
220 278
 	margin-top: 15px;
221 279
 }
222 280
 .table_box_key{
223
-	width: 196px;
281
+	width: 150px;
224 282
 	height: 285px;
225 283
 }
226 284
 .tag_title{
@@ -231,8 +289,8 @@ p {
231 289
 	/* width: 500px; */
232 290
 	height: 290px;
233 291
 	position: relative;
234
-	left: 135px;
235
-	top: -210px;
292
+	    left: 182px;
293
+	    top: -190px;
236 294
 	font-size: 12px;
237 295
 }
238 296
 .keyBottom_left {
@@ -240,8 +298,21 @@ p {
240 298
 }
241 299
 .table_box_key table tbody tr td{
242 300
 	line-height: 15px;
301
+	font-size: 12px!important;
243 302
 /* 	text-overflow:ellipsis;
244 303
 	white-space: nowrap;
245 304
 	overflow: hidden;
246 305
 	font-size: 12px; */
247
-}
306
+}
307
+/* 接单部门 */
308
+.thead_six tr td{
309
+	font-size: 12px!important;
310
+}
311
+.tabsix tbody tr td{
312
+	font-size: 12px!important;
313
+		/* width: 30%!important; */
314
+		text-align: center;
315
+}
316
+.tabsix tbody tr td :nth-of-type(n+1){
317
+	width: 40px!important;
318
+}

+ 5 - 5
WebChart/detail.html

@@ -371,7 +371,7 @@
371 371
 								</div>
372 372
 							
373 373
 								<div id="mapSj" style="width:585px;margin-left: 105px; margin-top: 60px; display: none;">
374
-					                <div id="myMap" style="width:100%;height:400px;"></div>
374
+					                <div id="myMap" style="width:100%;height:550px;"></div>
375 375
 					                <input type="hidden" class="store_Lng" value="115.659773"/>
376 376
 	        						<input type="hidden" class="store_Lat" value="34.395449" />
377 377
 					            </div>
@@ -613,21 +613,21 @@
613 613
 
614 614
 					<!--第四屏  话务量统计-->
615 615
 						<div class="slideCon_bg trafficVolume clearfix" >
616
-							<p class="slide_title slide_title5"></p>
616
+						<p class="top_title" style="margin-left: 205px;padding-top: 6px; margin-left: 601px; position: absolute;font-size: 27px;letter-spacing: 8px;top: 80px;color: #fff;text-shadow: 1px 1px #34c0d9;">诉求关键字</p>
617 617
 							<div class="fivePos" style="width: 100% !important;">
618 618
 								<div class="time_box pull-right form-inline" style="margin-right:122px;margin-top:-5px">
619 619
 									<!--地区选择:
620 620
 									<select class="areaFive selects" style="height: 30px; margin-right: 20px;"></select>-->
621 621
 									部门
622
-									<select class="depart selects" style="height: 28px;"> </select>
622
+									<select class="depart selects" style="height: 28px;width: 308px;"> </select>
623 623
 									日期
624 624
 									<input type="text" id="test6" class="times lasttime" style="margin-right: 0px;" /> 
625 625
 								</div>
626 626
 							</div>
627 627
 							<div class="orderCon_left slide_left sl">
628
-								<div class="keyW_t">
628
+								<!-- <div class="keyW_t">
629 629
 									投诉关键字
630
-								</div>
630
+								</div> -->
631 631
 								<div class="tagBox">
632 632
 									<div class="tagcloud">
633 633
 									</div>

+ 5 - 5
WebChart/fourth.html

@@ -608,21 +608,21 @@
608 608
 
609 609
 					<!--第四屏  话务量统计-->
610 610
 						<div class="slideCon_bg_block slideCon_bg trafficVolume clearfix" >
611
-							<p class="slide_title slide_title5"></p>
611
+							<p class="top_title" style="margin-left: 205px;padding-top: 6px; margin-left: 601px; position: absolute;font-size: 27px;letter-spacing: 8px;top: 80px;color: #fff;text-shadow: 1px 1px #34c0d9;">诉求关键字</p>
612 612
 							<div class="fivePos" style="width: 100% !important;">
613
-								<div class="time_box pull-right form-inline" style="margin-right:122px;margin-top:-5px">
613
+								<div class="time_box pull-right form-inline" style="margin-right:119px;margin-top:-5px">
614 614
 									<!--地区选择:
615 615
 									<select class="areaFive selects" style="height: 30px; margin-right: 20px;"></select>-->
616 616
 									部门
617
-									<select class="depart selects" style="height: 28px;"> </select>
617
+									<select class="depart selects" style="height: 28px; width: 308px;"> </select>
618 618
 									日期
619 619
 									<input type="text" id="test6" class="times lasttime" style="margin-right: 0px;" /> 
620 620
 								</div>
621 621
 							</div>
622 622
 							<div class="orderCon_left slide_left sl">
623
-								<div class="keyW_t">
623
+							<!-- 	<div class="keyW_t">
624 624
 									投诉关键字
625
-								</div>
625
+								</div> -->
626 626
 								<div class="tagBox">
627 627
 									<div class="tagcloud">
628 628
 									</div>

+ 161 - 157
WebChart/index.html

@@ -38,7 +38,7 @@
38 38
 		  background: url(./img/slide_bg1.png) no-repeat;
39 39
 		  height: 420px;
40 40
 		
41
-		  background-size: 106% 100%;
41
+		  background-size: 106% 109%;
42 42
 		
43 43
 		}
44 44
 		.activeBox{
@@ -65,7 +65,7 @@
65 65
 		<div class="smallbox">
66 66
 			<!-- 安阳市各区县工单统计 -->
67 67
 			<div class="smallimg ">
68
-				<p class="top_title">安阳市各区县工单统计</p>
68
+				<p class="top_title" style="padding-top: 6px;margin-left: 180px;">安阳市各区县工单统计</p>
69 69
 				<div class="orderCon_left slide_left">
70 70
 					<ul id="det_ult" style="position: relative;">
71 71
 						<li class="orderli">
@@ -177,22 +177,22 @@
177 177
 
178 178
 			</div>
179 179
 			<!-- 多媒体全渠道来源统计 -->
180
-			<div class="smallimg">
181
-				<p class="top_title" style="margin-left: 156px;">多媒体全渠道来源统计</p>
180
+			<div class="smallimg orderSource">
181
+				<p class="top_title" style="margin-left: 180px;padding-top: 6px;">多媒体全渠道来源统计</p>
182 182
 		
183
-				<!-- <div class="source_left slide_left sl_more">
183
+				<div class="source_left slide_left sl_more">
184 184
 					<ul>
185 185
 						<li class="clearfix">
186
-							<div class="line_wrap one_line line oneLeft_line"></div>
186
+							<!-- <div class="line_wrap one_line line oneLeft_line"></div> -->
187 187
 						</li>
188 188
 						<li class="clearfix">
189
-							<div class="line_wrap line two_line twoLeft_line"></div>
189
+							<!-- <div class="line_wrap line two_line twoLeft_line"></div> -->
190 190
 						</li>
191 191
 						<li class="clearfix">
192
-							<div class="line_wrap line three_line threeLeft_line"></div>
192
+							<!-- <div class="line_wrap line three_line threeLeft_line"></div> -->
193 193
 						</li>
194 194
 						<li class="clearfix">
195
-							<div class="line_wrap line four_line fourLeft_line"></div>
195
+							<!-- <div class="line_wrap line four_line fourLeft_line"></div> -->
196 196
 						</li>
197 197
 						
198 198
 					</ul>
@@ -201,30 +201,30 @@
201 201
 					<div class="map_bg" style="width: 95%; background-size: 76%; margin:-78px -255px;">
202 202
 					</div>
203 203
 				</div>
204
-				<div class="source_right slide_right">
204
+				<div class="source_right slide_right sr_bm">
205 205
 					<ul>
206 206
 						<li class="clearfix">
207
-							<div class="line_wrap one_line line oneRight_line"></div>
207
+							<!-- <div class="line_wrap one_line line oneRight_line"></div> -->
208 208
 						</li>
209 209
 						<li class="clearfix">
210
-							<div class="line_wrap line two_line twoRight_line"></div>
210
+							<!-- <div class="line_wrap line two_line twoRight_line"></div> -->
211 211
 				
212 212
 						</li>
213 213
 						<li class="clearfix">
214
-							<div class="line_wrap line three_line threeRight_line"></div>
214
+							<!-- <div class="line_wrap line three_line threeRight_line"></div> -->
215 215
 						</li>
216 216
 						<li class="clearfix">
217
-							<div class="line_wrap line four_line fourRight_line">
218
-							</div>
217
+							<!-- <div class="line_wrap line four_line fourRight_line">
218
+							</div> -->
219 219
 						</li>
220 220
 						
221 221
 					</ul>
222
-				</div> -->
222
+				</div>
223 223
 			</div>
224 224
 
225 225
 			<!-- 工单类型统计 -->
226 226
 			<div class="smallimg">
227
-				<p class="top_title" style="margin-left: 190px;">工单类型统计</p>
227
+				<p class="top_title" style="margin-left: 205px;padding-top: 6px;">工单类型统计</p>
228 228
 				<div class="orderTtype_Con">
229 229
 					<ul>
230 230
 						<li class="active">
@@ -338,11 +338,11 @@
338 338
 			</div>
339 339
 			<!-- 话务量统计 -->
340 340
 			<div class="smallimg">
341
-				<p class="top_title" style="margin-left: 190px;">话务量统计</p>
341
+				<p class="top_title" style="margin-left: 205px;padding-top: 6px;">诉求关键字</p>
342 342
 				<div class="orderCon_left slide_left sl">
343
-					<div class="keyW_t">
343
+					<!-- <div class="keyW_t">
344 344
 						投诉关键字
345
-					</div>
345
+					</div> -->
346 346
 					<div class="tagBox">
347 347
 						<div class="tagcloud">
348 348
 						</div>
@@ -359,16 +359,16 @@
359 359
 								</colgroup>
360 360
 								<thead class="thead">
361 361
 									<tr>
362
-										<td style="font-size: 12px;width: 60px;">部门名称</td>
362
+										<td style="font-size: 12px;width: 80px;">部门名称</td>
363 363
 										<td style="font-size: 12px;">数量</td>
364 364
 										<td style="font-size: 12px;">占比</td>
365 365
 									</tr>
366 366
 								</thead>
367 367
 							</table>
368
-							<div class="scroll_table" style="width: 200px;height: 230px; overflow: hidden;">
368
+							<div class="scroll_table" style="width: 150px;height: 220px; overflow: hidden;">
369 369
 								<table class="table">
370 370
 									<colgroup>
371
-										<col style="width: 230px;" />
371
+										<col style="width: 150px;" />
372 372
 										<col />
373 373
 									</colgroup>
374 374
 									<tbody>
@@ -378,21 +378,150 @@
378 378
 						</div>
379 379
 					</div>
380 380
 			
381
-			</div>
381
+			</div>0
382 382
 		</div>
383 383
 		<!-- 渠道来源 -->
384 384
 		<div class="smallimg">
385
-			<p class="top_title" style="margin-left: 190px;">渠道来源</p>
386
-		<div class="pull-left" id="part3" style=" width: 90%;height: 320px;margin: 5px 45px;"></div>
385
+			<p class="top_title" style="margin-left: 215px;padding-top: 6px;">渠道来源</p>
386
+		<div  id="part3" style=" width: 90%;height: 320px;margin: 5px 45px;"></div>
387 387
 		</div>
388
+		<!-- 接单部门 -->
388 389
 		<div class="smallimg">
389
-		<img class="imm" src="img/background06.png" >
390
+			<p class="top_title" style="margin-left: 215px;padding-top: 6px;">接单部门</p>
391
+	<div class="table_box" style="width: 85%;height: 270px; margin: 20px 48px;">
392
+		<table class="table">
393
+			<colgroup>
394
+	            <col style="width: 79px;"/>
395
+	            <col/>
396
+		    </colgroup>
397
+		    <thead class="thead_six">
398
+				<tr>
399
+					<td>部门名称</td>
400
+					<td>咨询</td>
401
+					<td>求助</td>
402
+					<td>建议</td>
403
+					<td>表扬</td>
404
+					<td>其他</td>
405
+					<td>合计</td>
406
+					<td>占比</td>
407
+				</tr>
408
+			</thead>
409
+		</table>
410
+		<div id="scroll_table"  style="width: 100%;height: 270px; overflow: hidden;">
411
+			<table class="table tabsix" style="width: 100%;">
412
+			<colgroup>
413
+		                <col style="width: 79px;"/>
414
+		                <col/>
415
+		    </colgroup>
416
+			<tbody>
417
+				<tr>
418
+					<td>市公安局</td>
419
+					<td><span class="text_color1">20</span></td>
420
+					<td><span class="text_color1">20</span></td>
421
+					<td><span class="text_color1">20</span></td>
422
+					<td><span class="text_color1">20</span></td>
423
+					<td><span class="text_color1">20</span></td>
424
+					<td><span class="text_color2">120</span></td>
425
+					<td><span class="text_color3">20%</span></td>
426
+				</tr>
427
+				<tr>
428
+					<td>市公安局</td>
429
+					<td><span class="text_color1">20</span></td>
430
+					<td><span class="text_color1">20</span></td>
431
+					<td><span class="text_color1">20</span></td>
432
+					<td><span class="text_color1">20</span></td>
433
+					<td><span class="text_color1">20</span></td>
434
+					<td><span class="text_color2">120</span></td>
435
+					<td><span class="text_color3">20%</span></td>
436
+				</tr>
437
+				<tr>
438
+					<td>市公安局</td>
439
+					<td><span class="text_color1">20</span></td>
440
+					<td><span class="text_color1">20</span></td>
441
+					<td><span class="text_color1">20</span></td>
442
+					<td><span class="text_color1">20</span></td>
443
+					<td><span class="text_color1">20</span></td>
444
+					<td><span class="text_color2">120</span></td>
445
+					<td><span class="text_color3">20%</span></td>
446
+				</tr>
447
+				<tr>
448
+					<td>市公安局</td>
449
+					<td><span class="text_color1">20</span></td>
450
+					<td><span class="text_color1">20</span></td>
451
+					<td><span class="text_color1">20</span></td>
452
+					<td><span class="text_color1">20</span></td>
453
+					<td><span class="text_color1">20</span></td>
454
+					<td><span class="text_color2">120</span></td>
455
+					<td><span class="text_color3">20%</span></td>
456
+				</tr>
457
+				<tr>
458
+					<td>市公安局</td>
459
+					<td><span class="text_color1">20</span></td>
460
+					<td><span class="text_color1">20</span></td>
461
+					<td><span class="text_color1">20</span></td>
462
+					<td><span class="text_color1">20</span></td>
463
+					<td><span class="text_color1">20</span></td>
464
+					<td><span class="text_color2">120</span></td>
465
+					<td><span class="text_color3">20%</span></td>
466
+				</tr>
467
+				<tr>
468
+					<td>市公安局</td>
469
+					<td><span class="text_color1">20</span></td>
470
+					<td><span class="text_color1">20</span></td>
471
+					<td><span class="text_color1">20</span></td>
472
+					<td><span class="text_color1">20</span></td>
473
+					<td><span class="text_color1">20</span></td>
474
+					<td><span class="text_color2">120</span></td>
475
+					<td><span class="text_color3">20%</span></td>
476
+				</tr>
477
+				<tr>
478
+					<td>市公安局</td>
479
+					<td><span class="text_color1">20</span></td>
480
+					<td><span class="text_color1">20</span></td>
481
+					<td><span class="text_color1">20</span></td>
482
+					<td><span class="text_color1">20</span></td>
483
+					<td><span class="text_color1">20</span></td>
484
+					<td><span class="text_color2">120</span></td>
485
+					<td><span class="text_color3">20%</span></td>
486
+				</tr>
487
+				<tr>
488
+					<td>市公安局</td>
489
+					<td><span class="text_color1">20</span></td>
490
+					<td><span class="text_color1">20</span></td>
491
+					<td><span class="text_color1">20</span></td>
492
+					<td><span class="text_color1">20</span></td>
493
+					<td><span class="text_color1">20</span></td>
494
+					<td><span class="text_color2">120</span></td>
495
+					<td><span class="text_color3">20%</span></td>
496
+				</tr>
497
+				<tr>
498
+					<td>市公安局</td>
499
+					<td><span class="text_color1">20</span></td>
500
+					<td><span class="text_color1">20</span></td>
501
+					<td><span class="text_color1">20</span></td>
502
+					<td><span class="text_color1">20</span></td>
503
+					<td><span class="text_color1">20</span></td>
504
+					<td><span class="text_color2">120</span></td>
505
+					<td><span class="text_color3">20%</span></td>
506
+				</tr>
507
+				
508
+			</tbody>
509
+			
510
+		</table>
511
+		
390 512
 		</div>
513
+		
514
+	</div>
515
+		</div>
516
+		<!-- 话务数量 -->
391 517
 		<div class="smallimg">
392
-		<img class="imm" src="img/background07.png" >
518
+			<p class="top_title" style="margin-left: 215px;padding-top: 6px;">话务数量</p>
519
+		<div id="todyPhoneCount" style="width: 90%;height: 330px;margin: 15px 35px;"></div>
393 520
 		</div>
521
+		<!--  投诉举报  -->
394 522
 		<div class="smallimg">
395
-				<img class="imm" src="img/background08.png" >
523
+				<p class="top_title" style="margin-left: 215px;padding-top: 6px;">投诉举报</p>
524
+			<div class="pull-right" id="partcom" style=" width: 85%;height: 340px;margin: 7px 17px;"></div>
396 525
 		</div>
397 526
 		</div>
398 527
 		</div>
@@ -406,10 +535,11 @@
406 535
 		<script src="js/tagcloud.js"></script>
407 536
 		<script src="js/ScrollDiv.js"></script>
408 537
 		<script src="js/index.js"></script>
409
-		<!-- <script src="js/complaintsReport.js"></script>
538
+<!-- 	   <script src="js/sourceChannel.js" type="text/javascript" charset="utf-8"></script>
539
+ -->		<!-- <script src="js/complaintsReport.js"></script>
410 540
 		<script src="js/TelephoneDetails.js" type="text/javascript" charset="utf-8"></script>
411 541
 		<script src="js/receiptDepartment.js" type="text/javascript" charset="utf-8"></script>
412
-		<script src="js/sourceChannel.js" type="text/javascript" charset="utf-8"></script> -->
542
+ -->
413 543
 		<script src="js/setItervalTime.js"></script>
414 544
 		<script src="js/pieChat.js"></script>
415 545
 		<script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
@@ -431,133 +561,7 @@
431 561
 		$(".nav_middle").click(function() {
432 562
 			window.open('index.html', '_self')
433 563
 		})
434
-		// 渠道来源
435
-		var part3 = echarts.init(document.getElementById('part3'));
436
-		part3.setOption({
437
-			color: ['#6ce7ac', '#6a91e0', '#ceba5f', '#cb5f79', '#ae765a', '#569d4e', '#7d55ba', '#ce5aba', '#355cdd', '#44c1c6', '#ceba5e', '#c64444'],
438
-			title: {
439
-				text: '各区县占比',
440
-				x: 'center',
441
-				y: '45%',
442
-				textStyle: {
443
-					fontWeight: 'normal',
444
-					fontSize: 16,
445
-					color: '#fff'
446
-		
447
-				}
448
-			},
449
-			tooltip: {
450
-				trigger: 'item',
451
-				formatter: "{a} <br/>{b} : {c} ({d}%)",
452
-				axisPointer: {
453
-					crossStyle: {
454
-						color: '#fff'
455
-					}
456
-				}
457
-			},
458
-						legend: {
459
-							//      orient: 'vertical',
460
-							bottom: 'bottom',
461
-							data: ['安阳县','北关区','林州市','龙安区','内黄县','市区','汤阴县','安阳县','文峰区','殷都区'],
462
-							textStyle: {
463
-								color: '#fff'
464
-							}
465
-						},
466
-			series: [{
467
-				name: '数据',
468
-				type: 'pie',
469
-				radius: ['30%', '60%'],
470
-				center: ['50%', '50%'],
471
-				data: [],
472
-				itemStyle: {
473
-					emphasis: {
474
-						shadowBlur: 10,
475
-						shadowOffsetX: 0,
476
-						shadowColor: 'rgba(0, 0, 0, 0.5)'
477
-					},
478
-					normal: {
479
-						label: {
480
-							show: true,
481
-							//                                 formatter: '{b} : {c} ({d}%)' 
482
-							formatter: '{d}%'
483
-						},
484
-						labelLine: {
485
-							show: true
486
-						}
487
-					}
488
-				},
489
-				label: {
490
-					normal: {
491
-						textStyle: {
492
-							color: '#fff'
493
-						}
494
-					}
495
-				}
496
-			}]
497
-		});
498 564
 		
499
-		function partThree(start, end,areaOneVal) {
500
-			//		var index = layer.load(1, {
501
-			//			shade: [0.5, '#030303'] //0.1透明度的白色背景
502
-			//		});
503
-			$.ajax({
504
-				type: "get",
505
-				url: huayi.config.callcenter_url + "info/GetAreaCountByDate",
506
-				async: true,
507
-				dataType: 'json',
508
-				data: {
509
-					start: start,
510
-					end: end,
511
-					branchcode:areaOneVal
512
-				},
513
-				success: function(data) {
514
-					if(data.state.toLowerCase() == 'success') {
515
-						//						layer.close(index);
516
-						$('.complaint_typeL').html('');
517
-						$('.complaint_typeR').html('');
518
-						var con = data.data;
519
-						var part_1_legend = [];
520
-						var part_1_ser = [];
521
-						$(con).each(function(i, n) {
522
-							part_1_legend.push(n.AreaName)
523
-							var part_1_obj = {};
524
-							part_1_obj.value = n.Count;
525
-							part_1_obj.name = n.AreaName;
526
-							part_1_ser.push(part_1_obj)
527
-							if(n.AreaName.indexOf('城乡一体') != -1) {
528
-								n.AreaName = "城乡示范"
529
-							}
530
-							var str = '<li>' +
531
-								'<span class="type_name">' + n.AreaName + '</span>   <span class="type_count">' + n.Count + '</span>' +
532
-								'</li>'
533
-							if(i <= 5) {
534
-								$(str).appendTo('.complaint_typeL');
535
-							} else if(i <= 11&&i >5){
536
-								$(str).appendTo('.complaint_typeR');
537
-							}
538
-						})
539
-						part3.setOption({
540
-							//									legend: {
541
-							//										selected: {
542
-							//										'当即办理': false
543
-							//									}
544
-							//									},
545
-							series: [{
546
-								data: part_1_ser
547
-							}]
548
-						})
549 565
 		
550
-					}
551
-				}
552
-			});
553
-		}
554
-		
555
-		function Ajax() {
556
-			var areaOneVal = helper.cookies.get("areaOneVal");
557
-			var areaOneText = helper.cookies.get("areaOneText");
558
-			// partOne($('#time1').val(),areaOneVal)
559
-			// partTwo($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1],areaOneVal);
560
-			partThree($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaOneVal)
561
-		}
562 566
 	</script>
563 567
 </html>

+ 100 - 104
WebChart/js/TelephoneDetails.js

@@ -94,126 +94,122 @@
94 94
 			}
95 95
 		});
96 96
 	}
97
-	var sitProportion = echarts.init(document.getElementById('sitProportion')); //坐席闲忙比例
98
-	sitProportion.setOption({
99
-		color: ['#4ab7c7', '#2484d9', '#2e39c1'],
100
-		tooltip: {
101
-			trigger: 'axis',
102
-			axisPointer: {
103
-				type: 'shadow',
104
-				label: {
105
-					show: true,
106
-					backgroundColor: '#333'
107
-				}
108
-			},
109
-			formatter: function(datas) {
110
-				var res = datas[0].name + '<br/>',
111
-					val;
112
-				for(var i = 0, length = datas.length; i < length; i++) {
113
-					val = (datas[i].value) + '%';
114
-					res += datas[i].seriesName + ':' + val + '<br/>';
115
-				}
116
-				return res;
117
-			}
118
-		},
119
-		legend: {
120
-			top: 'top',
121
-			left: '135px',
122
-			data: ['置忙', '通话', '空闲'],
123
-			textStyle: {
124
-				color: '#00e9ff'
125
-			}
126
-		},
127
-		grid: {
128
-			left: '1%',
129
-			right: '3%',
130
-			bottom: '5%',
131
-			containLabel: true
132
-		},
133
-		xAxis: {
134
-			name: '时',
135
-			data: [],
136
-			axisLine: {
137
-				lineStyle: {
138
-					color: '#3061a2'
139
-				}
140
-			},
141
-			axisTick: {
142
-				alignWithLabel: true,
143
-				show: false
144
-			},
145
-			axisLabel: { //横轴字体颜色
146
-				show: true,
147
-				textStyle: {
148
-					color: '#eff0f4'
149
-				}
150
-			}
97
+	// var sitProportion = echarts.init(document.getElementById('sitProportion')); //坐席闲忙比例
98
+	// sitProportion.setOption({
99
+	// 	color: ['#4ab7c7', '#2484d9', '#2e39c1'],
100
+	// 	tooltip: {
101
+	// 		trigger: 'axis',
102
+	// 		axisPointer: {
103
+	// 			type: 'shadow',
104
+	// 			label: {
105
+	// 				show: true,
106
+	// 				backgroundColor: '#333'
107
+	// 			}
108
+	// 		},
109
+	// 		formatter: function(datas) {
110
+	// 			var res = datas[0].name + '<br/>',
111
+	// 				val;
112
+	// 			for(var i = 0, length = datas.length; i < length; i++) {
113
+	// 				val = (datas[i].value) + '%';
114
+	// 				res += datas[i].seriesName + ':' + val + '<br/>';
115
+	// 			}
116
+	// 			return res;
117
+	// 		}
118
+	// 	},
119
+	// 	legend: {
120
+	// 		top: 'top',
121
+	// 		left: '135px',
122
+	// 		data: ['置忙', '通话', '空闲'],
123
+	// 		textStyle: {
124
+	// 			color: '#00e9ff'
125
+	// 		}
126
+	// 	},
127
+	// 	grid: {
128
+	// 		left: '1%',
129
+	// 		right: '3%',
130
+	// 		bottom: '5%',
131
+	// 		containLabel: true
132
+	// 	},
133
+	// 	xAxis: {
134
+	// 		name: '时',
135
+	// 		data: [],
136
+	// 		axisLine: {
137
+	// 			lineStyle: {
138
+	// 				color: '#3061a2'
139
+	// 			}
140
+	// 		},
141
+	// 		axisTick: {
142
+	// 			alignWithLabel: true,
143
+	// 			show: false
144
+	// 		},
145
+	// 		axisLabel: { //横轴字体颜色
146
+	// 			show: true,
147
+	// 			textStyle: {
148
+	// 				color: '#eff0f4'
149
+	// 			}
150
+	// 		}
151 151
 
152
-		},
153
-		yAxis: {
154
-			name: '(比率)',
155
-			splitLine: {
156
-				show: false
157
-			},
158
-			axisLine: {
159
-				lineStyle: {
160
-					color: '#3061a2'
161
-				}
162
-			},
163
-			axisLabel: { //横轴字体颜色
164
-				show: true,
165
-				textStyle: {
166
-					color: '#eff0f4'
167
-				}
168
-			}
169
-		},
170
-		series: [{
171
-			name: '置忙',
172
-			type: 'bar',
173
-			data: []
174
-		}, {
175
-			name: '通话',
176
-			type: 'bar',
177
-			data: []
178
-		}, {
179
-			name: '空闲',
180
-			type: 'bar',
181
-			data: []
182
-		}]
152
+	// 	},
153
+	// 	yAxis: {
154
+	// 		name: '(比率)',
155
+	// 		splitLine: {
156
+	// 			show: false
157
+	// 		},
158
+	// 		axisLine: {
159
+	// 			lineStyle: {
160
+	// 				color: '#3061a2'
161
+	// 			}
162
+	// 		},
163
+	// 		axisLabel: { //横轴字体颜色
164
+	// 			show: true,
165
+	// 			textStyle: {
166
+	// 				color: '#eff0f4'
167
+	// 			}
168
+	// 		}
169
+	// 	},
170
+	// 	series: [{
171
+	// 		name: '置忙',
172
+	// 		type: 'bar',
173
+	// 		data: []
174
+	// 	}, {
175
+	// 		name: '通话',
176
+	// 		type: 'bar',
177
+	// 		data: []
178
+	// 	}, {
179
+	// 		name: '空闲',
180
+	// 		type: 'bar',
181
+	// 		data: []
182
+	// 	}]
183 183
 
184
-	});
184
+	// });
185 185
 
186 186
 	function partOne(starts, ends,areaOneVal) {
187 187
 		$.ajax({
188 188
 			type: "get",
189
-			url: huayi.config.callcenter_url + "info/GetUserStateCount24ByDate",
189
+			url: huayi.config.callcenter_url + "SeatMonitoring/getlist",
190 190
 			async: true,
191 191
 			dataType: 'json',
192 192
 			data: {
193
-				start: starts,
194
-				end: ends,
195
-				branchcode:areaOneVal
193
+				// start: starts,
194
+				// end: ends,
195
+				// branchcode:areaOneVal
196 196
 			},
197 197
 			success: function(data) {
198 198
 				if(data.state.toLowerCase() == 'success') {
199 199
 					// 	   			layer.close(index);
200 200
 					var con = data.data;
201
-					sitProportion.setOption({
202
-						xAxis: {
203
-							data: con.hours
204
-						},
205
-						series: [{
206
-							data: con.thpercents
207
-						}, {
208
-							data: con.zmpercents
209
-						}, {
210
-							data: con.kxpercents
211
-						}]
212
-
213
-					})
201
+					console.log(con)
202
+					$(".users").html('')
203
+						$(con).each(function(i, n) {
204
+						var str=' <li class="touxiang"><ol class="tx"><li class="person"><span class="yuan_one"></span><span class="yuan_two"></span></li><li class="userid">'+n.F_UserCode+'</li></ol></li>';
205
+						    var a=$(str)
206
+						    a.appendTo($(".users"))
207
+								   })
208
+									  
209
+					}
214 210
 
215 211
 				}
216
-			}
212
+			
217 213
 		});
218 214
 	}
219 215
 

+ 440 - 10
WebChart/js/index.js

@@ -2,15 +2,15 @@
2 2
 var newData=[]  //数据倒序
3 3
 var floag=true
4 4
 
5
-var areaOneVal = helper.cookies.get("areaOneVal");
6
-var areaOneText = helper.cookies.get("areaOneText");
7
-if (areaOneVal) {
8
-	var areaOneVal = helper.cookies.get("areaOneVal");
5
+// var areaOneVal = helper.cookies.get("areaOneVal");
6
+// var areaOneText = helper.cookies.get("areaOneText");
7
+// if (areaOneVal) {
8
+// 	var areaOneVal = helper.cookies.get("areaOneVal");
9 9
 	
10
-} else{
11
-	var areaOneVal="sqs12345"
10
+// } else{
11
+// 	var areaOneVal="sqs12345"
12 12
 	
13
-}
13
+// }
14 14
 $(function() {
15 15
 	
16 16
 	loginTimeLimit(); //登录
@@ -194,7 +194,7 @@ function turn(aa) {
194 194
 				if(data.state.toLowerCase() == 'success') {
195 195
 					var con = data.data;
196 196
 					newData = con.sort(compare("SLCount"));
197
-				  
197
+				  console.log(1)
198 198
 					$(newData).each(function(i, n) {
199 199
 						if(n.AreaName=='安阳市'){
200 200
 							n.AreaName="市区"
@@ -294,11 +294,11 @@ function turn(aa) {
294 294
 						'<div class="percent_box">' +
295 295
 						'<div class="percent_out"></div>	' +
296 296
 						' <div class="percent_in"></div>' +
297
-						' <div class="percent_word"><p>' + n.Rate.split('%')[0] + '</p>%<p style="margin-top: 16px;">占总量</p>' +
297
+						' <div class="percent_word"><p>' + n.Rate.split('%')[0] + '%' +'</p><p style="margin-top: 30px;">占总量</p>' +
298 298
 						'</div>' +
299 299
 						'</div>' +
300 300
 						'</div>' +
301
-						'<p class="num_word">' +
301
+						'<p class="num_word nw">' +
302 302
 						'<span>' + n.Source + '</span><span>' + n.Count + '</span>' +
303 303
 						'</p>' +
304 304
 						'</div>'
@@ -526,11 +526,28 @@ function keyWordDetail(sd, ed,areaTwoVal) {
526 526
         keyWordDetail($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(' ~ ')[1],$(".areaFive").val());
527 527
 	});
528 528
 	function Ajax() {
529
+		
529 530
 		oneScreen($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1])
530 531
 		twoScreen($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1])
531 532
 		satisfaction($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1])
532 533
 		threeScreen($('#time3').val(),$(".areaThree").val());
533 534
         fiveScreen($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(' ~ ')[1],$(".areaFive").val())
535
+
536
+//第五 屏  渠道来源
537
+var areaOneVal = helper.cookies.get("areaOneVal");
538
+	var areaOneText = helper.cookies.get("areaOneText");
539
+	partThree($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaOneVal)
540
+
541
+
542
+// 接单 部门
543
+partTwo($('#phone_time').val() && $('#phone_time').val().split(' ~ ')[0], $('#phone_time').val() && $('#phone_time').val().split(' ~ ')[1],areaOneVal);
544
+
545
+// 话务数量
546
+parthuawu($('#time3').val(),areaOneVal);
547
+
548
+// 投诉举报
549
+partcomplain($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaOneVal)
550
+
534 551
 }
535 552
 
536 553
 
@@ -558,4 +575,417 @@ function loginTimeLimit(){
558 575
 	});
559 576
 }
560 577
 
578
+// 渠道来源
579
+var part3 = echarts.init(document.getElementById('part3'));
580
+part3.setOption({
581
+	color: ['#6ce7ac', '#6a91e0', '#ceba5f', '#cb5f79', '#ae765a', '#569d4e', '#7d55ba', '#ce5aba', '#355cdd', '#44c1c6', '#ceba5e', '#c64444'],
582
+	title: {
583
+		text: '各区县占比',
584
+		x: 'center',
585
+		y: '45%',
586
+		textStyle: {
587
+			fontWeight: 'normal',
588
+			fontSize: 16,
589
+			color: '#fff'
590
+
591
+		}
592
+	},
593
+	tooltip: {
594
+		trigger: 'item',
595
+		formatter: "{a} <br/>{b} : {c} ({d}%)",
596
+		axisPointer: {
597
+			crossStyle: {
598
+				color: '#fff'
599
+			}
600
+		}
601
+	},
602
+				legend: {
603
+					//      orient: 'vertical',
604
+					bottom: 'bottom',
605
+					data: ['安阳县','北关区','林州市','龙安区','内黄县','市区','汤阴县','安阳县','文峰区','殷都区'],
606
+					textStyle: {
607
+						color: '#fff'
608
+					}
609
+				},
610
+	series: [{
611
+		name: '数据',
612
+		type: 'pie',
613
+		radius: ['30%', '60%'],
614
+		center: ['50%', '50%'],
615
+		data: [],
616
+		itemStyle: {
617
+			emphasis: {
618
+				shadowBlur: 10,
619
+				shadowOffsetX: 0,
620
+				shadowColor: 'rgba(0, 0, 0, 0.5)'
621
+			},
622
+			normal: {
623
+				label: {
624
+					show: true,
625
+					//                                 formatter: '{b} : {c} ({d}%)' 
626
+					formatter: '{d}%'
627
+				},
628
+				labelLine: {
629
+					show: true
630
+				}
631
+			}
632
+		},
633
+		label: {
634
+			normal: {
635
+				textStyle: {
636
+					color: '#fff'
637
+				}
638
+			}
639
+		}
640
+	}]
641
+});
642
+
643
+function partThree(start, end,areaOneVal) {
644
+	//		var index = layer.load(1, {
645
+	//			shade: [0.5, '#030303'] //0.1透明度的白色背景
646
+	//		});
647
+	$.ajax({
648
+		type: "get",
649
+		url: huayi.config.callcenter_url + "info/GetAreaCountByDate",
650
+		async: true,
651
+		dataType: 'json',
652
+		data: {
653
+			start: start,
654
+			end: end,
655
+			branchcode:areaOneVal
656
+		},
657
+		success: function(data) {
658
+			if(data.state.toLowerCase() == 'success') {
659
+				//						layer.close(index);
660
+				$('.complaint_typeL').html('');
661
+				$('.complaint_typeR').html('');
662
+				var con = data.data;
663
+				var part_1_legend = [];
664
+				var part_1_ser = [];
665
+				$(con).each(function(i, n) {
666
+					part_1_legend.push(n.AreaName)
667
+					var part_1_obj = {};
668
+					part_1_obj.value = n.Count;
669
+					part_1_obj.name = n.AreaName;
670
+					part_1_ser.push(part_1_obj)
671
+					if(n.AreaName.indexOf('城乡一体') != -1) {
672
+						n.AreaName = "城乡示范"
673
+					}
674
+					var str = '<li>' +
675
+						'<span class="type_name">' + n.AreaName + '</span>   <span class="type_count">' + n.Count + '</span>' +
676
+						'</li>'
677
+					if(i <= 5) {
678
+						$(str).appendTo('.complaint_typeL');
679
+					} else if(i <= 11&&i >5){
680
+						$(str).appendTo('.complaint_typeR');
681
+					}
682
+				})
683
+				part3.setOption({
684
+					//									legend: {
685
+					//										selected: {
686
+					//										'当即办理': false
687
+					//									}
688
+					//									},
689
+					series: [{
690
+						data: part_1_ser
691
+					}]
692
+				})
693
+
694
+			}
695
+		}
696
+	});
697
+}
698
+
699
+// 接单部门
700
+//表格滚动
701
+var area = document.getElementById('scroll_table');
702
+var iliHeight = 34; //单行滚动的高度  
703
+var speed = 20; //滚动的速度  
704
+var time;
705
+var delay = 1000;
706
+area.scrollTop = 0;
707
+area.innerHTML += area.innerHTML; //克隆一份一样的内容  
708
+function startScroll() {
709
+	time = setInterval("scrollUp()", speed);
710
+	area.scrollTop++;
711
+	console.log(area.scrollTop);
712
+}
561 713
 
714
+function scrollUp() {
715
+	if(area.scrollTop % iliHeight == 0) {
716
+		clearInterval(time);
717
+		setTimeout(startScroll, delay);
718
+	} else {
719
+		area.scrollTop++;
720
+		if(area.scrollTop >= area.scrollHeight / 2) {
721
+			area.scrollTop = 0;
722
+		}
723
+	}
724
+}
725
+setTimeout(startScroll, delay)
726
+function partTwo(starts, ends, areaOneVal) {
727
+	$.ajax({
728
+		type: "get",
729
+		url: huayi.config.callcenter_url + "Info/GetDeptCountByDateNew",
730
+		dataType: 'json',
731
+		async: true,
732
+		data: {
733
+			start: starts,
734
+			end: ends,
735
+			deptid: $('.depart').val(),
736
+			branchcode:areaOneVal
737
+		},
738
+		success: function(data) {
739
+			if(data.state.toLowerCase() == 'success') {
740
+				$('.thead_six tr').html('');
741
+				$('#scroll_table tbody').html('');
742
+				var con = data.data;
743
+				var thead_six = con[0];
744
+				console.log(thead_six)
745
+				$.each(thead_six, function(k, val) {
746
+				
747
+					$('<td style="width:55px">' + k + '</td>').appendTo('.thead_six tr');
748
+				})
749
+				$(con).each(function(j, n) {
750
+					var str = '<tr>'
751
+					$.each(thead_six, function(j, m) {
752
+						$.each(n, function(k, val) {
753
+							if(j == k) {
754
+								if(val == '') {
755
+									val = 0;
756
+								}
757
+								str += '<td style="width:53px">' + val + '</td>'
758
+							}
759
+						})
760
+					})
761
+					str += '</tr>';
762
+
763
+					$('#scroll_table tbody').append(str);
764
+				})
765
+
766
+			}
767
+		}
768
+	});
769
+}
770
+
771
+// 话务数量
772
+	//part3
773
+	var todyPhoneCount = echarts.init(document.getElementById('todyPhoneCount'));
774
+	todyPhoneCount.setOption({
775
+		tooltip: {
776
+			trigger: 'axis',
777
+			axisPointer: {
778
+				type: false,
779
+				label: {
780
+					show: true,
781
+					backgroundColor: '#030917'
782
+				}
783
+			},
784
+		},
785
+
786
+		xAxis: {
787
+			name: '类型',
788
+			data: ["话务量(通)", "来电(通)", "接通量(通)", "平均通话时长(秒)"],
789
+			axisLine: {
790
+				lineStyle: {
791
+					color: '#3061a2'
792
+				}
793
+			},
794
+			axisTick: {
795
+				alignWithLabel: true,
796
+				show: false
797
+			},
798
+			axisLabel: { //横轴字体颜色
799
+				show: true,
800
+				textStyle: {
801
+					color: '#ffffff'
802
+				}
803
+			}
804
+		},
805
+		yAxis: {
806
+			name: '数量',
807
+			splitLine: {
808
+				show: false
809
+			},
810
+			axisLine: {
811
+				lineStyle: {
812
+					color: '#3061a2'
813
+				}
814
+			},
815
+			axisLabel: { //横轴字体颜色
816
+				show: true,
817
+				textStyle: {
818
+					color: '#eff0f4'
819
+				}
820
+			}
821
+
822
+		},
823
+		series: [{
824
+			name: '数量',
825
+			type: 'bar',
826
+			barWidth: 18,
827
+			itemStyle: {
828
+				normal: {
829
+					color: function(params) {
830
+						// build a color map as your need.
831
+						var colorList = [
832
+							'#368cab', '#54b793', '#4b6ab0', '#2531a9'
833
+						];
834
+						return colorList[params.dataIndex]
835
+					}
836
+				}
837
+			},
838
+			label: {
839
+				normal: {
840
+					show: true,
841
+					position: 'top', //顶部数据显示位置
842
+					textStyle: {
843
+						color: '#fff' //顶部数据颜色
844
+					},
845
+					formatter: '{c}' // 这里是数据展示的时候显示的数据
846
+				}
847
+			},
848
+			data: []
849
+		}]
850
+
851
+	});
852
+
853
+	function parthuawu(dates,areaOneVal) {
854
+		$.ajax({
855
+			type: "get",
856
+			url: huayi.config.callcenter_url + "info/GetTelCountByDate",
857
+			async: true,
858
+			dataType: "json",
859
+			data: {
860
+				date: dates,
861
+				branchcode:areaOneVal
862
+			},
863
+			success: function(data) {
864
+				if(data.state.toLowerCase() == "success") {
865
+					//					layer.close(index);
866
+					var con = data.data;
867
+					todyPhoneCount.setOption({
868
+						series: [{
869
+							data: [con.hwcon, con.lhcon, con.jtcon, con.pjthtimes]
870
+						}]
871
+
872
+					})
873
+
874
+				}
875
+			}
876
+
877
+		});
878
+
879
+	}
880
+	
881
+	
882
+	// 投诉举报
883
+	var partcom = echarts.init(document.getElementById('partcom'));
884
+	partcom.setOption({
885
+		color: ['#6ce7ac', '#6a91e0', '#ceba5f', '#cb5f79', '#ae765a', '#569d4e'],
886
+		title: {
887
+			text: '各类型占比',
888
+			x: '28%',
889
+			y: '45%',
890
+			textStyle: {
891
+				fontWeight: 'normal',
892
+				fontSize: 16,
893
+				color: '#fff'
894
+		
895
+			}
896
+		},
897
+		tooltip: {
898
+			trigger: 'item',
899
+			formatter: "{a} <br/>{b} : {c} ({d}%)",
900
+			axisPointer: {
901
+				crossStyle: {
902
+					color: '#fff'
903
+				}
904
+			}
905
+		},
906
+					legend: {
907
+						//      orient: 'vertical',
908
+						bottom: 'bottom',
909
+						data: ['表扬','建议','投诉','举报','其他','求助','咨询'],
910
+						textStyle: {
911
+							color: '#fff'
912
+						}
913
+					},
914
+		series: [{
915
+			name: '数据',
916
+			type: 'pie',
917
+			radius: ['30%', '60%'],
918
+			center: ['40%', '50%'],
919
+			data: [],
920
+			itemStyle: {
921
+				emphasis: {
922
+					shadowBlur: 10,
923
+					shadowOffsetX: 0,
924
+					shadowColor: 'rgba(0, 0, 0, 0.5)'
925
+				},
926
+				normal: {
927
+					label: {
928
+						show: true,
929
+						//                                 formatter: '{b} : {c} ({d}%)' 
930
+						formatter: '{d}%'
931
+					},
932
+					labelLine: {
933
+						show: true
934
+					}
935
+				}
936
+			},
937
+			label: {
938
+				normal: {
939
+					textStyle: {
940
+						color: '#fff'
941
+					}
942
+				}
943
+			}
944
+		}]
945
+	});
946
+	
947
+	function partcomplain(start, end,areaOneVal) {
948
+		//		var index = layer.load(1, {
949
+		//			shade: [0.5, '#030303'] //0.1透明度的白色背景
950
+		//		});
951
+		$.ajax({
952
+			type: "get",
953
+			url: huayi.config.callcenter_url + "info/GetTypeCountByDate",
954
+			async: true,
955
+			dataType: 'json',
956
+			data: {
957
+				start: start,
958
+				end: end,
959
+				branchcode:areaOneVal
960
+			},
961
+			success: function(data) {
962
+				if(data.state.toLowerCase() == 'success') {
963
+					//						layer.close(index);
964
+					$('.complaint_type').html('');
965
+					var con = data.data;
966
+					var part_1_legend = [];
967
+					var part_1_ser = [];
968
+					$(con).each(function(i, n) {
969
+						part_1_legend.push(n.TypeName)
970
+						var part_1_obj = {};
971
+						part_1_obj.value = n.Count;
972
+						part_1_obj.name = n.TypeName;
973
+						part_1_ser.push(part_1_obj)
974
+						$('<li>' +
975
+							'<span class="type_name">' + n.TypeName + '</span>   <span class="type_count">' + n.Count + '</span>' +
976
+							'</li>').appendTo('.complaint_type')
977
+					})
978
+					partcom.setOption({
979
+						//							legend: {
980
+						//								data: part_1_legend
981
+						//							},
982
+						series: [{
983
+							data: part_1_ser
984
+						}]
985
+					})
986
+	
987
+				}
988
+			}
989
+		});
990
+	}
991
+	

+ 53 - 4
WebChart/js/sourceChannel.js

@@ -107,6 +107,21 @@ part_1.setOption({
107 107
 			}
108 108
 		}
109 109
 	},
110
+	 toolbox: {
111
+		    x:100,
112
+		    y:20,
113
+	        show : true,
114
+	        feature : {
115
+			   
116
+	            mark : {show: true},
117
+	            magicType : {show: true, type: ['line', 'bar']},
118
+	        },
119
+			  iconStyle:{
120
+			                    normal:{
121
+			                      color:'#ffaa00',//设置颜色
122
+			                    }
123
+			                } 
124
+	    },
110 125
 	grid: {
111 126
 		left: '2%',
112 127
 		right: '5%',
@@ -119,7 +134,19 @@ part_1.setOption({
119 134
 		data: [],
120 135
 		textStyle: {
121 136
 			color: '#00e9ff'
122
-		}
137
+		},
138
+						 selected: {
139
+							'市区': true,
140
+							'文峰区': false,
141
+							'北关区': false,
142
+							'殷都区': false,
143
+							'龙安区': false,
144
+							'安阳县': false,
145
+							'汤阴县': false,
146
+							'内黄县': false,
147
+							'滑县': false,
148
+							'林州市': false
149
+						}
123 150
 	},
124 151
 	xAxis: {
125 152
 		name: '时',
@@ -159,7 +186,28 @@ part_1.setOption({
159 186
 	},
160 187
 	series: []
161 188
 });
162
-
189
+    part_1.on('legendselectchanged', function(params) {
190
+		console.log(params.selected)
191
+        var option = this.getOption();
192
+        var select_key = Object.keys(params.selected);
193
+        var select_value = Object.values(params.selected);
194
+		console.log(select_value,select_key)
195
+        var n = 0;
196
+        // select_value.map(res => {
197
+        //    if(!res){
198
+        //        n++;
199
+        //     }
200
+        // });
201
+        // console.log('n',n)
202
+        //    if (n == select_value.length ) {
203
+        //                        option.legend[0].selected[params.name] = true;
204
+        //              }
205
+		$sel.map(res => {
206
+		   console.log(res)
207
+		});
208
+        this.setOption(option)
209
+     
210
+    });
163 211
 function partOne(dates,areaOneVal) {
164 212
 	$.ajax({
165 213
 		type: "get",
@@ -172,20 +220,21 @@ function partOne(dates,areaOneVal) {
172 220
 		},
173 221
 		success: function(data) {
174 222
 			if(data.state.toLowerCase() == "success") {
175
-				//							layer.close(index);
176 223
 				var con = data.data;
224
+				console.log(con)
177 225
 				var part1Axis = con.hours;
178 226
 				var sers = []
179 227
 				$(con.cols).each(function(i, n) {
180 228
 					var obj = {};
181 229
 					obj.name = n;
182
-					obj.type = "line";
230
+					obj.type = "bar";
183 231
 					obj.smooth = true;
184 232
 					obj.showAllSymbol = true;
185 233
 					obj.symbol = "emptyCircle";
186 234
 					obj.symbolSize = 10;
187 235
 					obj.data = con.counts[i];
188 236
 					sers.push(obj);
237
+					console.log(sers)
189 238
 				})
190 239
 				part_1.setOption({
191 240
 					xAxis: {

+ 4 - 4
WebChart/second.html

@@ -611,21 +611,21 @@
611 611
 
612 612
 					<!--第四屏  话务量统计-->
613 613
 						<div class="slideCon_bg trafficVolume clearfix" >
614
-							<p class="slide_title slide_title5"></p>
614
+							<p class="top_title" style="margin-left: 205px;padding-top: 6px; margin-left: 601px; position: absolute;font-size: 27px;letter-spacing: 8px;top: 80px;color: #fff;text-shadow: 1px 1px #34c0d9;">诉求关键字</p>
615 615
 							<div class="fivePos" style="width: 100% !important;">
616 616
 								<div class="time_box pull-right form-inline" style="margin-right:122px;margin-top:-5px">
617 617
 									<!--地区选择:
618 618
 									<select class="areaFive selects" style="height: 30px; margin-right: 20px;"></select>-->
619 619
 									部门
620
-									<select class="depart selects" style="height: 28px;"> </select>
620
+									<select class="depart selects" style="height: 28px;width: 308px;"> </select>
621 621
 									日期
622 622
 									<input type="text" id="test6" class="times lasttime" style="margin-right: 0px;" /> 
623 623
 								</div>
624 624
 							</div>
625 625
 							<div class="orderCon_left slide_left sl">
626
-								<div class="keyW_t">
626
+						<!-- 		<div class="keyW_t">
627 627
 									投诉关键字
628
-								</div>
628
+								</div> -->
629 629
 								<div class="tagBox">
630 630
 									<div class="tagcloud">
631 631
 									</div>

+ 1 - 1
WebChart/sourceChannel.html

@@ -204,7 +204,7 @@
204 204
 		<!--导航栏结束-->
205 205
 		<!--导航栏结束-->
206 206
 		<div  class="boxwrap">
207
-			<p class="bt">接单部门</p>
207
+			<p class="bt">来源统计</p>
208 208
 			<div class="phone_top">
209 209
 				<div class="legend_bar clearfix">
210 210
 					<div class="title_word pull-left">

+ 4 - 4
WebChart/third.html

@@ -611,21 +611,21 @@
611 611
 
612 612
 					<!--第四屏  话务量统计-->
613 613
 						<div class="slideCon_bg trafficVolume clearfix" >
614
-							<p class="slide_title slide_title5"></p>
614
+							<p class="top_title" style="margin-left: 205px;padding-top: 6px; margin-left: 601px; position: absolute;font-size: 27px;letter-spacing: 8px;top: 80px;color: #fff;text-shadow: 1px 1px #34c0d9;">诉求关键字</p>
615 615
 							<div class="fivePos" style="width: 100% !important;">
616 616
 								<div class="time_box pull-right form-inline" style="margin-right:122px;margin-top:-5px">
617 617
 									<!--地区选择:
618 618
 									<select class="areaFive selects" style="height: 30px; margin-right: 20px;"></select>-->
619 619
 									部门
620
-									<select class="depart selects" style="height: 28px;"> </select>
620
+									<select class="depart selects" style="height: 28px;width: 308px;"> </select>
621 621
 									日期
622 622
 									<input type="text" id="test6" class="times lasttime" style="margin-right: 0px;" /> 
623 623
 								</div>
624 624
 							</div>
625 625
 							<div class="orderCon_left slide_left sl">
626
-								<div class="keyW_t">
626
+								<!-- <div class="keyW_t">
627 627
 									投诉关键字
628
-								</div>
628
+								</div> -->
629 629
 								<div class="tagBox">
630 630
 									<div class="tagcloud">
631 631
 									</div>