Преглед на файлове

客诉数量导出,每页默认数量修改

miaofuhao преди 7 години
родител
ревизия
e8d2ced5bc
променени са 1 файла, в които са добавени 3 реда и са изтрити 14 реда
  1. 3 14
      CallCenterWeb.UI/ReportForm/workOrderCustomer.html

+ 3 - 14
CallCenterWeb.UI/ReportForm/workOrderCustomer.html

80
 				height: 100px;
80
 				height: 100px;
81
 				overflow-y: auto;
81
 				overflow-y: auto;
82
 			}
82
 			}
83
+			
83
 		</style>
84
 		</style>
84
 	</head>
85
 	</head>
85
 
86
 
147
 				<h2 style="text-align: center; margin-top: 20px;">客诉数量柱状图</h2>
148
 				<h2 style="text-align: center; margin-top: 20px;">客诉数量柱状图</h2>
148
 				<div id="main" style="width: 100%; height: 400px;"></div>
149
 				<div id="main" style="width: 100%; height: 400px;"></div>
149
 			</div>
150
 			</div>
150
-			<div class="hu-con-left" style="width: 80%; margin: 0 auto;">
151
+			<div class="hu-con-left" style="width: 800px; margin: 0 auto;">
151
 				<h2 style="text-align: center; margin-top: 20px; display: none;">客诉数量统计</h2>
152
 				<h2 style="text-align: center; margin-top: 20px; display: none;">客诉数量统计</h2>
152
 				<table class="layui-hide" id="t_callTotal"></table> 
153
 				<table class="layui-hide" id="t_callTotal"></table> 
153
 			</div>
154
 			</div>
222
 						$('.inps2').attr("index",areaParentVal1);
223
 						$('.inps2').attr("index",areaParentVal1);
223
 						$('.inps3').attr("index",areaParentVal2);
224
 						$('.inps3').attr("index",areaParentVal2);
224
 						$('.inps4').attr("index",areaParentVal3);
225
 						$('.inps4').attr("index",areaParentVal3);
225
-						
226
-						
227
 					} else {
226
 					} else {
228
 						layer.msg("请选择最下级菜单");
227
 						layer.msg("请选择最下级菜单");
229
 					}
228
 					}
334
 									title: keys[0],
333
 									title: keys[0],
335
 									align: 'center',
334
 									align: 'center',
336
 									fixed: true,
335
 									fixed: true,
337
-									//sort: true,
338
 									width: 150,
336
 									width: 150,
339
 								});
337
 								});
340
 								for(var i = 1, colNL = keys.length; i < colNL; i++) {
338
 								for(var i = 1, colNL = keys.length; i < colNL; i++) {
342
 										field: keys[i],
340
 										field: keys[i],
343
 										title: keys[i],
341
 										title: keys[i],
344
 										align: 'center',
342
 										align: 'center',
345
-										//fixed: true, 
346
-										//sort: true,
347
-										//width: 150,
348
 									});
343
 									});
349
 								}
344
 								}
350
 								colsArr.push(newArr);
345
 								colsArr.push(newArr);
362
 										cols: colsArr,
357
 										cols: colsArr,
363
 										data: dataArr,
358
 										data: dataArr,
364
 										height: 'full-150',
359
 										height: 'full-150',
365
-										limitName: 'pageSize', //每页数据量的参数名,默认:limit			
366
-										response: {
367
-											pageSize: 20, //数据状态的字段名称,默认:code
368
-										},
360
+										limit: 12
369
 									});
361
 									});
370
 									  
362
 									  
371
 								});
363
 								});
379
 				});
371
 				});
380
 			}
372
 			}
381
 			partThree();
373
 			partThree();
382
-			//pasrt 3
383
 			var main = echarts.init(document.getElementById('main'));
374
 			var main = echarts.init(document.getElementById('main'));
384
 			main.setOption({
375
 			main.setOption({
385
 
376
 
452
 						if(data.state.toLowerCase() == "success") {
443
 						if(data.state.toLowerCase() == "success") {
453
 							layer.close(index);
444
 							layer.close(index);
454
 							var con = data.data;
445
 							var con = data.data;
455
-							//alert(JSON.stringify(con));
456
-							//					var part3 = result.data.b;
457
 							main.setOption({
446
 							main.setOption({
458
 								xAxis: {
447
 								xAxis: {
459
 									data: con.chartdata.months
448
 									data: con.chartdata.months