@fluxhub/fluxhub-lib 1.0.289 → 1.0.290
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 +19 -20
- 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 +5 -6
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +20 -21
- package/fesm2015/fluxhub-fluxhub-lib.js +5 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +20 -21
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -16492,10 +16492,8 @@
|
|
|
16492
16492
|
}
|
|
16493
16493
|
if (this.clevel == null)
|
|
16494
16494
|
for (var i = 0; i < this.livs.length; i++) {
|
|
16495
|
-
console.log(this.livs[i]);
|
|
16496
16495
|
if (this.livs[i].livello == liv) {
|
|
16497
16496
|
if (this.user_idp.toUpperCase() == this.livs[i].idp.toUpperCase() || this.livs[i].gruppo_parallelo == '*ALLUSERS') {
|
|
16498
|
-
console.log(this.c_canale + " " + this.livs[i].gruppo_parallelo);
|
|
16499
16497
|
if (this.livs[i].notifica == 0 && (this.c_canale == "" || this.livs[i].gruppo_parallelo == "" || this.c_canale == this.livs[i].gruppo_parallelo || this.livs[i].gruppo_parallelo == '*ALLUSERS')) {
|
|
16500
16498
|
this.clevel = this.livs[i];
|
|
16501
16499
|
break;
|
|
@@ -16630,10 +16628,11 @@
|
|
|
16630
16628
|
var cliv = 100000;
|
|
16631
16629
|
liv = this.clevel.livello;
|
|
16632
16630
|
console.log('liv: ' + liv);
|
|
16633
|
-
for (var
|
|
16634
|
-
if (liv == 0 || (liv < this.livs[
|
|
16635
|
-
|
|
16636
|
-
|
|
16631
|
+
for (var i_1 = 0; i_1 < this.livs.length; i_1++)
|
|
16632
|
+
if (liv == 0 || (liv < this.livs[i_1].livello && cliv > this.livs[i_1].livello)) {
|
|
16633
|
+
console.log('calcolo next ', this.nlevel);
|
|
16634
|
+
this.nlevel = this.livs[i_1];
|
|
16635
|
+
cliv = this.livs[i_1].livello;
|
|
16637
16636
|
}
|
|
16638
16637
|
liv = this.wkf_rule(cliv);
|
|
16639
16638
|
/** @type {?} */
|
|
@@ -16715,10 +16714,10 @@
|
|
|
16715
16714
|
this.app_s.getState().wkf_doc_info.title = 'Avanzamento';
|
|
16716
16715
|
/** @type {?} */
|
|
16717
16716
|
var sp = "";
|
|
16718
|
-
for (var
|
|
16717
|
+
for (var i_2 = 0; i_2 < arrAutori.length; i_2++) {
|
|
16719
16718
|
if (sp != '')
|
|
16720
16719
|
sp = sp + ';';
|
|
16721
|
-
sp = sp + arrAutori[
|
|
16720
|
+
sp = sp + arrAutori[i_2].nc;
|
|
16722
16721
|
}
|
|
16723
16722
|
this.app_s.getState().wkf_doc_info.utenti = "";
|
|
16724
16723
|
if (this.nlevel.livello < 900)
|
|
@@ -16901,14 +16900,14 @@
|
|
|
16901
16900
|
}
|
|
16902
16901
|
/** @type {?} */
|
|
16903
16902
|
var ccan = "$$";
|
|
16904
|
-
for (var
|
|
16905
|
-
if (this.livs[
|
|
16903
|
+
for (var i_3 = 0; i_3 < this.livs.length; i_3++) {
|
|
16904
|
+
if (this.livs[i_3].livello == this.clevel.livello && this.livs[i_3].idp == this.app_s.user) {
|
|
16906
16905
|
if (ccan != "$$") {
|
|
16907
16906
|
ccan = "$$";
|
|
16908
16907
|
break;
|
|
16909
16908
|
}
|
|
16910
16909
|
else
|
|
16911
|
-
ccan = this.livs[
|
|
16910
|
+
ccan = this.livs[i_3].gruppo_parallelo;
|
|
16912
16911
|
}
|
|
16913
16912
|
}
|
|
16914
16913
|
/** @type {?} */
|
|
@@ -16919,7 +16918,7 @@
|
|
|
16919
16918
|
a = new Array(this.m_autori, "", this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, ccan);
|
|
16920
16919
|
/** @type {?} */
|
|
16921
16920
|
var t = new Array();
|
|
16922
|
-
for (var
|
|
16921
|
+
for (var i_4 = 0; i_4 < a.length; i_4++)
|
|
16923
16922
|
t.push('string');
|
|
16924
16923
|
this.m_crea_att = 1;
|
|
16925
16924
|
if (this.m_liv >= 900)
|
|
@@ -17049,11 +17048,11 @@
|
|
|
17049
17048
|
if (data.result_msg == "OK") {
|
|
17050
17049
|
/** @type {?} */
|
|
17051
17050
|
var lista_p = _this.user_idp;
|
|
17052
|
-
for (var
|
|
17053
|
-
if (lista_p.indexOf(data.result_data[
|
|
17054
|
-
console.log('username:', data.result_data[
|
|
17051
|
+
for (var i_5 = 0; i_5 < data.result_data.length; i_5++)
|
|
17052
|
+
if (lista_p.indexOf(data.result_data[i_5].username) == -1) {
|
|
17053
|
+
console.log('username:', data.result_data[i_5].username);
|
|
17055
17054
|
lista_p += ',';
|
|
17056
|
-
lista_p += data.result_data[
|
|
17055
|
+
lista_p += data.result_data[i_5].username;
|
|
17057
17056
|
}
|
|
17058
17057
|
console.log('lista_p ', lista_p);
|
|
17059
17058
|
_this.sendEMail_ex(_this.user_idp, lista_p, _this.app_info.descrizione_breve + ", Il documento numero: " + _this.m_obj.codice + " è passato allo STEP: " + _this.nlevel.descri_livello + " " + _this.getTitle(), _this.m_statox + "<br>" + _this.getDescri() + comm_1, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
|
|
@@ -17074,11 +17073,11 @@
|
|
|
17074
17073
|
if (data.result_msg == "OK") {
|
|
17075
17074
|
/** @type {?} */
|
|
17076
17075
|
var lista_p = _this.user_idp;
|
|
17077
|
-
for (var
|
|
17078
|
-
if (lista_p.indexOf(data.result_data[
|
|
17079
|
-
console.log('username:', data.result_data[
|
|
17076
|
+
for (var i_6 = 0; i_6 < data.result_data.length; i_6++)
|
|
17077
|
+
if (lista_p.indexOf(data.result_data[i_6].username) == -1) {
|
|
17078
|
+
console.log('username:', data.result_data[i_6].username);
|
|
17080
17079
|
lista_p += ',';
|
|
17081
|
-
lista_p += data.result_data[
|
|
17080
|
+
lista_p += data.result_data[i_6].username;
|
|
17082
17081
|
}
|
|
17083
17082
|
_this.sendEMail_ex(_this.user_idp, lista_p, _this.app_info.descrizione_breve + ", Il documento numero: " + _this.m_obj.codice + " è passato allo STEP: " + _this.nlevel.descri_livello + " " + _this.getTitle(), _this.m_statox + "<br>" + _this.getDescri() + comm_1, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
|
|
17084
17083
|
}
|