miaofuhao 1 год назад
Родитель
Сommit
b30628d2c0

+ 3 - 3
WebChartNewest/Script/Common/huayi.config.js

3
     var huayi = {};
3
     var huayi = {};
4
 }
4
 }
5
 huayi.config = {
5
 huayi.config = {
6
-//	  callcenter_url: "http://192.168.8.9:1042/",//生产环境  
6
+	// callcenter_url: "http://192.168.8.9:1042/",//生产环境  
7
 	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/",
7
 	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/",
8
-    socket_ip: "61.54.2.122",//ip 61.54.2.122:8081
9
-    socket_port: "8081",//端口
8
+    socket_ip: "222.143.106.43",//ip 61.54.2.122:8081   ws://222.143.106.43:8081/
9
+    socket_port: "8081",// 端口
10
     indextime: 30000//报表刷新时间
10
     indextime: 30000//报表刷新时间
11
 
11
 
12
 };
12
 };

+ 13 - 3
WebChartNewest/index.html

90
 						<span class="responseLength" data-state='3'>切换</span>
90
 						<span class="responseLength" data-state='3'>切换</span>
91
 						<img src="./image/switch.png" alt="">-->
91
 						<img src="./image/switch.png" alt="">-->
92
 					</div>
92
 					</div>
93
-					<div class="dataT act">
94
-						<input hidden="hidden" id="themeClassType" value="0"/>
95
-						<label  class="dataAct" data-pos="1" indexTitle="专题-按分类">
93
+					<!--<div class="dataT act">
94
+						<input hidden="hidden" id="themeClassType" value="0"/>
95
+						<label  class="newdataAct" data-pos="1" indexTitle="专题-按分类">
96
 							分类<span class="day active"></span>
96
 							分类<span class="day active"></span>
97
 						</label><br>
97
 						</label><br>
98
 						<label  class="dataAct" data-pos="2" indexTitle="专题-按单位">
98
 						<label  class="dataAct" data-pos="2" indexTitle="专题-按单位">
99
 							单位<span class="month"></span>
99
 							单位<span class="month"></span>
100
+						</label>
101
+					</div>-->
102
+					<!--注释--专题,分类单位切换,增加日月专题切换-->
103
+					<div class="dataT act">
104
+						<input hidden="hidden" id="themeClassType" value="0"/>
105
+						<label  class="newDataAct" data-pos="1" indexTitle="日专题">
106
+							日调度<span class="day"></span>
107
+						</label><br>
108
+						<label  class="newDataAct" data-pos="2" indexTitle="月专题">
109
+							月调度<span class="month active"></span>
100
 						</label>
110
 						</label>
101
 					</div>
111
 					</div>
102
 					<div id="hotThings" style="width: 100%;height:250px;"></div>
112
 					<div id="hotThings" style="width: 100%;height:250px;"></div>

+ 104 - 11
WebChartNewest/js/dispatTopic/dispatTopic.js

1
 //热线整合受理情况&重大事件
1
 //热线整合受理情况&重大事件
2
-var dispatTopicType = 2		// 1 周 2月
3
-$('.cutDispatchHandle').click(function (e) {
4
-	
5
-	console.log($(this).text())
6
-	if ($(this).text() === '月调度专题') {
7
-		dispatTopicType = 1
8
-		$(this).text('周调度专题')
2
+var dispatTopicType = 2 // 1 周 2月
3
+var hotThings = echarts.init(document.getElementById("hotThings"));
4
+//$('.cutDispatchHandle').click(function(e) {
5
+//	if($(this).text() === '月调度专题') {
6
+//		dispatTopicType = 1
7
+//		$(this).text('周调度专题')
8
+//		getHotThings()
9
+//	} else if($(this).text() === '周调度专题') {
10
+//		dispatTopicType = 2
11
+//		$(this).text('月调度专题')
12
+//		getHotThings()
13
+//	}
14
+//})
15
+
16
+$('.newDataAct').click(function () {
17
+	console.log('dataAct')
18
+	var indexTitle = $(this).attr('indexTitle')
19
+	if($(this).attr('data-pos') == '1'){
9
 		
20
 		
10
-		getHotThings()
11
-	} else if($(this).text() === '周调度专题'){
21
+		$(this).children(".day").addClass('active');
22
+		$(this).siblings("label").children('.month').removeClass('active');
23
+//		$('#themeClassType').val('0');
24
+		dispatTopicType = 1
25
+		trafficState = 0;
26
+		cutHotThings();
27
+	} else if ($(this).attr('data-pos') == '2') {
28
+		$(this).children('.month').addClass('active')
29
+		$(this).siblings("label").children('.day').removeClass('active');
30
+//		$('#themeClassType').val('1');
12
 		dispatTopicType = 2
31
 		dispatTopicType = 2
13
-		$(this).text('月调度专题')
14
-		getHotThings()
32
+		cutHotThings();
33
+		trafficState = 1;
15
 	}
34
 	}
16
 })
35
 })
