Sfoglia il codice sorgente

查询条件修改

miaofuhao 2 anni fa
parent
commit
4cc94f0fc8

+ 54 - 47
WebChartNewest/js/trafficData.js

@@ -96,30 +96,25 @@ function trafficDataChart(getdata) {
96 96
 			},
97 97
 			axisLabel: {
98 98
 				show: true,
99
-				rotate: -30, // 角度值:Number
99
+				rotate: 0, // 角度值:Number
100 100
 				interval: '0', 
101
-//				align: 'left',
102 101
 				verticalAlign: 'left',
103 102
 				fontSize: 12, // 顺便调小一点字体大小
104
-				padding: [0, 0, 0, -30],
105
-//				offset: [50, -20],
103
+				padding: [0, 0, 0, 10],
106 104
 				textStyle: {
107 105
 					color: '#ffffff'
108 106
 				},
109
-//				position: ['600%', 100],
110 107
 				formatter: function (value) {
111 108
 					//x轴的文字改为竖版显示
112
-//					var str = value.split("");
113
-//					return str.join("\n");
114 109
 					var str = value;
115 110
 					if (value === "接通量呼入量") {
116
-						str = "          接通量 \n\n呼入量"
111
+						str = "          接通量/呼入量"
117 112
 					} else if(value === "呼出接通量呼出量"){
118
-						str = "          呼出接通量\n\n呼出量"
113
+						str = "     呼出接通量/呼出量"
119 114
 					}else if(value === "呼入接通率"){
120
-						str = "       呼入接通率"
115
+						str = "     呼入接通率"
121 116
 					}else if(value === "呼出接通率"){
122
-						str = "       呼出接通率"
117
+						str = "呼出接通率"
123 118
 					}
124 119
 					return str
125 120
 				}
@@ -157,17 +152,49 @@ function trafficDataChart(getdata) {
157 152
     	color: ['#cd5c5c','#87cefa','#da70d6','#32cd32','#6495ed',
158 153
             '#ff69b4','#ba55d3','#cd5c5c','#ffa500','#40e0d0'],
159 154
 		series: [
160
-		
161 155
 			{
162
-				name: '呼量',
156
+				name: '呼出数量',
163 157
 				type: 'bar',
164
-				barGap: 0,
158
+				barWidth: 15,
159
+				label: getLabelOption(['50%', -15],0),
160
+				emphasis: {
161
+					focus: 'series'
162
+				},
163
+				data: [0, 0, getdata.hcjtcount, 0]
164
+			},
165
+			{
166
+				name: '呼出接通量',
167
+				type: 'bar',
168
+				barWidth: 15,
165 169
 				label: getLabelOption(['50%', -5],0),
170
+				emphasis: {
171
+					focus: 'series'
172
+				},
173
+				data: [0, 0, getdata.hcjtcount, 0]
174
+			},
175
+			
176
+			
177
+			{
178
+				name: '有效来电',
179
+				type: 'bar',
180
+				stack: 'A',
181
+				label: getLabelOption(['260%', -5],0),
182
+				barWidth: 15,
183
+				emphasis: {
184
+					focus: 'series'
185
+				},
186
+				data: [getdata.effective, 0, 0, 0]
187
+			},
188
+			{
189
+				name: '无效来电',
190
+				type: 'bar',
191
+				stack: 'A',
192
+				label: getLabelOption(['260%', -5],0),
166 193
 				barWidth: 15,
167 194
 				emphasis: {
168 195
 					focus: 'series'
169 196
 				},
170
-				data: [getdata.hwcount, 0, 0, 0]
197
+				data: [getdata.invalid, 0, 0, 0]
171 198
 			},
172 199
 			{
173 200
 				name: '人工接通',
@@ -203,6 +230,17 @@ function trafficDataChart(getdata) {
203 230
 				data: [getdata.hbcount, 0, 0, 0]
204 231
 			},
205 232
 			{
233
+				name: '呼出接通率',
234
+				type: 'bar',
235
+				barWidth: 15,
236
+				yAxisIndex: 1,
237
+				label: getLabelOption(['50%', -5],1),
238
+				emphasis: {
239
+					focus: 'series'
240
+				},
241
+				data: [0, 0, 0, getdata.hcbili]
242
+			},
243
+			{
206 244
 				name: '接通率',
207 245
 				type: 'bar',
208 246
 				stack: 'B',
@@ -238,38 +276,7 @@ function trafficDataChart(getdata) {
238 276
 				},
239 277
 				data: [0, getdata.hbbili, 0, 0]
240 278
 			},
241
-			{
242
-				name: '呼出数量',
243
-				type: 'bar',
244
-				barWidth: 15,
245
-				label: getLabelOption(['50%', -15],0),
246
-				emphasis: {
247
-					focus: 'series'
248
-				},
249
-				data: [0, 0, getdata.hccount, 0]
250
-			},
251
-			{
252
-				name: '呼出接通量',
253
-				type: 'bar',
254
-				barWidth: 15,
255
-				label: getLabelOption(['50%', -5],0),
256
-				emphasis: {
257
-					focus: 'series'
258
-				},
259
-				data: [0, 0, getdata.hcjtcount, 0]
260
-			},
261
-			{
262
-				name: '呼出接通率',
263
-				type: 'bar',
264
-				barWidth: 15,
265
-				yAxisIndex: 1,
266
-				label: getLabelOption(['50%', -5],1),
267
-				emphasis: {
268
-					focus: 'series'
269
-				},
270
-				data: [0, 0, 0, getdata.jtbili]
271
-			}
272
-
279
+			
273 280
 		]
274 281
 	};
275 282
 	hotThings.setOption(option);

+ 2 - 2
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -382,8 +382,8 @@
382 382
 					istime: true,
383 383
 					format: 'YYYY-MM-DD hh:mm:ss'
384 384
 				});
