|
@@ -763,7 +763,7 @@ let rptControlObj = {
|
|
|
rptControlObj.getTplIdsCommon(refRptTplIds, rpt_sheet_names, splitArchives);
|
|
|
let params = rptControlObj.creatCommonExportParam(refRptTplIds);
|
|
|
params.closeWatermark = getCloseWatermarkForExcel();
|
|
|
- if (![-100, -200, -300].includes(STAGE_ID)) {
|
|
|
+ if (STAGE_ID > 0) {
|
|
|
await rptCustomObj.getCustomSelect(params);
|
|
|
}
|
|
|
params.rpt_names = rpt_sheet_names;
|
|
@@ -807,7 +807,7 @@ let rptControlObj = {
|
|
|
rptControlObj.getTplIdsCommon(refRptTplIds, rpt_names, splitArchives);
|
|
|
let params = rptControlObj.creatCommonExportParam(refRptTplIds);
|
|
|
params.closeWatermark = getCloseWatermarkForExcel();
|
|
|
- if (![-100, -200, -300].includes(STAGE_ID)) {
|
|
|
+ if (STAGE_ID > 0) {
|
|
|
await rptCustomObj.getCustomSelect(params);
|
|
|
}
|
|
|
params.isOneSheet = true;
|
|
@@ -968,7 +968,7 @@ let rptControlObj = {
|
|
|
params.splitArchives = splitArchives;
|
|
|
|
|
|
// params.getPicFlag = true; //专门针对草图项,只有此项为true,才需要把草图信息带过来,预览及打印动态加载草图 // 纠结:但这样还是解决不了效率问题,得另外想交互方式
|
|
|
- if (![-100, -200, -300].includes(STAGE_ID)) {
|
|
|
+ if (STAGE_ID > 0) {
|
|
|
await rptCustomObj.getCustomSelect(params);
|
|
|
}
|
|
|
delete params.orientation; // 打印时有勾选的话,不需要提供方向
|
|
@@ -1134,7 +1134,7 @@ let rptControlObj = {
|
|
|
let params = rptControlObj.creatCommonExportParam(refRptTplIds);
|
|
|
params.splitArchives = splitArchives;
|
|
|
// params.getPicFlag = true; //专门针对草图项,只有此项为true,才需要把草图信息带过来,预览及打印动态加载草图 // 纠结:但这样还是解决不了效率问题,得另外想交互方式
|
|
|
- if (![-100, -200, -300].includes(STAGE_ID)) {
|
|
|
+ if (STAGE_ID > 0) {
|
|
|
await rptCustomObj.getCustomSelect(params);
|
|
|
}
|
|
|
delete params.orientation; // 打印时有勾选的话,不需要提供方向
|