|
@@ -30,7 +30,7 @@ var nextRenderingPage;
|
|
|
|
|
|
|
|
document.title = getParameter("reportName");
|
|
document.title = getParameter("reportName");
|
|
|
getWindowWidth();
|
|
getWindowWidth();
|
|
|
-count();
|
|
|
|
|
|
|
+loadData();
|
|
|
|
|
|
|
|
// 缩小,最小不小于原大小的0.2/1.2倍
|
|
// 缩小,最小不小于原大小的0.2/1.2倍
|
|
|
$("#zoomOut").click(function() {
|
|
$("#zoomOut").click(function() {
|
|
@@ -169,27 +169,6 @@ function getWindowWidth() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-/**
|
|
|
|
|
- * 发送请求,获取当前条件下的结果数目
|
|
|
|
|
- */
|
|
|
|
|
-function count() {
|
|
|
|
|
- spinner = showLoading(spinner, spinnerContainer);
|
|
|
|
|
- var countUrl = "print/count" + window.location.search;
|
|
|
|
|
- $.ajax({
|
|
|
|
|
- type : "get",
|
|
|
|
|
- async : false,
|
|
|
|
|
- url : countUrl,
|
|
|
|
|
- success : function(count) {
|
|
|
|
|
- alert(spinnerContainer, "需载入" + count + "条数据", 1000);
|
|
|
|
|
- spinner = hideLoading(spinner);
|
|
|
|
|
- loadData();
|
|
|
|
|
- },
|
|
|
|
|
- error : function(XMLHttpRequest) {
|
|
|
|
|
- showError(XMLHttpRequest);
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* 发送请求,服务器端进行填充报表、生成pdf文件等操作
|
|
* 发送请求,服务器端进行填充报表、生成pdf文件等操作
|
|
|
*/
|
|
*/
|