@fluxhub/fluxhub-lib 10.0.659 → 10.0.661
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/fluxhub-fluxhub-lib.umd.js +27 -9
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +28 -11
- package/fesm2015/fluxhub-fluxhub-lib.js +27 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +2 -4
- package/package.json +1 -1
|
@@ -24118,7 +24118,7 @@ win_assegna_a.propDecorators = {
|
|
|
24118
24118
|
};
|
|
24119
24119
|
|
|
24120
24120
|
class dati_aggiuntivi_v2 {
|
|
24121
|
-
constructor(app_s, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s, m_fileservice, tsr
|
|
24121
|
+
constructor(app_s, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s, m_fileservice, tsr) {
|
|
24122
24122
|
this.app_s = app_s;
|
|
24123
24123
|
this.m_dataService = m_dataService;
|
|
24124
24124
|
this.m_router = m_router;
|
|
@@ -24128,7 +24128,6 @@ class dati_aggiuntivi_v2 {
|
|
|
24128
24128
|
this.uti_s = uti_s;
|
|
24129
24129
|
this.m_fileservice = m_fileservice;
|
|
24130
24130
|
this.tsr = tsr;
|
|
24131
|
-
this._toastr = _toastr;
|
|
24132
24131
|
this.m_obj = {};
|
|
24133
24132
|
this.sort_field = "";
|
|
24134
24133
|
this.in_carico = false;
|
|
@@ -24658,7 +24657,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24658
24657
|
this.update_status(true, true, null, null, 5);
|
|
24659
24658
|
return;
|
|
24660
24659
|
}
|
|
24661
|
-
this.exec_wkf(o, this.nlevel, result.arrsel, result.nota, this.transizione_info.create_ver);
|
|
24660
|
+
this.exec_wkf(o, this.nlevel, result.arrsel, result.nota, this.transizione_info.create_ver, null);
|
|
24662
24661
|
});
|
|
24663
24662
|
}
|
|
24664
24663
|
else {
|
|
@@ -24667,7 +24666,24 @@ class dati_aggiuntivi_v2 {
|
|
|
24667
24666
|
if (v.nc == null)
|
|
24668
24667
|
v.nc = v.value.split('*').join('');
|
|
24669
24668
|
});
|
|
24670
|
-
|
|
24669
|
+
let arr_aut = [];
|
|
24670
|
+
let arr_aut_all = JSON.parse(JSON.stringify(arrAutori));
|
|
24671
|
+
let b_f = false;
|
|
24672
|
+
arrAutori.map((v) => {
|
|
24673
|
+
if (v.default_value != null)
|
|
24674
|
+
if (v.default_value == 1)
|
|
24675
|
+
b_f = true;
|
|
24676
|
+
});
|
|
24677
|
+
console.log('b_f ', b_f);
|
|
24678
|
+
if (b_f) {
|
|
24679
|
+
arrAutori.map((v) => {
|
|
24680
|
+
if (v.default_value != null)
|
|
24681
|
+
if (v.default_value == 1)
|
|
24682
|
+
arr_aut.push(v);
|
|
24683
|
+
});
|
|
24684
|
+
arrAutori = JSON.parse(JSON.stringify(arr_aut));
|
|
24685
|
+
}
|
|
24686
|
+
console.log('arrAutori ', arrAutori); //qui6
|
|
24671
24687
|
for (let i = 0; i < arrAutori.length; i++)
|
|
24672
24688
|
if (arrAutori[i].nc != null)
|
|
24673
24689
|
if (sp.indexOf(arrAutori[i].nc) == -1) {
|
|
@@ -24696,7 +24712,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24696
24712
|
this.update_status(true, true, null, null, 7);
|
|
24697
24713
|
return;
|
|
24698
24714
|
}
|
|
24699
|
-
this.exec_wkf(o, this.nlevel, arrAutori, result, this.transizione_info.create_ver);
|
|
24715
|
+
this.exec_wkf(o, this.nlevel, arrAutori, result, this.transizione_info.create_ver, arr_aut_all);
|
|
24700
24716
|
});
|
|
24701
24717
|
}
|
|
24702
24718
|
/*
|
|
@@ -24808,7 +24824,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24808
24824
|
dialogRef.afterClosed().subscribe(result => {
|
|
24809
24825
|
if (result) {
|
|
24810
24826
|
if (result.arrsel.lenght == 0) {
|
|
24811
|
-
this.
|
|
24827
|
+
this.alert("Impossibile riassegnare", 1);
|
|
24812
24828
|
return;
|
|
24813
24829
|
}
|
|
24814
24830
|
console.log(' result.arrsel ', result.arrsel);
|
|
@@ -24870,13 +24886,15 @@ class dati_aggiuntivi_v2 {
|
|
|
24870
24886
|
}
|
|
24871
24887
|
});
|
|
24872
24888
|
}
|
|
24873
|
-
exec_wkf(trans, liv, arrdest, comm, crea_ver = false) {
|
|
24889
|
+
exec_wkf(trans, liv, arrdest, comm, crea_ver = false, assegnati_paralleli) {
|
|
24874
24890
|
if (crea_ver == null)
|
|
24875
24891
|
crea_ver = false;
|
|
24876
24892
|
this.dialogRef_ww = this.m_dialog.open(fh_win_wait, {
|
|
24877
24893
|
disableClose: true, data: { label: this.tsr.instant('Attendere') }
|
|
24878
24894
|
});
|
|
24879
24895
|
this.ttw = 0;
|
|
24896
|
+
if (assegnati_paralleli == null)
|
|
24897
|
+
assegnati_paralleli = JSON.parse(JSON.stringify(arrdest));
|
|
24880
24898
|
let fs = new FSInput();
|
|
24881
24899
|
fs.command = "exec_app";
|
|
24882
24900
|
if (!crea_ver)
|
|
@@ -24887,6 +24905,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24887
24905
|
transizione: trans,
|
|
24888
24906
|
destinatari: arrdest,
|
|
24889
24907
|
commento: comm,
|
|
24908
|
+
assegnati_paralleli: assegnati_paralleli,
|
|
24890
24909
|
id_applicazione: this.id_applicativo,
|
|
24891
24910
|
id_documento: this.id_documento,
|
|
24892
24911
|
username: this.app_s.user,
|
|
@@ -26004,8 +26023,7 @@ dati_aggiuntivi_v2.ctorParameters = () => [
|
|
|
26004
26023
|
{ type: WkfService },
|
|
26005
26024
|
{ type: UtilityService },
|
|
26006
26025
|
{ type: FileService },
|
|
26007
|
-
{ type: TranslateService }
|
|
26008
|
-
{ type: ToastrService }
|
|
26026
|
+
{ type: TranslateService }
|
|
26009
26027
|
];
|
|
26010
26028
|
dati_aggiuntivi_v2.propDecorators = {
|
|
26011
26029
|
onResize: [{ type: HostListener, args: ["window:resize", ["event"],] }]
|