36
+hotThings.getZr().on('click', function (params) {
37
+	$(".themeBarTit").text($('.cutDispatchHandle').text())
38
+	$(".themeBar_wrap").show()
39
+	var pointInPixel = [params.offsetX, params.offsetY];
40
+	var pointInGrid = hotThings.convertFromPixel({
41
+        seriesIndex: 0
42
+    }, pointInPixel);
43
+    var xIndex = pointInGrid[0];  //索引
44
+    var handleIndex = Number(xIndex);
45
+    var seriesObj = hotThings.getOption(); //图表object对象
46
+	$('.themeBar_down').siblings().hide()
47
+	$('.themeBar_down').show();
48
+	themeDblId = seriesObj.series[1].data[handleIndex].themId
49
+	console.log(hotThings)
50
+	console.log(themeDblId)
51
+	getThemeStatics();
52
+//	getHotThings()
53
+})
54
+function cutHotThings() {
55
+	var nameData = [];
56
+	var conNum = [];
57
+	var conNumData = []
58
+	var maxNum = []
59
+	var secData = [];
60
+	var type = $('#themeClassType').val();
61
+	var url = '/InfoNew/GetThemeSpecial';
62
+//	if (type == '1') url = '/InfoNew/GetThemeDept1';
63
+	
64
+	new doAjax({
65
+		url: huayi.config.callcenter_url + url,
66
+		Type: 'get',
67
+		data: {
68
+			token: $.cookie("token"),
69
+			stime: '',
70
+			etime: '',
71
+			timetype: MajoreventsDataType,
72
+			id: themeDblId,
73
+			type: dispatTopicType
74
+		},
75
+		callBack: function(res) {
76
+			if(res.state === "notoken") {
77
+				window.location.href = "login.html";
78
+			}
79
+			res.data.forEach(function(v, n) {
80
+				var name = '';
81
+				if(type == '1') {
82
+					name = v.deptName ? v.deptName.replace(/[0-9]+/g, "") : '其他'
83
+				} else {
84
+					name = v.F_Name ? v.F_Name.replace(/[0-9]+/g, "") : '其他'
85
+				}
86
+
87
+				nameData.push(name)
88
+				var objCount = {}
89
+				objCount.count = v.count
90
+				objCount.themId = v.F_ID
91
+				conNumData.push(objCount)
92
+				conNum.push(v.count)
93
+				secData.push({
94
+					level: name,
95
+					landArea: v.count
96
+				})
97
+			})
98
+
99
+			if(res.data && res.data.length > 0) {
100
+				$('#themeRate').text(res.data[0].Proportion);
101
+			}
102
+			for(var i = 0; i < secData.length; i++) {
103
+				maxNum.push(Math.max.apply(null, conNum) + 200);
104
+			}
105
+			hotThingsChart('hotThings', nameData, conNum, maxNum, -30,conNumData)
106
+		}
107
+	});
108
+
109
+}

+ 13 - 12
WebChartNewest/js/dispatTopic/themeDoubleClick.js

1
 var themeDoubleFlag = false
1
 var themeDoubleFlag = false
2
 var timerTheme = null
2
 var timerTheme = null
3
+
3
 var  themeBarEcharts = echarts.init(document.getElementById('themeBarEle'));
4
 var  themeBarEcharts = echarts.init(document.getElementById('themeBarEle'));
4
 var themeBarDownEcharts = echarts.init(document.getElementById("themeBarDownEle"));
5
 var themeBarDownEcharts = echarts.init(document.getElementById("themeBarDownEle"));
5
 var themeDblId
6
 var themeDblId
6
 //调度专题
7
 //调度专题
