|
@@ -7,6 +7,7 @@ const PRE_PAGE_OFFSET = 150;
|
|
|
const NEXT_PAGE_OFFSET = 160;
|
|
|
const FIRST_PAGE_OFFSET = 50;
|
|
|
const LAST_PAGE_OFFSET = 60;
|
|
|
+const WAIT_TIME_EXPORT = 300000;
|
|
|
|
|
|
let fontSuffixMapObj = {"表标题": "title", "列标题": "column", "正文内容": "content", "合计": "summary", "表眉/表脚": "header_footer"};
|
|
|
|
|
@@ -409,7 +410,7 @@ let rptControlObj = {
|
|
|
params.custCfg = zTreeOprObj.reportPageCfg;
|
|
|
params.option = "normal";
|
|
|
$.bootstrapLoading.start();
|
|
|
- CommonAjax.postEx("report_api/createExcelFilesInOneBook", params, 20000, true, function(result){
|
|
|
+ CommonAjax.postEx("report_api/createExcelFilesInOneBook", params, WAIT_TIME_EXPORT, true, function(result){
|
|
|
if (result) {
|
|
|
$.bootstrapLoading.end();
|
|
|
let uuIdUrls = [];
|
|
@@ -449,7 +450,7 @@ let rptControlObj = {
|
|
|
params.custCfg = zTreeOprObj.reportPageCfg;
|
|
|
params.option = "normal";
|
|
|
$.bootstrapLoading.start();
|
|
|
- CommonAjax.postEx("report_api/createExcelFiles", params, 20000, true, function(result){
|
|
|
+ CommonAjax.postEx("report_api/createExcelFiles", params, WAIT_TIME_EXPORT, true, function(result){
|
|
|
if (result) {
|
|
|
$.bootstrapLoading.end();
|
|
|
let uuIdUrls = [];
|
|
@@ -507,7 +508,7 @@ let rptControlObj = {
|
|
|
params.orientation = ((zTreeOprObj.checkedRptTplNodes.length > 1)?null:me.getCurrentOrientation());
|
|
|
params.custCfg = zTreeOprObj.reportPageCfg;
|
|
|
params.option = "normal";
|
|
|
- CommonAjax.postEx("report_api/createPdfFiles", params, 20000, true, function(result){
|
|
|
+ CommonAjax.postEx("report_api/createPdfFiles", params, WAIT_TIME_EXPORT, true, function(result){
|
|
|
if (result) {
|
|
|
let uuIdUrls = [];
|
|
|
for (let uuIdObj of result) {
|
|
@@ -555,7 +556,7 @@ let rptControlObj = {
|
|
|
rpt_names.push(tplNode.name);
|
|
|
}
|
|
|
params.rpt_ids = rptIds.join(",");
|
|
|
- CommonAjax.postEx("report_api/getMultiReports", params, 30000, true,
|
|
|
+ CommonAjax.postEx("report_api/getMultiReports", params, WAIT_TIME_EXPORT, true,
|
|
|
function(result){
|
|
|
$.bootstrapLoading.end();
|
|
|
if ($('#ini_PDF_cover').is(':visible')) {
|