|
@@ -363,6 +363,13 @@ const rptCustomObj = (function () {
|
|
|
rptCustomObj.resetStageSelect(resolve);
|
|
|
// $("#stage-select").modal('hide');
|
|
|
});
|
|
|
+ $('#stage-select-all').unbind('click');
|
|
|
+ $('#stage-select-all').bind('click', function () {
|
|
|
+ const material = $('[name=stage-select-check]');
|
|
|
+ for (const m of material) {
|
|
|
+ m.checked = this.checked;
|
|
|
+ }
|
|
|
+ });
|
|
|
};
|
|
|
const initChangeSelect = function (gsSetting, rptName, resolve = null) {
|
|
|
changeObj.show('选择工程变更' + (rptName ? '-' + rptName : ''), resolve);
|
|
@@ -398,7 +405,7 @@ const rptCustomObj = (function () {
|
|
|
for (const m of material) {
|
|
|
m.checked = this.checked;
|
|
|
}
|
|
|
- })
|
|
|
+ });
|
|
|
};
|
|
|
const init = function (cDefine, sfData, cSelect, rptName, resolve = null) {
|
|
|
stageFlow = sfData;
|