@fluxhub/fluxhub-lib 10.0.555 → 10.0.556
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 +21 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +22 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +2 -0
- package/package.json +1 -1
|
@@ -16738,6 +16738,7 @@ class dati_aggiuntivi {
|
|
|
16738
16738
|
this.all_c = 0;
|
|
16739
16739
|
this.comm_c = 0;
|
|
16740
16740
|
this.forza_canale = "";
|
|
16741
|
+
this.forza_canale_curr = "";
|
|
16741
16742
|
/*
|
|
16742
16743
|
public open_allegati(){
|
|
16743
16744
|
|
|
@@ -16850,6 +16851,7 @@ class dati_aggiuntivi {
|
|
|
16850
16851
|
doApprova() {
|
|
16851
16852
|
this.b_respingi = false;
|
|
16852
16853
|
this.over_canale_iniz();
|
|
16854
|
+
this.over_canale_curr();
|
|
16853
16855
|
let liv = 0;
|
|
16854
16856
|
this.nlevel = null;
|
|
16855
16857
|
if (this.m_obj.stato == 0) {
|
|
@@ -18009,6 +18011,7 @@ class dati_aggiuntivi {
|
|
|
18009
18011
|
this.livs = r;
|
|
18010
18012
|
this.apply_over_load();
|
|
18011
18013
|
this.over_canale_iniz();
|
|
18014
|
+
this.over_canale_curr();
|
|
18012
18015
|
if (this.m_obj.stato <= 10)
|
|
18013
18016
|
for (var i = 0; i < this.livs.length; i++)
|
|
18014
18017
|
if (this.livs[i].idp.toUpperCase() == this.user_idp.toUpperCase() ||
|
|
@@ -18074,6 +18077,24 @@ class dati_aggiuntivi {
|
|
|
18074
18077
|
this.m_obj.canale = this.forza_canale;
|
|
18075
18078
|
this.c_canale = this.forza_canale;
|
|
18076
18079
|
}
|
|
18080
|
+
over_canale_curr() {
|
|
18081
|
+
if (this.forza_canale_curr == "")
|
|
18082
|
+
return;
|
|
18083
|
+
if (this.m_obj.stato == null)
|
|
18084
|
+
return;
|
|
18085
|
+
let min_liv = 0;
|
|
18086
|
+
for (let i = 0; i < this.livs.length; i++)
|
|
18087
|
+
if (this.livs[i].livello == this.m_obj.stato) {
|
|
18088
|
+
min_liv = this.livs[i].livello;
|
|
18089
|
+
}
|
|
18090
|
+
for (let i = 0; i < this.livs.length; i++)
|
|
18091
|
+
if (this.livs[i].livello == min_liv) {
|
|
18092
|
+
this.livs[i].gruppo_parallelo = this.forza_canale_curr;
|
|
18093
|
+
}
|
|
18094
|
+
if (this.m_obj.stato < 20)
|
|
18095
|
+
this.m_obj.canale = this.forza_canale_curr;
|
|
18096
|
+
this.c_canale = this.forza_canale_curr;
|
|
18097
|
+
}
|
|
18077
18098
|
ck_canale_multiplo() {
|
|
18078
18099
|
let liv = 0;
|
|
18079
18100
|
let min_liv = 0;
|