Selaa lähdekoodia

查询条件修改

miaofuhao 2 vuotta sitten
vanhempi
commit
4cc94f0fc8

+ 54 - 47
WebChartNewest/js/trafficData.js

96
 			},
96
 			},
97
 			axisLabel: {
97
 			axisLabel: {
98
 				show: true,
98
 				show: true,
99
-				rotate: -30, // 角度值:Number
99
+				rotate: 0, // 角度值:Number
100
 				interval: '0', 
100
 				interval: '0', 
101
-//				align: 'left',
102
 				verticalAlign: 'left',
101
 				verticalAlign: 'left',
103
 				fontSize: 12, // 顺便调小一点字体大小
102
 				fontSize: 12, // 顺便调小一点字体大小
104
-				padding: [0, 0, 0, -30],
105
-//				offset: [50, -20],
103
+				padding: [0, 0, 0, 10],
106
 				textStyle: {
104
 				textStyle: {
107
 					color: '#ffffff'
105
 					color: '#ffffff'
108
 				},
106
 				},
109
-//				position: ['600%', 100],
110
 				formatter: function (value) {
107
 				formatter: function (value) {
111
 					//x轴的文字改为竖版显示
108
 					//x轴的文字改为竖版显示
112
-//					var str = value.split("");
113
-//					return str.join("\n");
114
 					var str = value;
109
 					var str = value;
115
 					if (value === "接通量呼入量") {
110
 					if (value === "接通量呼入量") {
116
-						str = "          接通量 \n\n呼入量"
111
+						str = "          接通量/呼入量"
117
 					} else if(value === "呼出接通量呼出量"){
112
 					} else if(value === "呼出接通量呼出量"){
118
-						str = "          呼出接通量\n\n呼出量"
113
+						str = "     呼出接通量/呼出量"
119
 					}else if(value === "呼入接通率"){
114
 					}else if(value === "呼入接通率"){
120
-						str = "       呼入接通率"
115
+						str = "     呼入接通率"
121
 					}else if(value === "呼出接通率"){
116
 					}else if(value === "呼出接通率"){
122
-						str = "       呼出接通率"
117
+						str = "呼出接通率"
123
 					}
118
 					}
124
 					return str
119
 					return str
125
 				}
120
 				}
157
     	color: ['#cd5c5c','#87cefa','#da70d6','#32cd32','#6495ed',
152
     	color: ['#cd5c5c','#87cefa','#da70d6','#32cd32','#6495ed',
158
             '#ff69b4','#ba55d3','#cd5c5c','#ffa500','#40e0d0'],
153
             '#ff69b4','#ba55d3','#cd5c5c','#ffa500','#40e0d0'],
159
 		series: [
154
 		series: [
160
-		
161
 			{
155
 			{
162
-				name: '呼量',
156
+				name: '呼出数量',
163
 				type: 'bar',
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
 				label: getLabelOption(['50%', -5],0),
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
 				barWidth: 15,
193
 				barWidth: 15,
167
 				emphasis: {
194
 				emphasis: {
168
 					focus: 'series'
195
 					focus: 'series'
169
 				},
196
 				},
170
-				data: [getdata.hwcount, 0, 0, 0]
197
+				data: [getdata.invalid, 0, 0, 0]
171
 			},
198
 			},
172
 			{
199
 			{
173
 				name: '人工接通',
200
 				name: '人工接通',
203
 				data: [getdata.hbcount, 0, 0, 0]
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
 				name: '接通率',
244
 				name: '接通率',
207
 				type: 'bar',
245
 				type: 'bar',
208
 				stack: 'B',
246
 				stack: 'B',
238
 				},
276
 				},
239
 				data: [0, getdata.hbbili, 0, 0]
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
 	hotThings.setOption(option);
282
 	hotThings.setOption(option);

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

382
 					istime: true,
382
 					istime: true,
383
 					format: 'YYYY-MM-DD hh:mm:ss'
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
 				load();
387
 				load();
388
 				getPhoneType($("#phoneType"));
388
 				getPhoneType($("#phoneType"));
389
 			});
389
 			});

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

607
                 istime: true,
607
                 istime: true,
608
                 format: 'YYYY-MM-DD hh:mm:ss'
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
             load();
612
             load();
613
         });
613
         });
614
         //关闭录音弹出
614
         //关闭录音弹出

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

312
                 istime: true,
312
                 istime: true,
313
                 format: 'YYYY-MM-DD hh:mm:ss'
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
             load();
317
             load();
318
             getMultimediaPersonnel($("#assignUser"))
318
             getMultimediaPersonnel($("#assignUser"))
319
         });
319
         });

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

382
                 format: 'YYYY-MM-DD hh:mm:ss'
382
                 format: 'YYYY-MM-DD hh:mm:ss'
383
             });
383
             });
384
             getPhoneType($("#incomingcall"));
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
             load();
387
             load();
388
         });
388
         });
389
         //关闭录音弹出
389
         //关闭录音弹出

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

369
                 istime: true,
369
                 istime: true,
370
                 format: 'YYYY-MM-DD hh:mm:ss'
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
             load();
374
             load();
375
         });
375
         });
376
         //关闭录音弹出
376
         //关闭录音弹出

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

387
                 istime: true,
387
                 istime: true,
388
                 format: 'YYYY-MM-DD hh:mm:ss'
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
             $('#list').on("click-row.bs.table", function (e, row, ele) {
393
             $('#list').on("click-row.bs.table", function (e, row, ele) {
394
                 $('.success').removeClass('success'); //去除之前选中的行的,选中样式
394
                 $('.success').removeClass('success'); //去除之前选中的行的,选中样式