385
-				$("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
386
-				$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
385
+//				$("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
386
+//				$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
387 387
 				load();
388 388
 				getPhoneType($("#phoneType"));
389 389
 			});

+ 2 - 2
WebUI/CallCenterWeb.UI/MarketingManagement/LawsuitMarketing.html

@@ -607,8 +607,8 @@
607 607
                 istime: true,
608 608
                 format: 'YYYY-MM-DD hh:mm:ss'
609 609
             });
610
-            $("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
611
-			$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
610
+//          $("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
611
+//			$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
612 612
             load();
613 613
         });
614 614
         //关闭录音弹出

+ 2 - 2
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/LawsuitMedia.html

@@ -312,8 +312,8 @@
312 312
                 istime: true,
313 313
                 format: 'YYYY-MM-DD hh:mm:ss'
314 314
             });
315
-            $("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
316
-			$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
315
+//          $("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
316
+//			$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
317 317
             load();
318 318
             getMultimediaPersonnel($("#assignUser"))
319 319
         });

+ 2 - 2
WebUI/CallCenterWeb.UI/OtherPhoneManagement/LawsuitOtherPhone.html

@@ -382,8 +382,8 @@
382 382
                 format: 'YYYY-MM-DD hh:mm:ss'
383 383
             });
384 384
             getPhoneType($("#incomingcall"));
385
-            $("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
386
-			$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
385
+//          $("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
386
+//			$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
387 387
             load();
388 388
         });
389 389
         //关闭录音弹出

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

@@ -369,8 +369,8 @@
369 369
                 istime: true,
370 370
                 format: 'YYYY-MM-DD hh:mm:ss'
371 371
             });
372
-            $("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
373
-			$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
372
+//          $("#starttime").val(helper.DateFormat.getNowDate()+" 00:00:00")
373
+//			$("#endtime").val(helper.DateFormat.getNowDate()+" 23:59:59")
374 374
             load();
375 375
         });
376 376
         //关闭录音弹出

+ 2 - 2
WebUI/CallCenterWeb.UI/TelCall/CallRecord.html

@@ -387,8 +387,8 @@
387 387
                 istime: true,
388 388
                 format: 'YYYY-MM-DD hh:mm:ss'
389 389
             });
390
-            $("#start").val(helper.DateFormat.getNowDate()+" 00:00:00")
391
-			$("#end").val(helper.DateFormat.getNowDate()+" 23:59:59")
390
+//          $("#start").val(helper.DateFormat.getNowDate()+" 00:00:00")
391
+//			$("#end").val(helper.DateFormat.getNowDate()+" 23:59:59")
392 392
             /*获取选中行对象*/
393 393
             $('#list').on("click-row.bs.table", function (e, row, ele) {
394 394
                 $('.success').removeClass('success'); //去除之前选中的行的,选中样式