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

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

@@ -3,10 +3,10 @@ if (huayi == undefined) {
3 3
     var huayi = {};
4 4
 }
5 5
 huayi.config = {
6
-//	  callcenter_url: "http://192.168.8.9:1042/",//生产环境  
6
+	// callcenter_url: "http://192.168.8.9:1042/",//生产环境  
7 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 10
     indextime: 30000//报表刷新时间
11 11
 
12 12
 };

+ 13 - 3
WebChartNewest/index.html

@@ -90,13 +90,23 @@
90 90
 						<span class="responseLength" data-state='3'>切换</span>
91 91
 						<img src="./image/switch.png" alt="">-->
92 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 96
 							分类<span class="day active"></span>
97 97
 						</label><br>
98 98
 						<label  class="dataAct" data-pos="2" indexTitle="专题-按单位">
99 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 110
 						</label>
101 111
 					</div>
102 112
 					<div id="hotThings" style="width: 100%;height:250px;"></div>

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

@@ -1,16 +1,109 @@
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 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,19 +1,20 @@
1 1
 var themeDoubleFlag = false
2 2
 var timerTheme = null
3
+
3 4
 var  themeBarEcharts = echarts.init(document.getElementById('themeBarEle'));
4 5
 var themeBarDownEcharts = echarts.init(document.getElementById("themeBarDownEle"));
5 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 18
 $(".accept_channel #hotThings").dblclick(function(){
18 19
 		$(".themeBarTit").text($('.cutDispatchHandle').text())
19 20
 		clearTimeout(themeDoubleFlag)
@@ -40,7 +41,6 @@ themeBarEcharts.getZr().on('click', function (params) {
40 41
 	console.log(params)
41 42
 	console.log(params.value)
42 43
 	var pointInPixel = [params.offsetX, params.offsetY];
43
-	
44 44
 	var pointInGrid = themeBarEcharts.convertFromPixel({
45 45
         seriesIndex: 0
46 46
     }, pointInPixel);
@@ -52,7 +52,8 @@ themeBarEcharts.getZr().on('click', function (params) {
52 52
 	domM = 'themeBarDownEle'
53 53
 	themeDblId = seriesObj.series[0].data[handleIndex].themId
54 54
 	
55
-	getHotThings()
55
+//	getHotThings()
56
+	cutHotThings()
56 57
 })
57 58
 //themeDblId = null
58 59
 $("#themeBarDownEle").click(function () {

+ 2 - 1
WebChartNewest/js/documentDready.js

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

+ 20 - 6
WebChartNewest/js/index.js

@@ -513,7 +513,12 @@ if (type == '1') url = '/InfoNew/GetThemeDept1';
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 522
 				secData.push({
518 523
 					level: name,
519 524
 					landArea: v.count
@@ -521,7 +526,7 @@ if (type == '1') url = '/InfoNew/GetThemeDept1';
521 526
 				// }
522 527
 				
523 528
 			})
524
-			
529
+			console.log(conNum)
525 530
 			if (res.data &&res.data.length > 0) {
526 531
 				$('#themeRate').text(res.data[0].Proportion);
527 532
 			}
@@ -639,7 +644,6 @@ function getHotline() {
639 644
 
640 645
 function getHotLineInfo(strName, bili, n) {
641 646
 	$('.lineB').text(strName + ':' + bili);
642
-	console.log(n)
643 647
 	switch (Number(n)){
644 648
 		case 0:
645 649
 			getLineBcss('-24px','-20px')
@@ -747,8 +751,7 @@ function getworkOrderType() {
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 755
 	window.onresize = function() {
753 756
 		hotThings.resize()
754 757
 	}
@@ -878,7 +881,18 @@ function hotThingsChart(dom, data, count, count1, rotate = 0) {
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 896
 				data: [1, 1, 1, 1, 1, 1],
883 897
 				type: "pictorialBar",
884 898
 				barMaxWidth: "20",

+ 1 - 1
WebChartNewest/js/main.js

@@ -216,7 +216,7 @@ function Connect() {
216 216
 				callDate = [Number(data.AgentOnlineCount), Number(data.WaiteCallCount), Number(hwcount), Number(jtcount)]
217 217
 				const outLine = dataLength - data.AgentOnlineCount;
218 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,7 +23,7 @@ $('.dataAct').click(function () {
23 23
 		}else if(indexTitle=="来电监测"){
24 24
 			console.log("日-来电监测")
25 25
 			MajoreventsDataType = 0
26
-			getHotThings()
26
+//			getHotThings()
27 27
 		}else if(indexTitle=="高频事项"){
28 28
 			keyCountDataType = 0
29 29
 			$('#gpsxDataAct').val('1');
@@ -39,7 +39,7 @@ $('.dataAct').click(function () {
39 39
 		} else if (indexTitle=="专题-按分类") {
40 40
 			$('#themeClassType').val('0');
41 41
 			console.log('123')
42
-			getHotThings();
42
+//			getHotThings();
43 43
 		}
44 44
 		trafficState = 0;
45 45
 	} else if ($(this).attr('data-pos') == '2') {
@@ -56,7 +56,7 @@ $('.dataAct').click(function () {
56 56
 			getHotline()
57 57
 		}else if(indexTitle=="来电监测"){
58 58
 			MajoreventsDataType = 1
59
-			getHotThings()
59
+//			getHotThings()
60 60
 		}else if(indexTitle=="高频事项"){
61 61
 			$('#gpsxDataAct').val('2');
62 62
 			keyCountDataType = 1
@@ -69,7 +69,7 @@ $('.dataAct').click(function () {
69 69
 			initTable();
70 70
 		} else if (indexTitle=="专题-按单位") {
71 71
 			$('#themeClassType').val('1');
72
-			getHotThings();
72
+//			getHotThings();
73 73
 		}
74 74
 		trafficState = 1;
75 75
 	}

+ 4 - 2
WebChartNewest/js/second_1.js

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

+ 2 - 28
WebChartNewest/js/second_index.js

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

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


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

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

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

@@ -20,8 +20,8 @@
20 20
                 <sapn>
21 21
                     <i class="syIcon"></i>位置:
22 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 25
                 </sapn>
26 26
             </div>
27 27
             <div class="dhRight">