|
@@ -148,14 +148,15 @@ JpcFlowTabSrv.prototype.createNew = function(){
|
|
|
let actH = JpcFlowTabHelper.getActualContentAreaHeight(bands, rptTpl, me.segments, page);
|
|
|
let offsetY = actH - (flowContentBand.Bottom - flowContentBand.Top);
|
|
|
JpcBandHelper.resetBandPos(rptTpl[JV.NODE_BAND_COLLECTION], bands, flowContentBand, 0, offsetY);
|
|
|
-
|
|
|
+ // 2.1 Content-Tab
|
|
|
tabRstLst.push(me.outputContent(rptTpl, dataObj, page, bands, unitFactor, controls, 0, $CURRENT_RPT));
|
|
|
// 2.2 Column tab
|
|
|
tabRstLst.push(me.outputColumn(rptTpl, dataObj, page, segIdx, bands, unitFactor, controls, 0));
|
|
|
// 2.3 Sum Seg
|
|
|
tabRstLst.push(me.outputSegSum(rptTpl, dataObj, page, segIdx, bands, unitFactor, controls));
|
|
|
// 2.4 Sum Page
|
|
|
- // 2.5 Discrete
|
|
|
+ // 2.5 Group
|
|
|
+ // 2.6 Discrete
|
|
|
tabRstLst.push(JpcDiscreteHelper.outputDiscreteInfo(rptTpl[FLOW_NODE_STR][JV.NODE_DISCRETE_INFO], bands, dataObj, unitFactor, me.pageStatusLst[page - 1], segIdx, 1, 0, $CURRENT_RPT));
|
|
|
//3. reset merge band position
|
|
|
if (bands[JV.BAND_PROP_MERGE_BAND] && adHocMergePos) {
|
|
@@ -180,14 +181,15 @@ JpcFlowTabSrv.prototype.createNew = function(){
|
|
|
//2. start to output detail-part
|
|
|
for (let pi = 0; pi < me.multiCols; pi++) {
|
|
|
let actualPage = (page - 1) * me.multiCols + pi + 1;
|
|
|
- //2.1 Content-Tab
|
|
|
+ // 2.1 Content-Tab
|
|
|
tabRstLst.push(me.outputContent(rptTpl, dataObj, actualPage, bands, unitFactor, controls, pi, $CURRENT_RPT));
|
|
|
- //2.2 Column tab
|
|
|
+ // 2.2 Column tab
|
|
|
tabRstLst.push(me.outputColumn(rptTpl, dataObj, actualPage, segIdx, bands, unitFactor, controls, pi));
|
|
|
- //2.3 Sum Seg
|
|
|
+ // 2.3 Sum Seg
|
|
|
tabRstLst.push(me.outputSegSum(rptTpl, dataObj, actualPage, segIdx, bands, unitFactor, controls));
|
|
|
- //2.4 Sum Page
|
|
|
- //2.5 Discrete
|
|
|
+ // 2.4 Sum Page
|
|
|
+ // 2.5 Group
|
|
|
+ // 2.6 Discrete
|
|
|
if (pi === 0) {
|
|
|
tabRstLst.push(JpcDiscreteHelper.outputDiscreteInfo(rptTpl[FLOW_NODE_STR][JV.NODE_DISCRETE_INFO], bands, dataObj, unitFactor, me.pageStatusLst[actualPage - 1], segIdx, 1, pi, $CURRENT_RPT));
|
|
|
}
|