7
-$('.accept_channel #hotThings').click(function(e) {
8
-	clearTimeout(themeDoubleFlag)
9
-	themeDoubleFlag = setTimeout(function(){
10
-		console.log("单击")
11
-		$(".themeBarTit").text($('.cutDispatchHandle').text())
12
-		$(".themeBar_wrap").show()
13
-		getThemeStatics();
14
-	},500)
15
-	
16
-})
8
+//$('.accept_channel #hotThings').click(function(e) {
9
+//	clearTimeout(themeDoubleFlag)
10
+//	themeDoubleFlag = setTimeout(function(){
11
+//		console.log("单击")
12
+//		$(".themeBarTit").text($('.cutDispatchHandle').text())
13
+//		$(".themeBar_wrap").show()
14
+//		getThemeStatics();
15
+//	},500)
16
+//	
17
+//})
17
 $(".accept_channel #hotThings").dblclick(function(){
18
 $(".accept_channel #hotThings").dblclick(function(){
18
 		$(".themeBarTit").text($('.cutDispatchHandle').text())
19
 		$(".themeBarTit").text($('.cutDispatchHandle').text())
19
 		clearTimeout(themeDoubleFlag)
20
 		clearTimeout(themeDoubleFlag)
40
 	console.log(params)
41
 	console.log(params)
41
 	console.log(params.value)
42
 	console.log(params.value)
42
 	var pointInPixel = [params.offsetX, params.offsetY];
43
 	var pointInPixel = [params.offsetX, params.offsetY];
43
-	
44
 	var pointInGrid = themeBarEcharts.convertFromPixel({
44
 	var pointInGrid = themeBarEcharts.convertFromPixel({
45
         seriesIndex: 0
45
         seriesIndex: 0
46
     }, pointInPixel);
46
     }, pointInPixel);
52
 	domM = 'themeBarDownEle'
52
 	domM = 'themeBarDownEle'
53
 	themeDblId = seriesObj.series[0].data[handleIndex].themId
53
 	themeDblId = seriesObj.series[0].data[handleIndex].themId
54
 	
54
 	
55
-	getHotThings()
55
+//	getHotThings()
56
+	cutHotThings()
56
 })
57
 })
57
 //themeDblId = null
58
 //themeDblId = null
58
 $("#themeBarDownEle").click(function () {
59
 $("#themeBarDownEle").click(function () {

+ 2 - 1
WebChartNewest/js/documentDready.js

24
 //		index.js
24
 //		index.js
25
 		gettraffic() //话务量
25
 		gettraffic() //话务量
26
 		getHotline() //热线
26
 		getHotline() //热线
27
-		getHotThings() //重大事件
27
+		// getHotThings() //重大事件
28
+		cutHotThings()
28
 		getKeyWord(); //热搜词
29
 		getKeyWord(); //热搜词
29
 		getworkOrderType() //工单类型
30
 		getworkOrderType() //工单类型
30
 		timeTable() //办理时限
31
 		timeTable() //办理时限

+ 20 - 6
WebChartNewest/js/index.js

513
 				
513
 				
514
 				
514
 				
515
 				
515
 				
516
-				conNum.push(v.count)
516
+				
517
+				var objCount = {}
518
+				objCount.count = v.count
519
+				objCount.id = v.F_ID
520
+				
521
+				conNum.push(objCount)
517
 				secData.push({
522
 				secData.push({
518
 					level: name,
523
 					level: name,
519
 					landArea: v.count
524
 					landArea: v.count
521
 				// }
526
 				// }
522
 				
527
 				
523
 			})
528
 			})
524
-			
529
+			console.log(conNum)
525
 			if (res.data &&res.data.length > 0) {
530
 			if (res.data &&res.data.length > 0) {
526
 				$('#themeRate').text(res.data[0].Proportion);
531
 				$('#themeRate').text(res.data[0].Proportion);
527
 			}
532
 			}
639
 
644
 
640
 function getHotLineInfo(strName, bili, n) {
645
 function getHotLineInfo(strName, bili, n) {
641
 	$('.lineB').text(strName + ':' + bili);
646
 	$('.lineB').text(strName + ':' + bili);
642
-	console.log(n)
643
 	switch (Number(n)){
647
 	switch (Number(n)){
644
 		case 0:
648
 		case 0:
645
 			getLineBcss('-24px','-20px')
649
 			getLineBcss('-24px','-20px')
747
 	});
751
 	});
748
 }
752
 }
749
 
753
 
750
-function hotThingsChart(dom, data, count, count1, rotate = 0) {
751
-	let hotThings = echarts.init(document.getElementById(dom));
754
+function hotThingsChart(dom, data, count, count1, rotate = 0,conNumData) {
752
 	window.onresize = function() {
755
 	window.onresize = function() {
753
 		hotThings.resize()
756
 		hotThings.resize()
754
 	}
757
 	}
878
 						)
881
 						)
879
 					}
882
 					}
880
 				},
883
 				},
