Sfoglia il codice sorgente

大屏修改‘

git commit -m 大屏修改‘
miaofuhao 2 anni fa
parent
commit
37c18dc21f

+ 9 - 0
WebChartNewest/.project

@@ -78,5 +78,14 @@
78 78
 				<arguments>1.0-name-matches-false-false-node_modules</arguments>
79 79
 			</matcher>
80 80
 		</filter>
81
+		<filter>
82
+			<id>1686623382156</id>
83
+			<name></name>
84
+			<type>26</type>
85
+			<matcher>
86
+				<id>org.eclipse.ui.ide.multiFilter</id>
87
+				<arguments>1.0-name-matches-false-false-node_modules</arguments>
88
+			</matcher>
89
+		</filter>
81 90
 	</filteredResources>
82 91
 </projectDescription>

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

@@ -2,8 +2,8 @@ if (huayi == undefined) {
2 2
     var huayi = {};
3 3
 }
4 4
 huayi.config = {
5
-	 callcenter_url: "http://192.168.8.9:1042/",//生产环境  
6
-//	callcenter_url: "http://125.45.12.146:9998/",
5
+//	 callcenter_url: "http://192.168.8.9:1042/",//生产环境  
6
+	callcenter_url: "http://125.45.12.146:9998/",
7 7
     socket_ip: "125.45.12.123",//ip
8 8
 //    socket_ip: "192.168.8.7",//ip
9 9
     socket_port: "8081",//端口

+ 5 - 5
WebChartNewest/index.html

@@ -31,7 +31,7 @@
31 31
 					<div class="title_img">
32 32
 						<h2>话务数据统计</h2>
33 33
 					</div>
34
-					<div class="dataT act">
34
+					<div class="dataT act hwsjtj" style="display: none;">
35 35
 						<label class="dataAct" data-pos="1" indexTitle="话务数据统计1">
36 36
 							今日<span class="day active"></span>
37 37
 						</label><br>
@@ -168,14 +168,14 @@
168 168
 					<div class="title_img">
169 169
 						<h2>工单类型</h2>
170 170
 					</div>
171
-					<div class="dataT act">
171
+					<!--<div class="dataT act">
172 172
 						<label  class="dataAct" data-pos="1" indexTitle="工单类型">
173 173
 							今日<span class="day active"></span>
174 174
 						</label><br>
175 175
 						<label  class="dataAct" data-pos="2" indexTitle="工单类型">
176 176
 							本月<span class="month"></span>
177 177
 						</label>
178
-					</div>
178
+					</div>-->
179 179
 					<div id="workOrder" style="width: 800px;height:250px;"></div>
180 180
 				</div>
181 181
 				<!-- 平均办理时长 -->
@@ -189,14 +189,14 @@
189 189
 						<span class="responseLength" data-state='3'>切换</span>
190 190
 						<img src="./image/switch.png" alt="">
191 191
 					</div>
192
-					<div class="dataT act">
192
+					<!--<div class="dataT act">
193 193
 						<label  class="dataAct" data-pos="1" indexTitle="绩效考核排名">
194 194
 							今日<span class="day active"></span>
195 195
 						</label><br>
196 196
 						<label  class="dataAct" data-pos="2" indexTitle="绩效考核排名">
197 197
 							本月<span class="month"></span>
198 198
 						</label>
199
-					</div>
199
+					</div>-->
200 200
 					<div class="count-share">
201 201
 						<div class="com-screen-content">
202 202
 							<div class="topRec_List">

+ 2 - 0
WebChartNewest/js/index.js

@@ -9,6 +9,7 @@ var trafficData = [];
9 9
 var sourceCountId = [],
10 10
 	seatData = [], 
11 11
 	timeState = 1,
12
+	telCountByNowType = 0,
12 13
 	hotlineDataType = 0,
13 14
 	MajoreventsDataType=0,
14 15
 	keyCountDataType=0,
@@ -507,6 +508,7 @@ function gettraffic() {
507 508
 		if (!e.isPropagationStopped()) {//确定stopPropagation是否被调用过
508 509
 			if (e.target.tagName == 'SPAN') {
509 510
 				if ($(e.target).attr('data-state') == '0') {
511
+					$(".hwsjtj").show()
510 512
 					$('.timeTraffic').css('display', 'none')
511 513
 					$('.daySeat').css('display', 'inline-block')
512 514
 					$('#traffic').css('display', 'block')

+ 4 - 0
WebChartNewest/js/newAdd/timetype.js

@@ -7,6 +7,8 @@ $('.dataAct').click(function () {
7 7
 		console.log($(this).attr('indexTitle'))
8 8
 		if(indexTitle=="话务数据统计1"){
9 9
 			console.log("日-话务数据统计1")
10
+			telCountByNowType = 0
11
+			getworkOrder()
10 12
 		}else if(indexTitle=="话务数据统计2"){
11 13
 			console.log("日-话务数据统计2")
12 14
 			getHWCount24() //话务数据统计 日
@@ -33,6 +35,8 @@ $('.dataAct').click(function () {
33 35
 		$(this).siblings("label").children('.day').removeClass('active');
34 36
 		console.log($(this).attr('indexTitle'))
35 37
 		if(indexTitle=="话务数据统计1"){
38
+			telCountByNowType = 1
39
+			getworkOrder()
36 40
 		}else if(indexTitle=="话务数据统计2"){
37 41
 			getHWCountMonth() ////话务数据统计 月
38 42
 		}else if(indexTitle=="热线整合受理情况"){

+ 1 - 0
WebChartNewest/js/newIndex.js

@@ -483,6 +483,7 @@ function gettraffic() {
483 483
 		if (!e.isPropagationStopped()) {//确定stopPropagation是否被调用过
484 484
 			if (e.target.tagName == 'SPAN') {
485 485
 				if ($(e.target).attr('data-state') == '0') {
486
+					$(".hwsjtj").show()
486 487
 					$('.timeTraffic').css('display', 'none')
487 488
 					$('.daySeat').css('display', 'inline-block')
488 489
 					$('#traffic').css('display', 'block')

+ 121 - 52
WebChartNewest/js/trafficData.js

@@ -1,7 +1,9 @@
1
-trafficDataChart('timeTraffic', daySeatName, callDate, callDate[0])
1
+//trafficDataChart('timeTraffic', daySeatName, callDate, callDate[0])
2
+getworkOrder()
2 3
 $('.btn_time').click(function(e) {
3 4
 	if(e.target.tagName == 'SPAN') {
4 5
 		if($(e.target).attr('data-state') == '1') {
6
+			$(".hwsjtj").hide()
5 7
 			$('.daySeat').css('display', 'none')
6 8
 			$('.timeTraffic').css('display', 'inline-block')
7 9
 			$('#traffic').css('display', 'none')
@@ -10,14 +12,28 @@ $('.btn_time').click(function(e) {
10 12
 
11 13
 			//			$(".act").attr("indexTitle","日话务数据统计1")
12 14
 			$('.call_situation h2').text('话务数据统计')
13
-			trafficDataChart('timeTraffic', ['登陆坐席数量1', '呼叫排队数量1', '话务量1', '呼入接通量1'], callDate, callDate[0])
15
+			getworkOrder()
14 16
 			trafficState = 0
15 17
 		}
16 18
 	}
17 19
 	e.stopPropagation();
18 20
 })
19
-
20
-function trafficDataChart(dom, data, count, count1, rotate = 0) {
21
+function getworkOrder() {
22
+	let workOrderData = [];
23
+	let workOrderName = []
24
+	new doAjax({
25
+		url: huayi.config.callcenter_url + "/InfoNew/GetTelCountByNow",
26
+		data: {
27
+			timetype:telCountByNowType
28
+		},
29
+		callBack: function (res) {
30
+			var data = res.data.hw[0]
31
+			console.log(data)
32
+			trafficDataChart(data)
33
+		}
34
+	});
35
+}
36
+function trafficDataChart(getdata) {
21 37
 	let hotThings = echarts.init(document.getElementById("timeTraffic"));
22 38
 	console.log(hotThings)
23 39
 	window.onresize = function() {
@@ -25,45 +41,27 @@ function trafficDataChart(dom, data, count, count1, rotate = 0) {
25 41
 	}
26 42
 	const labelOption = {
27 43
 		show: true,
28
-		rotate: 90,
29
-		align: 'left',
44
+		rotate: 0,
45
+		align: 'center',
30 46
 		verticalAlign: 'middle',
31
-		position: 'insideBottom',
47
+		position: 'inside',
32 48
 		//distance: 15,
33
-		//formatter: '{c}  {name|{a}}',
34
-		formatter: () => {
35
-			console.log('{c}', 'c')
49
+		formatter: function(params) {
50
+		 	if (params.value > 0) {
51
+				return params.value;
52
+			 } else {
53
+				return ' ';
54
+			 }
36 55
 		},
37
-		//fontSize: 16,
56
+		fontSize: 12,
38 57
 		rich: {
39 58
 			name: {}
40 59
 		}
41
-		//		normal: {
42
-		//      formatter: function(params) {
43
-		//          // 可以打印自己看一下, 其实params就是每根柱子的对象
44
-		//          console.info(params);
45
-		//          var html = '';
46
-		//          if (params.value > 0) {
47
-		//              // 千万不要html += '';
48
-		//              html = params.value + '次  ' + params.seriesName;
49
-		//              return html;
50
-		//          }
51
-		//          // 没有数据的返回'' 不是返回0
52
-		//          return html;
53
-		//      },
54
-		//   }
55 60
 	};
56 61
 
57 62
 	option = {
58
-		//		tooltip: {
59
-		//			trigger: 'axis',
60
-		//			axisPointer: {
61
-		//				type: 'shadow'
62
-		//			},
63
-		//		},
64 63
 		tooltip: {
65 64
 			trigger: 'item',
66
-			//			trigger: 'axis',
67 65
 			show: true,
68 66
 			// 进行数据处理
69 67
 			formatter: function(params) {
@@ -80,15 +78,6 @@ function trafficDataChart(dom, data, count, count1, rotate = 0) {
80 78
 				return html;
81 79
 			}
82 80
 		},
83
-		//		legend: {
84
-		//			textStyle: {
85
-		//				fontSize: 12, //字体大小
86
-		//				color: '#ffffff' //字体颜色
87
-		//			},
88
-		//			lineStyle: {
89
-		//				color: '#ffffff'
90
-		//			}
91
-		//		},
92 81
 		grid: {
93 82
 			left: '3%',
94 83
 			right: '4%',
@@ -106,11 +95,17 @@ function trafficDataChart(dom, data, count, count1, rotate = 0) {
106 95
 				show: true,
107 96
 				rotate: -30, // 角度值:Number
108 97
 				fontSize: 11, // 顺便调小一点字体大小
98
+				padding: [0, 0, 0, -15],
109 99
 				textStyle: {
110 100
 					color: '#ffffff'
111
-				}
101
+				},
102
+//				formatter: function (value) {
103
+//					//x轴的文字改为竖版显示
104
+//					var str = value.split("");
105
+//					return str.join("\n");
106
+//				}
112 107
 			},
113
-			data: ['呼入量\r\n     接通量', '呼入接通率', '呼出量\r\n   呼出接通量', '呼出接通率']
108
+			data: ['          接通量 \n\n呼入量', '\n呼入接通率', '          呼出接通量\n\n呼出量', '\n呼出接通率']
114 109
 		}],
115 110
 		yAxis: [{
116 111
 				type: 'value',
@@ -137,7 +132,7 @@ function trafficDataChart(dom, data, count, count1, rotate = 0) {
137 132
 				min: 0,
138 133
 				max: 100,
139 134
 				axisLabel: {
140
-					formatter: '{value} 100%'
135
+					formatter: '{value} %'
141 136
 				}
142 137
 			}
143 138
 		],
@@ -146,41 +141,115 @@ function trafficDataChart(dom, data, count, count1, rotate = 0) {
146 141
 				type: 'bar',
147 142
 				barGap: 0,
148 143
 				label: labelOption,
144
+				barWidth : 15,
149 145
 				emphasis: {
150 146
 					focus: 'series'
151 147
 				},
152
-				data: [320, 332, 301, 334]
148
+				data: [getdata.hwcount, 0, 0, 0]
153 149
 			},
154 150
 			{
151
+		      name: '人工接通',
152
+		      type: 'bar',
153
+		      stack: 'Ad',
154
+		      barWidth : 15,
155
+		      label: labelOption,
156
+		      emphasis: {
157
+		        focus: 'series'
158
+		      },
159
+		      data: [getdata.jtcount, 0, 0, 0]
160
+		   },
161
+		   {
162
+		      name: '自助接通量',
163
+		      type: 'bar',
164
+		      stack: 'Ad',
165
+		      barWidth : 15,
166
+		      label: labelOption,
167
+		      emphasis: {
168
+		        focus: 'series'
169
+		      },
170
+		      data: [getdata.zzcount, 0, 0, 0]
171
+		    },
172
+			{
155 173
 		      name: '未接通回拨量',
156 174
 		      type: 'bar',
157 175
 		      stack: 'Ad',
176
+		      barWidth : 15,
158 177
 		      label: labelOption,
159 178
 		      emphasis: {
160 179
 		        focus: 'series'
161 180
 		      },
162
-		      data: [120, 0, 191, 0]
181
+		      data: [getdata.hbcount, 0, 0, 0]
163 182
 		    },
183
+		    
164 184
 		    {
165
-		      name: '自助接通量',
185
+		      name: '回拨率',
166 186
 		      type: 'bar',
167
-		      stack: 'Ad',
187
+		      stack: 'B',
188
+		      barWidth : 15,
189
+		      yAxisIndex: 1,
168 190
 		      label: labelOption,
169 191
 		      emphasis: {
170 192
 		        focus: 'series'
171 193
 		      },
172
-		      data: [220, 0, 0, 0]
194
+		      data: [0, getdata.hbbili, 0, 0]
173 195
 		    },
174 196
 		    {
175
-		      name: '人工接通',
197
+		      name: '自助率',
176 198
 		      type: 'bar',
177
-		      stack: 'Ad',
199
+		      stack: 'B',
200
+		      barWidth : 15,
201
+		      yAxisIndex: 1,
202
+		      label: labelOption,
203
+		      emphasis: {
204
+		        focus: 'series'
205
+		      },
206
+		      data: [0, getdata.zzbili, 0, 0]
207
+		    },
208
+		    {
209
+		      name: '接通率',
210
+		      type: 'bar',
211
+		      stack: 'B',
212
+		      barWidth : 15,
213
+		      yAxisIndex: 1,
214
+		      label: labelOption,
215
+		      emphasis: {
216
+		        focus: 'series'
217
+		      },
218
+		      data: [0, getdata.jtbili, 0, 0]
219
+		    },
220
+		    {
221
+		      name: '呼出数量',
222
+		      type: 'bar',
223
+		      barWidth : 15,
224
+		      label: labelOption,
225
+		      emphasis: {
226
+		        focus: 'series'
227
+		      },
228
+		      data: [0, 0, getdata.hccount, 0]
229
+		    },
230
+		    {
231
+		      name: '呼出接通量',
232
+		      type: 'bar',
233
+		      barWidth : 15,
234
+		      label: labelOption,
235
+		      emphasis: {
236
+		        focus: 'series'
237
+		      },
238
+		      data: [0, 0, getdata.hcjtcount,0]
239
+		    },
240
+		    {
241
+		      name: '呼出接通率',
242
+		      type: 'bar',
243
+		      barWidth : 15,
244
+		      yAxisIndex: 1,
178 245
 		      label: labelOption,
179 246
 		      emphasis: {
180 247
 		        focus: 'series'
181 248
 		      },
182
-		      data: [150, 0, 0, 0]
249
+		      data: [0, 0, 0, getdata.jtbili]
183 250
 		    }
251
+		    
252
+		    
184 253
 		]
185 254
 	};
186 255
 	hotThings.setOption(option);

+ 7 - 5
WebChartNewest/js/复制 trafficData.js

@@ -81,11 +81,13 @@ function trafficDataChart(getdata) {
81 81
 					color: '#ffffff'
82 82
 				}
83 83
 			},
84
-//			hbbili: "33.33%" 回拨率		hcbili: "100%" 呼出率	hccount: 0 呼出数量	
85
-//			hcjtcount: 0 呼出接通量				
86
-//hwcount: 0 呼入量	hbcount: 0 回拨数量	zzcount: 0 自助数量		jtcount: 0 接通数量
87
-//hbbili: "33.33%" 回拨率	zzbili: "33.33%" 自助率	jtbili: "33.33%" 接通率	
88
-//
84
+//			hwcount: 0 呼入量
85
+//			jtcount: 0 人工接通		zzcount: 0 自助接通量		hbcount: 0 未接通回拨量	
86
+//			hbbili: "33.33%" 回拨率	zzbili: "33.33%" 自助率	jtbili: "33.33%" 接通率		
87
+//			hccount: 0 呼出数量 	hcjtcount: 0 呼出接通量	 
88
+//			hcbili: "100%" 呼出接通量
89
+					
90
+
89 91
 			data: ['呼入量', '接通量', '呼入接通率', '呼出量', '呼出接通量', '呼出接通率']
90 92
 		}],
91 93
 //		tooltip: {

+ 2 - 2
WebUI/CallCenterWeb.UI/ProvincialPlatformManagement/LawsuitProvincialPlatform.html

@@ -135,7 +135,7 @@
135 135
                                             延时审核中
136 136
                                         </option>
137 137
                                         <option value="6">已办理</option>
138
-                                        <!-- <option value="7">已回访</option> -->
138
+                                         <option value="7">已回访</option> 
139 139
                                         <option value="11">
140 140
                                             重办待交办
141 141
                                         </option>
@@ -281,7 +281,7 @@
281 281
                                         办理状态
282 282
                                     </th>
283 283
                                     <th data-field="isback" data-align="center">
284
-                                        是省平台退回
284
+                                        是省平台退回
285 285
                                     </th>
286 286
                                     <th data-field="OverState" data-formatter="OverTime" data-align="center">
287 287
                                         时限

+ 4 - 0
WebUI/CallCenterWeb.UI/js/index.js

@@ -5,6 +5,10 @@ $(document).ready(function() {
5 5
 	}
6 6
 	getnew();
7 7
 	domainPrompt();
8
+//	$("#con_startTime").val(helper.DateFormat.getNowDate()+" 00:00:00")
9
+//	$("#con_endTime").val(helper.DateFormat.getNowDate()+" 23:59:59")
10
+//	$("#old_startTime").val(helper.DateFormat.getNowDate()+" 00:00:00")
11
+//	$("#old_endTime").val(helper.DateFormat.getNowDate()+" 23:59:59")
8 12
 	// 历史工单
9 13
 	loadOld();
10 14
 	// 一键转接