zhaomin преди 4 години
родител
ревизия
d0a9d4f713

+ 19 - 3
WebChartNewest/css/index.css

451
 /* 当日热线受理情况 */
451
 /* 当日热线受理情况 */
452
 .hotlineAccept{
452
 .hotlineAccept{
453
 	padding-top: 15px;
453
 	padding-top: 15px;
454
+	cursor: pointer;
454
 }
455
 }
455
 .midWrap h3{
456
 .midWrap h3{
456
 	background: url(../image/hotline_title.png);
457
 	background: url(../image/hotline_title.png);
495
 	margin-right: 5px;
496
 	margin-right: 5px;
496
 }
497
 }
497
 /* 二级大屏 */
498
 /* 二级大屏 */
499
+.workDetails tr td{
500
+	font-size: 17px  !important;
501
+}
502
+.traffic li{
503
+	float: left;
504
+}
505
+.traffic .rexian{
506
+	width: 70%;
507
+}
508
+.traffic .heji{
509
+	width: 30%;
510
+}
498
 .bulletFrame,.bulletFrameT{
511
 .bulletFrame,.bulletFrameT{
499
 	display: none;
512
 	display: none;
500
 	position: absolute;
513
 	position: absolute;
522
 	font-size: 24px;
535
 	font-size: 24px;
523
 	font-weight: 700;
536
 	font-weight: 700;
524
 }
537
 }
525
-.close_icon,.close_iconT,.close_iconS,.close_zxicon,.close_work,.back_icon,.backKey_icon,.closeMap_icon,.closeKey_icon{
538
+.close_icon,.close_iconT,.close_iconS,.close_zxicon,.close_work,.back_icon,.backKey_icon,.closeMap_icon,.closeKey_icon,.backProcedure{
526
 	position: absolute;
539
 	position: absolute;
527
 	top: 25px;
540
 	top: 25px;
528
 	right:25px;
541
 	right:25px;
529
 	cursor: pointer;
542
 	cursor: pointer;
530
 	z-index: 1236;
543
 	z-index: 1236;
531
 }
544
 }
532
-.back_icon,.backKey_icon{
545
+.backKey_icon{
546
+	display: none;
547
+}
548
+.back_icon,.backKey_icon,.backProcedure{
533
 	right:100px;
549
 	right:100px;
534
 }
550
 }
535
 /* 二级地图 */
551
 /* 二级地图 */
648
 #keywordPie{
664
 #keywordPie{
649
 	position: absolute;
665
 	position: absolute;
650
 	top: -20px;
666
 	top: -20px;
651
-	left: -25px;
667
+	left: 10px;
652
 }
668
 }