881
-			}, {
884
+			},
885
+			{
886
+				data: conNumData,
887
+				type: "line",
888
+				symbolSize: 0, // symbol的大小设置为0
889
+			    showSymbol: false, // 不显示symbol
890
+			    lineStyle: {
891
+			        width: 0, // 线宽是0
892
+			        color: 'rgba(0, 0, 0, 0)' // 线的颜色是透明的
893
+			    }
894
+			},
895
+			{
882
 				data: [1, 1, 1, 1, 1, 1],
896
 				data: [1, 1, 1, 1, 1, 1],
883
 				type: "pictorialBar",
897
 				type: "pictorialBar",
884
 				barMaxWidth: "20",
898
 				barMaxWidth: "20",

+ 1 - 1
WebChartNewest/js/main.js

216
 				callDate = [Number(data.AgentOnlineCount), Number(data.WaiteCallCount), Number(hwcount), Number(jtcount)]
216
 				callDate = [Number(data.AgentOnlineCount), Number(data.WaiteCallCount), Number(hwcount), Number(jtcount)]
217
 				const outLine = dataLength - data.AgentOnlineCount;
217
 				const outLine = dataLength - data.AgentOnlineCount;
218
 				callSeatStateData = [data.WaiteCallCount, data.AgentSpeakCount, data.AgentProcessingCount, data.AgentReposeCount, data.AgentFreeCount]
218
 				callSeatStateData = [data.WaiteCallCount, data.AgentSpeakCount, data.AgentProcessingCount, data.AgentReposeCount, data.AgentFreeCount]
219
-				hotThingsChart('callSeatState', callSeatStateName, callSeatStateData, 500)
219
+//				hotThingsChart('callSeatState', callSeatStateName, callSeatStateData, 500)
220
 			}
220
 			}
221
 			
221
 			
222
 		}
222
 		}

+ 4 - 4
WebChartNewest/js/newAdd/operationEvent.js

23
 		}else if(indexTitle=="来电监测"){
23
 		}else if(indexTitle=="来电监测"){
24
 			console.log("日-来电监测")
24
 			console.log("日-来电监测")
25
 			MajoreventsDataType = 0
25
 			MajoreventsDataType = 0
26
-			getHotThings()
26
+//			getHotThings()
27
 		}else if(indexTitle=="高频事项"){
27
 		}else if(indexTitle=="高频事项"){
28
 			keyCountDataType = 0
28
 			keyCountDataType = 0
29
 			$('#gpsxDataAct').val('1');
29
 			$('#gpsxDataAct').val('1');
39
 		} else if (indexTitle=="专题-按分类") {
39
 		} else if (indexTitle=="专题-按分类") {
40
 			$('#themeClassType').val('0');
40
 			$('#themeClassType').val('0');
41
 			console.log('123')
41
 			console.log('123')
42
-			getHotThings();
42
+//			getHotThings();
43
 		}
43
 		}
44
 		trafficState = 0;
44
 		trafficState = 0;
45
 	} else if ($(this).attr('data-pos') == '2') {
45
 	} else if ($(this).attr('data-pos') == '2') {
56
 			getHotline()
56
 			getHotline()
57
 		}else if(indexTitle=="来电监测"){
57
 		}else if(indexTitle=="来电监测"){
58
 			MajoreventsDataType = 1
58
 			MajoreventsDataType = 1
59
-			getHotThings()
59
+//			getHotThings()
60
 		}else if(indexTitle=="高频事项"){
60
 		}else if(indexTitle=="高频事项"){
61
 			$('#gpsxDataAct').val('2');
61
 			$('#gpsxDataAct').val('2');
62
 			keyCountDataType = 1
62
 			keyCountDataType = 1
69
 			initTable();
69
 			initTable();
70
 		} else if (indexTitle=="专题-按单位") {
70
 		} else if (indexTitle=="专题-按单位") {
71
 			$('#themeClassType').val('1');
71
 			$('#themeClassType').val('1');
72
-			getHotThings();
72
+//			getHotThings();
73
 		}
73
 		}
74
 		trafficState = 1;
74
 		trafficState = 1;
75
 	}
75
 	}

+ 4 - 2
WebChartNewest/js/second_1.js

58
 	}
58
 	}
