|
@@ -290,8 +290,8 @@ let zTreeOprObj = {
|
|
|
let params = {};
|
|
|
params.pageSize = rptControlObj.getCurrentPageSize();
|
|
|
params.orientation = rptControlObj.getCurrentOrientation();
|
|
|
- params.rpt_tpl_id = me.currentNode.refId;
|
|
|
params.custCfg = CUST_CFG;
|
|
|
+ params.rpt_tpl_id = me.currentNode.refId;
|
|
|
params.project_id = PROJECT_ID;
|
|
|
params.tender_id = TENDER_ID;
|
|
|
params.stage_id = getStageId();
|
|
@@ -299,7 +299,28 @@ let zTreeOprObj = {
|
|
|
params.stage_order = getStageOrder();
|
|
|
params.stage_times = getStageTimes();
|
|
|
params.material_order = getMaterialOrder();
|
|
|
+ // me.requestNormalReport(params);
|
|
|
+
|
|
|
+ const gather_select = customSelects.gather_select.find(function (x) {
|
|
|
+ return x.id === me.currentNode.refId;
|
|
|
+ });
|
|
|
+ if (gather_select) {
|
|
|
+ rptCustomObj.init(gather_select.custom_define, customSelects.stageFlow, gather_select);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ const stage_select = customSelects.stage_select.find(function (x) {
|
|
|
+ return x.id === me.currentNode.refId;
|
|
|
+ });
|
|
|
+ if (stage_select) {
|
|
|
+ rptCustomObj.init(stage_select.custom_define, customSelects.stageFlow, stage_select);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
me.requestNormalReport(params);
|
|
|
+ me.countChkedRptTpl();
|
|
|
+ rptCustomObj.showMaterialSelect();
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
resetAfter: function (pageRst) {
|