653
 .regionMap .head_name{
669
 .regionMap .head_name{
654
 	height: 54px;
670
 	height: 54px;

+ 15 - 9
WebChartNewest/index.html

26
 			<div class="count-resource">
26
 			<div class="count-resource">
27
 				<div class="call_situation">
27
 				<div class="call_situation">
28
 					<div class="title_img">
28
 					<div class="title_img">
29
-						<h2>当日坐席数据</h2>
29
+						<h2>话务数据统计</h2>
30
 					</div>
30
 					</div>
31
 					<div class="dataT act">
31
 					<div class="dataT act">
32
 
32
 
87
 									id="wxq_num">0</span><span class="num_roll" id="wxb_num">0</span><span
87
 									id="wxq_num">0</span><span class="num_roll" id="wxb_num">0</span><span
88
 									class="num_roll" id="wxs_num">0</span><span class="num_roll" id="wxg_num">0</span>
88
 									class="num_roll" id="wxs_num">0</span><span class="num_roll" id="wxg_num">0</span>
89
 							</li>
89
 							</li>
90
-							<li><label>人民网:</label><span class="num_roll" id="zww_num">0</span><span class="num_roll"
90
+							<li><label>&nbsp;&nbsp;&nbsp;人民网:</label><span class="num_roll" id="zww_num">0</span><span class="num_roll"
91
 									id="zwq_num">0</span><span class="num_roll" id="zwb_num">0</span><span
91
 									id="zwq_num">0</span><span class="num_roll" id="zwb_num">0</span><span
92
 									class="num_roll" id="zws_num">0</span><span class="num_roll" id="zwg_num">0</span>
92
 									class="num_roll" id="zws_num">0</span><span class="num_roll" id="zwg_num">0</span>
93
 							</li>
93
 							</li>
133
 						<h2>工单类型</h2>
133
 						<h2>工单类型</h2>
134
 					</div>
134
 					</div>
135
 					<div class="dataT">
135
 					<div class="dataT">
136
-						当数据
136
+						当数据
137
 					</div>
137
 					</div>
138
 					<div id="workOrder" style="width: 800px;height:250px;"></div>
138
 					<div id="workOrder" style="width: 800px;height:250px;"></div>
139
 				</div>
139
 				</div>
218
 			<!-- 关键词 -->
218
 			<!-- 关键词 -->
219
 			<ul class="secondLevel_keyWord">
219
 			<ul class="secondLevel_keyWord">
220
 				<!-- 关闭按钮 -->
220
 				<!-- 关闭按钮 -->
221
-				<!-- <img src="./image/second/back.png" alt="" class="backKey_icon"> -->
221
+				<img src="./image/second/back.png" alt="" class="backKey_icon" style="display: none;">
222
 				<img src="./image/second/X.png" alt="" class="closeKey_icon">
222
 				<img src="./image/second/X.png" alt="" class="closeKey_icon">
223
 				<!-- 标题 -->
223
 				<!-- 标题 -->
224
 				<div class="head_name">
224
 				<div class="head_name">
279
 						&nbsp;&nbsp;&nbsp;平均办理时长
279
 						&nbsp;&nbsp;&nbsp;平均办理时长
280
 						<lable style='color: #ffe000;'>5</lable>个工作日
280
 						<lable style='color: #ffe000;'>5</lable>个工作日
281
 					</li>
281
 					</li>
282
-					<li></li>
282
+					<li class="dataTT"></li>
283
 				</ul>
283
 				</ul>
284
 				<div style="width: 100%;padding: 10px;height: 750px;">
284
 				<div style="width: 100%;padding: 10px;height: 750px;">
285
 					<table id="timeSecList" data-row-style="rowStyle" data-query-params="queryParams"
285
 					<table id="timeSecList" data-row-style="rowStyle" data-query-params="queryParams"
316
 				<img src="./image/second/X.png" alt="" class="close_icon">
316
 				<img src="./image/second/X.png" alt="" class="close_icon">
317
 				<div class="head_name">
317
 				<div class="head_name">
318
 					<img src="./image/second/title_right.png" class="title_left">
318
 					<img src="./image/second/title_right.png" class="title_left">
319
-					<h3>重大事预警</h3>
319
+					<h3>重大事预警</h3>
320
 					<img src="./image/second/title_left.png" class="title_right">
320
 					<img src="./image/second/title_left.png" class="title_right">
321
 				</div>
321
 				</div>
322
 				<div style="position: relative;">
322
 				<div style="position: relative;">
385
 					<h3>当日话务量数据</h3>
385
 					<h3>当日话务量数据</h3>
386
 					<img src="./image/second/title_left.png" class="title_right">
386
 					<img src="./image/second/title_left.png" class="title_right">
387
 				</div>
387
 				</div>
388
-				<div id="traffic3" style="height:750px;width: 1570px;"></div>
388
+				<ul class="traffic">
389
+					<li class="rexian" id='rexian' style="height:700px;width: 1100px;">1</li>
390
+					<li class="heji" id="heji"  style="height:700px;width: 400px;">2</li>
391
+				</ul>
392
+				<!-- <div id="traffic3" style="height:750px;width: 1570px;"></div> -->
389
 			</div>
393
 			</div>
390
 			<!-- 受理渠道 -->
394
 			<!-- 受理渠道 -->
391
 			<div class="channel_wrap">
395
 			<div class="channel_wrap">
551
 							<tr>
555
 							<tr>
552
 								<th data-field="F_WorkOrderId" data-align="center" data-formatter="getformatter">工单编号
556
 								<th data-field="F_WorkOrderId" data-align="center" data-formatter="getformatter">工单编号
553
 								</th>
557
 								</th>
554
-								<th data-field="F_ComTitle" data-align="center">工单标题</th>
558
+								<th data-field="F_ComTitle" data-align="center"  data-formatter="getformatterTitle">工单标题</th>
555
 								<th data-field="DeptName" data-align="center">承办单位</th>
559
 								<th data-field="DeptName" data-align="center">承办单位</th>
556
 								<th data-field="F_ComContent" data-align="center" data-width="150"
560
 								<th data-field="F_ComContent" data-align="center" data-width="150"
557
 									data-formatter="getDeptnameC">工单内容</th>
561
 									data-formatter="getDeptnameC">工单内容</th>
567
 				</div>
571
 				</div>
568
 			</div>
572
 			</div>
569
 			<div class="workDetails">
573
 			<div class="workDetails">
574
+				<img src="./image/second/X.png" alt="" class="close_icon">
570
 				<div class="head_name">
575
 				<div class="head_name">
571
 					<img src="./image/second/title_right.png" class="title_left">
576
 					<img src="./image/second/title_right.png" class="title_left">
572
 					<h3>安阳12345热线工单详情展示</h3>
577
 					<h3>安阳12345热线工单详情展示</h3>
627
 				</div>
632
 				</div>
628
 			</div>
633
 			</div>
629
 			<div class="workProcedure">
634
 			<div class="workProcedure">
630
-				<img src="./image/second/X.png" alt="" class="close_iconT">
635
+				<img src="./image/second/back.png" alt="" class="backProcedure">
636
+				<img src="./image/second/X.png" alt="" class="close_icon">
631
 				<div class="head_name">
637
 				<div class="head_name">
632
 					<img src="./image/second/title_right.png" class="title_left">
638
 					<img src="./image/second/title_right.png" class="title_left">
633
 					<h3>安阳市12345热线工单轨迹流程</h3>
639
 					<h3>安阳市12345热线工单轨迹流程</h3>

+ 15 - 8
WebChartNewest/js/main.js

204
 		heartCheck.reset().start();
204
 		heartCheck.reset().start();
205
 		var myDate = new Date();
205
 		var myDate = new Date();
206
 		data = JSON.parse(evt.data)[0];
206
 		data = JSON.parse(evt.data)[0];
207
-		// console.log(data)
208
 		if (data.Type == "GetAgentDetail") {
207
 		if (data.Type == "GetAgentDetail") {
209
-			console.log(data)
208
+			// console.log(data.WaiteCallCount)
209
+			// console.log(data.AgentOnlineCount)
210
+			distributionData[0].value=data.WaiteCallCount;
211
+			distributionData[1].value=data.AgentOnlineCount
212
+			let disStr = ''
213
+			distributionData.forEach(function (v, n) {
214
+				disStr += '<li><label>' + v.name + '</label><span class="num_roll" id="">' + parseInt(v.value % 100000 / 10000) +
215
+				'</span><span class="num_roll" id="">' + parseInt(v.value % 10000 / 1000) +
216
+				'</span><span class="num_roll" id="">' + parseInt(v.value % 1000 / 100) +
217
+				'</span><span class="num_roll"id="">' + parseInt((v.value % 100) / 10) +
218
+				'</span><span class="num_roll" id="">' + parseInt(v.value % 10) + '</span></li>'
219
+			})
220
+			$('.callTraffic .data_info').html(disStr)
210
 			callDate = [Number(data.AgentOnlineCount), Number(data.WaiteCallCount), Number(hwcount), Number(jtcount)]
221
 			callDate = [Number(data.AgentOnlineCount), Number(data.WaiteCallCount), Number(hwcount), Number(jtcount)]
211
 			const outLine = dataLength - data.AgentOnlineCount;
222
 			const outLine = dataLength - data.AgentOnlineCount;
212
 			callSeatStateData = [data.WaiteCallCount, data.AgentRingCount, data.TrunkCallInCount, data.AgentCallOutCount, data.AgentFreeCount, outLine]
223
 			callSeatStateData = [data.WaiteCallCount, data.AgentRingCount, data.TrunkCallInCount, data.AgentCallOutCount, data.AgentFreeCount, outLine]
213
-			// console.log('坐席', data)
214
-			// console.log('二级', callSeatStateData)
215
-			// console.log('首页', callDate)
216
 			hotThingsChart('timeTraffic', daySeatName, callDate, callDate[0])
224
 			hotThingsChart('timeTraffic', daySeatName, callDate, callDate[0])
217
 			hotThingsChart('callSeatState', callSeatStateName, callSeatStateData, 500)
225
 			hotThingsChart('callSeatState', callSeatStateName, callSeatStateData, 500)
218
 			$('.btn_time').click(function (e) {
226
 			$('.btn_time').click(function (e) {
223
 						$('#traffic').css('display', 'none')
231
 						$('#traffic').css('display', 'none')
224
 						$('#timeTraffic').css('display', 'block')
232
 						$('#timeTraffic').css('display', 'block')
225
 						$('.act').html('当日数据')
233
 						$('.act').html('当日数据')
226
-						$('.call_situation h2').text('当日坐席数据')
234
+						$('.call_situation h2').text('话务数据统计')
227
 						trafficState = 2
235
 						trafficState = 2
228
 						hotThingsChart('timeTraffic', nameD, callDate, callDate[0])
236
 						hotThingsChart('timeTraffic', nameD, callDate, callDate[0])
229
 					}
237
 					}
230
 				}
238
 				}
231
 				e.stopPropagation();
239
 				e.stopPropagation();
232
 			})
240
 			})