59
 hotline2M.on('click', function (params) {
59
 hotline2M.on('click', function (params) {
60
 	console.log(params, 'hotline2')
60
 	console.log(params, 'hotline2')
61
+	domM = 'hotline2'
61
 	if (domM== 'hotline2') {
62
 	if (domM== 'hotline2') {
62
 		workTable('', '', '', params.name, '', '', '', '', hotlineTimeType)
63
 		workTable('', '', '', params.name, '', '', '', '', hotlineTimeType)
63
 	} else if (domM== 'events') {
64
 	} else if (domM== 'events') {
82
 	
83
 	
83
 })
84
 })
84
 channelM.on('click', function (params) {
85
 channelM.on('click', function (params) {
86
+	
87
+	domM = 'channel'
85
 	var time = $('#date3').val().split(' ~ ');
88
 	var time = $('#date3').val().split(' ~ ');
86
 	var sourceInfo = sourceCountId.find(function(o) {
89
 	var sourceInfo = sourceCountId.find(function(o) {
87
 		return o.name == params.name;
90
 		return o.name == params.name;
166
 		
169
 		
167
 		LEV.push(item.level)
170
 		LEV.push(item.level)
168
 	})
171
 	})
169
-	console.log(VALUE)
172
+//	console.log(VALUE)
170
 	let maxItem = [].concat(VALUE).sort((a, b) => b - a)[0]
173
 	let maxItem = [].concat(VALUE).sort((a, b) => b - a)[0]
171
 
174
 
172
 	let SUM = 0
175
 	let SUM = 0
187
 			transitionDuration: 0.4,
190
 			transitionDuration: 0.4,
188
 			formatter: function (params) {
191
 			formatter: function (params) {
189
 				var resultValue = ''
192
 				var resultValue = ''
190
-				console.log(domM)
191
 				if (domM === 'themeBarEle') {
193
 				if (domM === 'themeBarEle') {
192
 					resultValue =  VALUE[params.dataIndex].value
194
 					resultValue =  VALUE[params.dataIndex].value
193
 				} else {
195
 				} else {

+ 2 - 28
WebChartNewest/js/second_index.js

9
 $('.backKey_icon').click(function () {
9
 $('.backKey_icon').click(function () {
10
 	for (let i = 0; i < keyidArr.length; i++) {
10
 	for (let i = 0; i < keyidArr.length; i++) {
11
 		if (keyidArr[i].id == keyid) {
11
 		if (keyidArr[i].id == keyid) {
12
-			console.log(keyidArr[i - 1].id)
13
 			$('.keyWordTitle').text(keyidArr[i - 1].name + '问题分类')
12
 			$('.keyWordTitle').text(keyidArr[i - 1].name + '问题分类')
14
 			$('.head_title').text(keyidArr[i - 1].name + '关键字数据分析')
13
 			$('.head_title').text(keyidArr[i - 1].name + '关键字数据分析')
15
 			keyWordTable(keyidArr[i - 1].id);
14
 			keyWordTable(keyidArr[i - 1].id);
19
 	}
18
 	}
20
 })
19
 })
21
 $('.closeKey_icon').click(function () {
20
 $('.closeKey_icon').click(function () {
21
+	$('#themeIdHidden').val('')
22
 	$('.bulletFrame').hide();
22
 	$('.bulletFrame').hide();
23
 	$('.bulletFrameT').hide();
23
 	$('.bulletFrameT').hide();
24
 	if ($('.bulletFrame').css('display') == 'none') {
24
 	if ($('.bulletFrame').css('display') == 'none') {
87
 			$('.keyWordTitle').text(keyidArr[0].name + '问题分类')
87
 			$('.keyWordTitle').text(keyidArr[0].name + '问题分类')
88
 			$('.head_title').text(keyidArr[0].name + '关键字数据分析')
88
 			$('.head_title').text(keyidArr[0].name + '关键字数据分析')
89
 			$('.statisticsTime').html(value)
89
 			$('.statisticsTime').html(value)
90
-			console.log(value, 'value')
91
 			
90
 			
92
 			keyWordTable(keyidArr[0].id, keyidArr[0].name, value);
91
 			keyWordTable(keyidArr[0].id, keyidArr[0].name, value);
93
 		}
92
 		}
94
 	});
93
 	});
95
-	console.log($('#gpsxDataAct').val(), 'dataact')
96
 	if (classId == '1' || classId == '0') {
94
 	if (classId == '1' || classId == '0') {
97
 		
95
 		
98
 		// 当月
96
 		// 当月
125
 }
123
 }
126
 
124
 
127
 function keyWordTable(id, con, value) {
125
 function keyWordTable(id, con, value) {
128
-	console.log(value)
129
 	var $tableLeft = $('#keyWordlist');
126
 	var $tableLeft = $('#keyWordlist');
130
 	$tableLeft.bootstrapTable('destroy');
127
 	$tableLeft.bootstrapTable('destroy');
131
 	//初始化表格,动态从服务器加载数据
128
 	//初始化表格,动态从服务器加载数据
219
 	keywordNum.forEach(function (v, n) {
216
 	keywordNum.forEach(function (v, n) {
220
 		keywordName.push(v.value.replace(reg, ''));
217
 		keywordName.push(v.value.replace(reg, ''));
221
 	})
218
 	})
222
-	console.log(keywordName)
223
 	keywordName.forEach(function (v, n) {
219
 	keywordName.forEach(function (v, n) {
224
 		if (v.length > 20) {
220
 		if (v.length > 20) {
225
 			keylegend = [{
221
 			keylegend = [{
514
 	for (let i = 0; i < keyidArr.length; i++) {
510
 	for (let i = 0; i < keyidArr.length; i++) {
515
 		if (keyidArr[i].id == keyid) {
511
 		if (keyidArr[i].id == keyid) {
516
 			if (keyidArr[0].id == keyid) {
512
 			if (keyidArr[0].id == keyid) {
517
-				console.log('1111', keyname)
518
 				$('.backKey_icon').css('display', 'none')
513
 				$('.backKey_icon').css('display', 'none')
519
 			} else {
514
 			} else {
520
 				$('.backKey_icon').css('display', 'block')
515
 				$('.backKey_icon').css('display', 'block')
829
  		if(!val) {
824
  		if(!val) {
830
  			val = 0
825
  			val = 0
831
  		}
826
  		}
832
- 		
833
- 		console.log($('#rankDate').val(), 'asfasdf')
834
-
835
  		return '<div class="imgs" ><a class="" onclick="examineList(\'' + row.deptid + '\', \'' + tab + '\', \''+ $('#rankDate').val() +'\')" >' + val +
827
  		return '<div class="imgs" ><a class="" onclick="examineList(\'' + row.deptid + '\', \'' + tab + '\', \''+ $('#rankDate').val() +'\')" >' + val +
836
  			'</a></div>'
828
  			'</a></div>'
837
  	} else {
829
  	} else {
998
 
990
 
999
 			newDataL.state = "success";
991
 			newDataL.state = "success";
1000
 			newDataL.message = "加载成功";
992
 			newDataL.message = "加载成功";
1001
-			console.log(newDataL)
1002
 			$tableLeft.bootstrapTable('load', newDataL);
993
 			$tableLeft.bootstrapTable('load', newDataL);
1003
 		},
994
 		},
1004
 		onLoadError: function () { //加载失败时执行
995
 		onLoadError: function () { //加载失败时执行
1072
 			newDataL.message = data.message;
1063
 			newDataL.message = data.message;
1073
 			newDataL.rows = data.data;
1064
 			newDataL.rows = data.data;
1074
 			$tableLeft.bootstrapTable('load', newDataL);
1065
 			$tableLeft.bootstrapTable('load', newDataL);
1075
-			console.log(newDataL.rows, 'newDataL.rows')
1076
 			new doAjax({
1066
 			new doAjax({
1077
 				url: huayi.config.callcenter_url + "/InfoNew/GetHandling",
1067
 				url: huayi.config.callcenter_url + "/InfoNew/GetHandling",
1078
 				data: {
1068
 				data: {
1163
 	};
1153
 	};
1164
 	sortPie.setOption(option);
1154
 	sortPie.setOption(option);
1165
 	sortPie.on('click', function (params) {
1155
 	sortPie.on('click', function (params) {
1166
-		console.log(params.name)
1167
 		if (params.name == '直办') {
1156
 		if (params.name == '直办') {
1168
 			workTable('', '', '', '', '', '', '', '', 0, 2)
1157
 			workTable('', '', '', '', '', '', '', '', 0, 2)
1169
 		} else if (params.name == '督办') {
1158
 		} else if (params.name == '督办') {
1224
 			position: ['75%', '55%'],
1213
 			position: ['75%', '55%'],
1225
 			backgroundColor: 'rgba(250,250,250,0)',
1214
 			backgroundColor: 'rgba(250,250,250,0)',
1226
 			formatter: function (params) {
1215
 			formatter: function (params) {
1227
-				console.log()
1228
 				let str = '<div style="position: absolute;top:-315px;left:-423px">接通率:' + ((params[1].value / params[0].value) * 100).toFixed(0) + '%</div>'
1216
 				let str = '<div style="position: absolute;top:-315px;left:-423px">接通率:' + ((params[1].value / params[0].value) * 100).toFixed(0) + '%</div>'
1229
 				return str;
1217
 				return str;
1230
 			}
1218
 			}
1323
 				fontSize: 14,
1311
 				fontSize: 14,
1324
 				fontWeight: '600',
1312
 				fontWeight: '600',
1325
 				formatter: function (params) {
1313
 				formatter: function (params) {
1326
-					console.log(params)
1327
 					return params.seriesName + ':' + params.value
1314
 					return params.seriesName + ':' + params.value
1328
 				}
1315
 				}
1329
 			},
1316
 			},
1849
 			// 	fontSize: 14,
1836
 			// 	fontSize: 14,
1850
 			// 	fontWeight: '600',
1837
 			// 	fontWeight: '600',
1851
 			// 	formatter: function (params) {
1838
 			// 	formatter: function (params) {
1852
-			// 		console.log(params)
1853
 			// 		return params.seriesName + ':' + params.value
1839
 			// 		return params.seriesName + ':' + params.value
1854
 			// 	}
1840
 			// 	}
1855
 			// },
1841
 			// },
1955
 //		$('.body').css('opacity', '0.4')
1941
 //		$('.body').css('opacity', '0.4')
1956
 //	}
1942
 //	}
1957
 //	
1943
 //	
1958
-
1959
-
1960
-
1961
 	new doAjax({
1944
 	new doAjax({
1962
 		url: huayi.config.callcenter_url + '/InfoNew/GetThemeClassification1',
1945
 		url: huayi.config.callcenter_url + '/InfoNew/GetThemeClassification1',
1963
 		Type: 'get',
1946
 		Type: 'get',
1975
 			}
1958
 			}
1976
 			
1959
 			
1977
 			if (res.data && res.data.length > 0) {
1960
 			if (res.data && res.data.length > 0) {
1978
-				console.log(res.data[0].Themeid, 'res.data[0].Themeid')
1979
 				$('#themeIdHidden').val(res.data[0].Themeid)
1961
 				$('#themeIdHidden').val(res.data[0].Themeid)
1980
 			}
1962
 			}
1981
 			
1963
 			
2034
 
2016
 
2035
 
2017
 
2036
 function theme_chart(dom, nameArray, piData) {
2018
 function theme_chart(dom, nameArray, piData) {
2037
-	console.log('theme_chart')
2038
 
2019
 
2039
 	let keywordPieChart = echarts.init(document.getElementById(dom));
2020
 	let keywordPieChart = echarts.init(document.getElementById(dom));
2040
 	let keywordNum = [];
2021
 	let keywordNum = [];
2065
 		allCount += parseInt(v.value);
2046
 		allCount += parseInt(v.value);
2066
 	})
2047
 	})
2067
 	
2048
 	
2068
-	console.log(allCount, 'allCount')
2069
-	
2070
 	let max;
2049
 	let max;
2071
 	for (let i = 0; i < keywordNum.length; i++) {
2050
 	for (let i = 0; i < keywordNum.length; i++) {
2072
 		for (let j = i; j < keywordNum.length; j++) {
2051
 		for (let j = i; j < keywordNum.length; j++) {
2080
 	keywordNum.forEach(function (v, n) {
2059
 	keywordNum.forEach(function (v, n) {
2081
 		keywordName.push(v.value.replace(reg, ''));
2060
 		keywordName.push(v.value.replace(reg, ''));
2082
 	})
2061
 	})
2083
-	console.log(keywordName)
2084
 	keywordName.forEach(function (v, n) {
2062
 	keywordName.forEach(function (v, n) {
2085
 		if (v.length > 20) {
2063
 		if (v.length > 20) {
2086
 			keylegend = [{
2064
 			keylegend = [{
2323
 		}]
2301
 		}]
2324
 	};
2302
 	};
2325
 	
2303
 	
2326
-	console.log(option, 'option')
2327
 	keywordPieChart.setOption(option);
2304
 	keywordPieChart.setOption(option);
2328
 	
2305
 	
2329
 	keywordPieChart.on('click', function (params) {
2306
 	keywordPieChart.on('click', function (params) {
2330
-    	console.log(params, 'keywordPieChart');
2331
     	if (dom === 'themeByClass') {
2307
     	if (dom === 'themeByClass') {
2332
     		
2308
     		
2333
     		workTable('','','','','' ,'','',null,null,null,null,null, null, null, null, null, null, null, params.data.dataId, 1)
2309
     		workTable('','','','','' ,'','',null,null,null,null,null, null, null, null, null, null, null, params.data.dataId, 1)
2334
     	} else if (dom === 'themeByDept') {
2310
     	} else if (dom === 'themeByDept') {
2335
 //  		workTable(KeyId,deptid,sourceId,PhoneType,keyword ,type,sourceArea,key,timetype,handling,source,dptype, date, Township, strworkid, stime, etime, isspecial, special, time = 0, monthlytheme)
2311
 //  		workTable(KeyId,deptid,sourceId,PhoneType,keyword ,type,sourceArea,key,timetype,handling,source,dptype, date, Township, strworkid, stime, etime, isspecial, special, time = 0, monthlytheme)
2336
-workTable('',params.data.dataId,'','','' ,'',null,null,null,null,null,null, null, null, null, null, null, null, null, 1, params.data.themeId)
2312
+			workTable('',params.data.dataId,'','','' ,'',null,null,null,null,null,null, null, null, null, null, null, null, null, 1, params.data.themeId)
2337
     	}
2313
     	}
2338
 	});
2314
 	});
2339
 }
2315
 }
2340
 
2316
 
2341
 
2317
 
2342
 function getAllThemeOrders() {
2318
 function getAllThemeOrders() {
2343
-	console.log('getAllThemeOrders')
2344
 	var id = $('#themeIdHidden').val();
2319
 	var id = $('#themeIdHidden').val();
2345
-	console.log(id, 'getAllThemeOrders')
2346
 	if (id != '') {
2320
 	if (id != '') {
2347
 		workTable('','','','','' ,'',null,null,null,null,null,null, null, null, null, null, null, null, null, 1)
2321
 		workTable('','','','','' ,'',null,null,null,null,null,null, null, null, null, null, null, null, null, 1)
2348
 	}
2322
 	}

+ 1 - 0
WebChartNewest/js/workOrder.js

99
 			};
99
 			};
100
 		},
100
 		},
101
 		onLoadSuccess: function(res) { //加载成功时执行
101
 		onLoadSuccess: function(res) { //加载成功时执行
102
+			$('#themeIdHidden').val('')
102
 		},
103
 		},
103
 		onLoadError: function() { //加载失败时执行
104
 		onLoadError: function() { //加载失败时执行
104
 			//layer.msg("加载数据失败", { time: 1500, icon: 2 });
105
 			//layer.msg("加载数据失败", { time: 1500, icon: 2 });

BIN
WebUI/CallCenterWeb.UI/CallCenterWeb.UI.zip


+ 4 - 3
WebUI/CallCenterWeb.UI/CommonHtml/js/orderDetail.js

4
 	var html1 = '';
4
 	var html1 = '';
5
 	var html2 = '';
5
 	var html2 = '';
6
 	var visitRole = ['GLY','ZXLD']
6
 	var visitRole = ['GLY','ZXLD']
7
-	
7
+	if (visitRole.indexOf(roleCode)!== -1) {
8
+		$(".visitLimit").show()
9
+	}
8
 	if(result.data.length < 0) {
10
 	if(result.data.length < 0) {
9
 		html = '<tr>' +
11
 		html = '<tr>' +
10
 			'<td class="text-center">' + n.UserName + '</td>' +
12
 			'<td class="text-center">' + n.UserName + '</td>' +
68
 			
70
 			
69
 			html2 = html
71
 			html2 = html
70
 			if (visitRole.indexOf(roleCode)!== -1) {
72
 			if (visitRole.indexOf(roleCode)!== -1) {
71
-				$(".visitLimit").show()
73
+				
72
 				var itemHf = JSON.stringify(n).replace(/"/g, "'")
74
 				var itemHf = JSON.stringify(n).replace(/"/g, "'")
73
 				html2 += '</td>'
75
 				html2 += '</td>'
74
 				html2 += '<td class="text-center">' +   
76
 				html2 += '<td class="text-center">' +   
75
 					'<a class="xg" onclick="visitHandle('+itemHf+')" title="修改">修改</a>' +
77
 					'<a class="xg" onclick="visitHandle('+itemHf+')" title="修改">修改</a>' +
76
-					"<a class='xg' onclick='deleteVisit(\""+n.F_Id+"\")' title='删除'>删除</a>" +
77
 					'</td>';
78
 					'</td>';
78
 			}
79
 			}
79
 			
80
 			

+ 2 - 2
WebUI/CallCenterWeb.UI/Media/MediaWorkOrderList.html

20
                 <sapn>
20
                 <sapn>
21
                     <i class="syIcon"></i>位置:
21
                     <i class="syIcon"></i>位置:
22
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
22
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
23
-                    <a href="javaScript:;">媒体监督</a>&gt;
24
-                    <a href="" class="nowPosition">媒体工单</a>
23
+                    <a href="javaScript:;">综合查询</a>&gt;
24
+                    <a href="" class="nowPosition">公共事项</a>
25
                 </sapn>
25
                 </sapn>
26
             </div>
26
             </div>
27
             <div class="dhRight">
27
             <div class="dhRight">