|
@@ -446,7 +446,7 @@ let rptControlObj = {
|
|
|
//other types if needed.
|
|
|
}
|
|
|
},
|
|
|
- getAllInOneBook: function () {
|
|
|
+ getAllInOneBook: async function () {
|
|
|
if (zTreeOprObj.checkedRptTplNodes && zTreeOprObj.checkedRptTplNodes.length > 0) {
|
|
|
let me = rptControlObj;
|
|
|
let orgRptName = projectObj.project.projectInfo.name;
|
|
@@ -505,7 +505,7 @@ let rptControlObj = {
|
|
|
);
|
|
|
}
|
|
|
},
|
|
|
- getAllIndividualExcelBook: function () {
|
|
|
+ getAllIndividualExcelBook: async function () {
|
|
|
let me = rptControlObj;
|
|
|
if (zTreeOprObj.checkedRptTplNodes && zTreeOprObj.checkedRptTplNodes.length > 0) {
|
|
|
let rpt_ids = [], flags = [], rpt_names = [], compare_ids = [];
|
|
@@ -584,7 +584,7 @@ let rptControlObj = {
|
|
|
me.getAllIndividualExcelBook();
|
|
|
}
|
|
|
},
|
|
|
- getPDF: function() {
|
|
|
+ getPDF: async function() {
|
|
|
let me = rptControlObj;
|
|
|
if (zTreeOprObj.checkedRptTplNodes && zTreeOprObj.checkedRptTplNodes.length > 0) {
|
|
|
let rpt_ids = [], flags = [], rpt_names = [], compare_ids = [];
|
|
@@ -654,7 +654,7 @@ let rptControlObj = {
|
|
|
dynamicLoadJs('https://d2.smartcost.com.cn/cach/SmartSimsun-bold.js', 'bold', me.getPdfFontCallback);
|
|
|
}
|
|
|
},
|
|
|
- getPDFEx: function () {
|
|
|
+ getPDFEx: async function () {
|
|
|
if (zTreeOprObj.checkedRptTplNodes && zTreeOprObj.checkedRptTplNodes.length > 0) {
|
|
|
let rptIds = [], rpt_names = [], flagsArr = [], compare_ids = [];
|
|
|
let params = {};
|