233
-			distributionData[0].value=data.WaiteCallCount;
234
-			distributionData[1].value=data.AgentOnlineCount
241
+			
235
 		}
242
 		}
236
 
243
 
237
 		if (data) {
244
 		if (data) {

+ 7 - 4
WebChartNewest/js/map/anyangMap.js

1135
 				value: [114.765123,35.425571]
1135
 				value: [114.765123,35.425571]
1136
 			},
1136
 			},
1137
 			{
1137
 			{
1138
-				name: '平镇',
1138
+				name: '平镇',
1139
 				value: [114.762324,35.362734]
1139
 				value: [114.762324,35.362734]
1140
 			},
1140
 			},
1141
 			{
1141
 			{
1160
 				name: '赵营乡',
1160
 				name: '赵营乡',
1161
 				value: [114.918496,35.558846]
1161
 				value: [114.918496,35.558846]
1162
 			},{
1162
 			},{
1163
-				name: '太康',
1163
+				name: '大寨乡',
1164
 				value: [114.922687,35.510747]
1164
 				value: [114.922687,35.510747]
1165
 			},{
1165
 			},{
1166
 				name: '桑村乡',
1166
 				name: '桑村乡',
1184
 			},{
1184
 			},{
1185
 				name:'小铺乡',
1185
 				name:'小铺乡',
1186
 				value: [114.462266,35.524934]
1186
 				value: [114.462266,35.524934]
1187
+			},{
1188
+				name:'锦和街道',
1189
+				value:[114.534026,35.55689]
1187
 			}
1190
 			}
1188
 		];
1191
 		];
1189
-		initSecondMap("./json/second_mapjson/hx.js",mapWorkOrder,points,1.5,1)
1190
-		// getAreaChildrenDate("./json/second_mapjson/hx.js",areaid,params.name,1.5)
1192
+		// initSecondMap("./json/second_mapjson/hx.js",mapWorkOrder,points,1.5,1)
1193
+		getAreaChildrenDate("./json/second_mapjson/hx.js",areaid,params.name,1.5)
1191
 	}
1194
 	}
1192
 	if(params.name=='文峰区'){
1195
 	if(params.name=='文峰区'){
1193
 		areaid=4965
1196
 		areaid=4965

+ 76 - 86
WebChartNewest/js/newIndex.js

38
 	}
38
 	}
39
 })
39
 })
40
 //关闭按钮退回工单列表
40
 //关闭按钮退回工单列表
41
-$('.close_iconT').click(function () {
41
+$('.backProcedure').click(function () {
42
 	$('.workDetails').show();
42
 	$('.workDetails').show();
43
 	$('.workDetails').siblings().hide()
43
 	$('.workDetails').siblings().hide()
44
 })
44
 })
47
 	if ($('.bulletFrameT').css('display') == 'none') {
47
 	if ($('.bulletFrameT').css('display') == 'none') {
48
 		$('.body').css('opacity', '1')
48
 		$('.body').css('opacity', '1')
49
 	}
49
 	}
50
-	if(keyidArr.length!=0){
51
-		console.log('关键字')
52
-		keyWordTable(keyidArr[0])
53
-		$('.head_title').text('关键字数据分析')
54
-	}
55
 })
50
 })
56
 $('.closeMap_icon').click(function(){
51
 $('.closeMap_icon').click(function(){
57
 	$('.bulletFrame').hide();
52
 	$('.bulletFrame').hide();
492
 					$('.daySeat').css('display', 'inline-block')
487
 					$('.daySeat').css('display', 'inline-block')
493
 					$('#traffic').css('display', 'block')
488
 					$('#traffic').css('display', 'block')
494
 					$('#timeTraffic').css('display', 'none')
489
 					$('#timeTraffic').css('display', 'none')
495
-					$('.call_situation h2').text('分时段话务量')
490
+					$('.call_situation h2').text('话务数据统计')
496
 					$('.act').html(`<label data-pos="1">
491
 					$('.act').html(`<label data-pos="1">
497
 							今日<span class="month active"></span>
492
 							今日<span class="month active"></span>
498
 						</label><br>
493
 						</label><br>
990
 						str = 96119;
985
 						str = 96119;
991
 						return str + ':' + params.value
986
 						return str + ':' + params.value
992
 					} else if (params.name == ' 人口和计生咨询举报电话') {
987
 					} else if (params.name == ' 人口和计生咨询举报电话') {
993
-						str = 12349;
988
+						str = 12356;
994
 						return str + ':' + params.value
989
 						return str + ':' + params.value
995
 					} else if (params.name == ' 全国统一自然资源违法举报电话') {
990
 					} else if (params.name == ' 全国统一自然资源违法举报电话') {
996
 						str = 12336;
991
 						str = 12336;
1395
 							for (var i = 0; i < workOrderData.length; i++) {
1390
 							for (var i = 0; i < workOrderData.length; i++) {
1396
 								total += workOrderData[i].value;
1391
 								total += workOrderData[i].value;
1397
 							}
1392
 							}
1398
-							percent = ((params.value / total) * 100).toFixed(0);
1393
+							percent = ((params.value / total) * 100).toFixed(2);
1399
 							if (params.name !== '') {
1394
 							if (params.name !== '') {
1400
 								return params.name + ':' + percent + '%';
1395
 								return params.name + ':' + percent + '%';
1401
 							} else {
1396
 							} else {
1483
 	var HMS = Hour + ':' + Minute + ':' + Second;
1478
 	var HMS = Hour + ':' + Minute + ':' + Second;
1484
 	var temp_time = year + '-' + month + '-' + strDate + ' ' + HMS;
1479
 	var temp_time = year + '-' + month + '-' + strDate + ' ' + HMS;
1485
 	$('.dataTime').text(temp_time);
1480
 	$('.dataTime').text(temp_time);
1486
-	$('.statisticsTime').text(temp_time);
1487
-	$('.nowTime li:nth-child(2)').text(temp_time);
1481
+	// $('.statisticsTime').text(temp_time);
1482
+	// $('.nowTime li:nth-child(2)').text(temp_time);
1488
 	$('.secondLevel_map .time').text(year + '-' + month + '-' + strDate)
1483
 	$('.secondLevel_map .time').text(year + '-' + month + '-' + strDate)
1489
 	setInterval(getNowFormatDate, 1000);
1484
 	setInterval(getNowFormatDate, 1000);
1490
 }
1485
 }
1486
+function getTimes(dom){
1487
+	function p(s) {
1488
+		return s < 10 ? '0' + s : s;
1489
+	}
1490
+	var currentYear = new Date().getFullYear();
1491
+	var currentMonth = new Date().getMonth() + 1;
1492
+	var currentDate = new Date().getDate();
1493
+	var prevCurrentYear = 0;
1494
+	var prevCurrentMonth = 0;
1495
+	if(currentMonth == 1) {
1496
+		prevCurrentYear = currentYear - 1;
1497
+		prevCurrentMonth = 12;
1498
+	} else {
1499
+		prevCurrentYear = currentYear;
1500
+		prevCurrentMonth = currentMonth - 1;
1501
+	}
1502
+	let hh = new Date().getHours()
1503
+	let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes():new Date().getMinutes()
1504
+	let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds():new Date().getSeconds()
1505
+	var data=currentYear + "-" + p(currentMonth) + "-" + 01;
1506
+	var current = currentYear + "-" + p(currentMonth) + "-" + p(currentDate);
1507
+	// var a = getPreDatetime(3600 * 1000 * 24 * 30);
1508
+	$(dom).text(data + " ~ " + current)
1509
+}
1491
 function getNowTime(dom){
1510
 function getNowTime(dom){
1492
 	function p(s) {
1511
 	function p(s) {
1493
 		return s < 10 ? '0' + s : s;
1512
 		return s < 10 ? '0' + s : s;
1507
 	let hh = new Date().getHours()
1526
 	let hh = new Date().getHours()
1508
 	let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes():new Date().getMinutes()
1527
 	let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes():new Date().getMinutes()
1509
 	let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds():new Date().getSeconds()
1528
 	let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds():new Date().getSeconds()
1529
+	var data=currentYear + "-" + p(currentMonth) + "-" + 01+' ' + 00 + ':' + 00 + ':' + 00;
1510
 	var current = currentYear + "-" + p(currentMonth) + "-" + p(currentDate)+' ' + hh + ':' + mf + ':' + ss;
1530
 	var current = currentYear + "-" + p(currentMonth) + "-" + p(currentDate)+' ' + hh + ':' + mf + ':' + ss;
1511
-	var a = getPreDatetime(3600 * 1000 * 24 * 30);
1512
-	$(dom).val(getPreDatetime(3600 * 1000 * 24 * 30) + " ~ " + current)
1531
+	// var a = getPreDatetime(3600 * 1000 * 24 * 30);
1532
+	$(dom).val(data + " ~ " + current)
1513
 	// //昨天的时间
1533
 	// //昨天的时间
1514
 	// var date1 = new Date(new Date(new Date().toLocaleDateString()).getTime());
1534
 	// var date1 = new Date(new Date(new Date().toLocaleDateString()).getTime());
1515
 	// var startTime = date1.getFullYear() +
1535
 	// var startTime = date1.getFullYear() +
1527
 	// var s2 = day2.getFullYear() + "-" + (day2.getMonth() + 1) + "-" + day2.getDate()+' ' + hh + ':' + mf + ':' + ss;
1547
 	// var s2 = day2.getFullYear() + "-" + (day2.getMonth() + 1) + "-" + day2.getDate()+' ' + hh + ':' + mf + ':' + ss;
1528
 	// $(dom).val(startTime + " ~ " + s2);
1548
 	// $(dom).val(startTime + " ~ " + s2);
1529
 }
1549
 }
1530
-function getPreDatetime(pdate) {
1531
-	var start = new Date()
1532
-	start.setTime(start.getTime() - pdate)
1533
-	start.getYear(); // 获取当前年份(2位)
1534
-	var YY = start.getFullYear() // 获取完整的年份(4位,1970-????)
1535
-	var MM = start.getMonth() + 1 // 获取当前月份(0-11,0代表1月)
1536
-	MM = MM > 9 ? MM : ('0' + MM);
1537
-	var DD = start.getDate() // 获取当前日(1-31)
1538
-	DD = DD > 9 ? DD : ('0' + DD)
1539
-	var lastmonth = YY + '-' + MM + '-' + DD+' ' + 00 + ':' + 00 + ':' + 00;
1540
-	return lastmonth;
1541
-}
1550
+// function getPreDatetime(pdate) {
1551
+// 	var start = new Date()
1552
+// 	start.setTime(start.getTime() - pdate)
1553
+// 	start.getYear(); // 获取当前年份(2位)
1554
+// 	var YY = start.getFullYear() // 获取完整的年份(4位,1970-????)
1555
+// 	var MM = start.getMonth() + 1 // 获取当前月份(0-11,0代表1月)
1556
+// 	MM = MM > 9 ? MM : ('0' + MM);
1557
+// 	var DD = start.getDate() // 获取当前日(1-31)
1558
+// 	DD = DD > 9 ? DD : ('0' + DD)
1559
+// 	var lastmonth = YY + '-' + MM + '-' + DD+' ' + 00 + ':' + 00 + ':' + 00;
1560
+// 	return lastmonth;
1561
+// }
1542
 //二级页面点击
1562
 //二级页面点击
1543
 //二级办理时长统计
1563
 //二级办理时长统计
1544
 $('.test_rank').click(function () {
1564
 $('.test_rank').click(function () {
1580
 			},
1600
 			},
1581
 			callBack: function (res) {
1601
 			callBack: function (res) {
1582
 				res.data.forEach(function (v, n) {
1602
 				res.data.forEach(function (v, n) {
1583
-					if (v.name == ' 国家移民管理局咨询服务热线') {
1584
-						secData.push({
1585
-							level: 12367,
1586
-							landArea: v.count
1587
-						})
1588
-					} else if (v.name == ' 为老服务热线') {
1589
-						secData.push({
1590
-							level: 12349,
1591
-							landArea: v.count
1592
-						})
1593
-					} else if (v.name == ' 残疾人维权服务电话') {
1594
-						secData.push({
1595
-							level: 12385,
1596
-							landArea: v.count
1597
-						})
1598
-					} else if (v.name == ' 火灾隐患举报投诉电话') {
1599
-						secData.push({
1600
-							level: 96119,
1601
-							landArea: v.count
1602
-						})
1603
-					} else if (v.name == ' 人口和计生咨询举报电话') {
1604
-						secData.push({
1605
-							level: 12349,
1606
-							landArea: v.count
1607
-						})
1608
-					} else if (v.name == ' 全国统一自然资源违法举报电话') {
1609
-						secData.push({
1610
-							level: 12336,
1611
-							landArea: v.count
1612
-						})
1613
-					} else if (v.name == ' 商务领域咨询举报电话') {
1614
-						secData.push({
1615
-							level: 12312,
1616
-							landArea: v.count
1617
-						})
1618
-					} else if (v.name == ' 文化市场举报电话') {
1619
-						secData.push({
1620
-							level: 12318,
1621
-							landArea: v.count
1622
-						})
1623
-					}
1603
+					secData.push({
1604
+						level: v.value,
1605
+						landArea: v.count
1606
+					})
1624
 				})
1607
 				})
1625
 				getHonelineChart2(secData, 'hotline2')
1608
 				getHonelineChart2(secData, 'hotline2')
1626
 			}
1609
 			}
1761
 		$('.body').css('opacity', '0.4')
1744
 		$('.body').css('opacity', '0.4')
1762
 	}
1745
 	}
1763
 	if (trafficState == 0) {
1746
 	if (trafficState == 0) {
1764
-		let phoneName = [];
1765
-		let ldcount = [];
1766
-		let jtcount = [];
1767
-		let wjcount = [];
1768
-		let fqcount = [];
1747
+		let qtphoneName = [];
1748
+		let qtldcount = [];
1749
+		let qtjtcount = [];
1750
+		let qtwjcount = [];
1751
+		let qtfqcount = [];
1752
+		let sphoneName = [];
1753
+		let sldcount = [];
1754
+		let sjtcount = [];
1755
+		let swjcount = [];
1756
+		let sfqcount = [];
1769
 		$('.traffic2_wrap').show();
1757
 		$('.traffic2_wrap').show();
1770
 		$('.traffic2_wrap').siblings().hide()
1758
 		$('.traffic2_wrap').siblings().hide()
1771
 		new doAjax({
1759
 		new doAjax({
1773
 			// url: "http://192.168.8.9:1042/InfoNew/GetDayparting",
1761
 			// url: "http://192.168.8.9:1042/InfoNew/GetDayparting",
1774
 			data: {},
1762
 			data: {},
1775
 			callBack: function (res) {
1763
 			callBack: function (res) {
1764
+				console.log(res)
1776
 				res.forEach(function (v, n) {
1765
 				res.forEach(function (v, n) {
1777
-					phoneName.push(v.name)
1778
-					ldcount.push(v.ldcount)
1779
-					jtcount.push(v.jtcount)
1780
-					wjcount.push(v.wjtcount)
1781
-					fqcount.push(v.zdfqcount);
1766
+					if(v.name!='12345'&&v.name!="归并热线小计"){
1767
+						qtphoneName.push(v.name)
1768
+						qtldcount.push(v.ldcount)
1769
+						qtjtcount.push(v.jtcount)
1770
+						qtwjcount.push(v.wjtcount)
1771
+						qtfqcount.push(v.zdfqcount);
1772
+					}else{
1773
+						sphoneName.push(v.name)
1774
+						sldcount.push(v.ldcount)
1775
+						sjtcount.push(v.jtcount)
1776
+						swjcount.push(v.wjtcount)
1777
+						sfqcount.push(v.zdfqcount);
1778
+					}
1779
+					
1782
 				})
1780
 				})
1783
-				trafficDayChart(phoneName, ldcount, jtcount, wjcount, fqcount);
1781
+				trafficDayChart(qtphoneName, qtldcount, qtjtcount, qtwjcount, qtfqcount);
1782
+				getS(sphoneName, sldcount,sjtcount, swjcount, sfqcount)
1784
 			}
1783
 			}
1785
 		});
1784
 		});
1786
 
1785
 
1825
 			getRealTimeTraffi(res.data.hours, res.data.hrcount[0], res.data.hccount[0])
1824
 			getRealTimeTraffi(res.data.hours, res.data.hrcount[0], res.data.hccount[0])
1826
 		}
1825
 		}
1827
 	});
1826
 	});
1828
-	let disStr = ''
1829
-	distributionData.forEach(function (v, n) {
1830
-		disStr += '<li><label>' + v.name + '</label><span class="num_roll" id="">' + parseInt(v.value % 100000 / 10000) +
1831
-			'</span><span class="num_roll" id="">' + parseInt(v.value % 10000 / 1000) +
1832
-			'</span><span class="num_roll" id="">' + parseInt(v.value % 1000 / 100) +
1833
-			'</span><span class="num_roll"id="">' + parseInt((v.value % 100) / 10) +
1834
-			'</span><span class="num_roll" id="">' + parseInt(v.value % 10) + '</span></li>'
1835
-	})
1836
-	$('.callTraffic .data_info').html(disStr)
1837
 	$('.star_btn').click(function (e) {
1827
 	$('.star_btn').click(function (e) {
1838
 		obj.AgentID = zxNum;
1828
 		obj.AgentID = zxNum;
1839
 		$(user).each(function (i, n) {
1829
 		$(user).each(function (i, n) {

Файловите разлики са ограничени, защото са твърде много
+ 649 - 175
WebChartNewest/js/second_index.js


+ 8 - 3
WebChartNewest/js/workOrder.js

1
 //工单列表
1
 //工单列表
2
-function workTable(KeyId,deptid,sourceId,honeType,keyword ,type,sourceArea,key,timetype) {
2
+function workTable(KeyId,deptid,sourceId,PhoneType,keyword ,type,sourceArea,key,timetype,handling) {
3
 	$('.bulletFrameT').show();
3
 	$('.bulletFrameT').show();
4
 	$('.workList').show();
4
 	$('.workList').show();
5
 	$('.workList').siblings().hide()
5
 	$('.workList').siblings().hide()
40
 				KeyId: KeyId,
40
 				KeyId: KeyId,
41
 				deptid:deptid,
41
 				deptid:deptid,
42
 				sourceId:sourceId,
42
 				sourceId:sourceId,
43
-				honeType :honeType ,
43
+				PhoneType :PhoneType ,
44
 				keyword:keyword,
44
 				keyword:keyword,
45
 				type:type,
45
 				type:type,
46
 				sourceArea:sourceArea,
46
 				sourceArea:sourceArea,
47
 				key:key,
47
 				key:key,
48
-				timetype:timetype
48
+				timetype:timetype,
49
+				handling:handling
49
 			};
50
 			};
50
 			return param;
51
 			return param;
51
 		},
52
 		},
105
 	return "<div style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:150px;margin:0 auto;'>" +
106
 	return "<div style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:150px;margin:0 auto;'>" +
106
 		v + "</div>"
107
 		v + "</div>"
107
 }
108
 }
109
+function getformatterTitle(val) { 
110
+	return "<div style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:150px;margin:0 auto;'>" +
111
+	val + "</div>"
112
+ }
108
 //工单详情
113
 //工单详情
109
 function btn_detail(id) {
114
 function btn_detail(id) {
110
 	detailId = id;
115
 	detailId = id;

Файловите разлики са ограничени, защото са твърде много
+ 8710 - 8721
WebChartNewest/json/second_mapjson/hx.js