@fluxhub/fluxhub-lib 10.0.699 → 10.0.701
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 +23 -14
- 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_v2/wkfdatiaggiuntivi.js +24 -15
- package/fesm2015/fluxhub-fluxhub-lib.js +23 -14
- 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 -2
- package/package.json +1 -1
|
@@ -24212,7 +24212,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24212
24212
|
this.limite_salto_after = -1;
|
|
24213
24213
|
this.transizione_info = {};
|
|
24214
24214
|
this.respingi_enabled = false;
|
|
24215
|
-
this.
|
|
24215
|
+
this.b_assengna_a = false;
|
|
24216
24216
|
this.ttw = 0;
|
|
24217
24217
|
this.email_bloccate = false;
|
|
24218
24218
|
this.oper = "";
|
|
@@ -24393,8 +24393,8 @@ class dati_aggiuntivi_v2 {
|
|
|
24393
24393
|
if (this.m_obj.assegnati_paralleli != null)
|
|
24394
24394
|
if (this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
24395
24395
|
if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
|
|
24396
|
-
this.
|
|
24397
|
-
this.update_status(true, null, this.in_carico, this.
|
|
24396
|
+
this.b_assengna_a = true;
|
|
24397
|
+
this.update_status(true, null, this.in_carico, this.b_assengna_a, 1);
|
|
24398
24398
|
this.m_obj.autori = this.app_s.user;
|
|
24399
24399
|
let p = new QParam();
|
|
24400
24400
|
p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
|
|
@@ -24940,15 +24940,15 @@ class dati_aggiuntivi_v2 {
|
|
|
24940
24940
|
if (this.m_obj.autori.split(',').length != 1)
|
|
24941
24941
|
this.in_carico = true;
|
|
24942
24942
|
console.log(this.m_obj.autori, this.in_carico);
|
|
24943
|
-
this.
|
|
24943
|
+
this.b_assengna_a = false;
|
|
24944
24944
|
if (this.m_obj.assegnati_paralleli != null)
|
|
24945
24945
|
if (this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
24946
24946
|
if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
|
|
24947
|
-
this.
|
|
24948
|
-
// console.log('this.m_obj.autori ',this.m_obj.autori, this.in_carico, this.
|
|
24949
|
-
this.update_status(b_edit, false, this.in_carico, this.
|
|
24947
|
+
this.b_assengna_a = true;
|
|
24948
|
+
// console.log('this.m_obj.autori ',this.m_obj.autori, this.in_carico, this.b_assengna_a);
|
|
24949
|
+
this.update_status(b_edit, false, this.in_carico, this.b_assengna_a, 18);
|
|
24950
24950
|
if (this.respingi_enabled)
|
|
24951
|
-
this.update_status(b_edit, true, this.in_carico, this.
|
|
24951
|
+
this.update_status(b_edit, true, this.in_carico, this.b_assengna_a, 19);
|
|
24952
24952
|
let p = new QParam();
|
|
24953
24953
|
p.sql = "UPDATE_WKF_DOC_AUTHOR";
|
|
24954
24954
|
p.values = [this.id_applicativo, this.id_documento, this.m_obj.autori, this.m_obj.pers_int];
|
|
@@ -24961,7 +24961,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24961
24961
|
types: ['string', 'string', 'string', 'string', 'string'], names: [] }).subscribe((data) => {
|
|
24962
24962
|
});
|
|
24963
24963
|
if (result.op == 'C')
|
|
24964
|
-
this.update_status(true, this.respingi_enabled, this.in_carico, this.
|
|
24964
|
+
this.update_status(true, this.respingi_enabled, this.in_carico, this.b_assengna_a, 18);
|
|
24965
24965
|
/* else
|
|
24966
24966
|
this.sendEMail_ex(
|
|
24967
24967
|
this.user_idp,
|
|
@@ -25447,8 +25447,17 @@ class dati_aggiuntivi_v2 {
|
|
|
25447
25447
|
if (this.m_obj.assegnati_paralleli != null)
|
|
25448
25448
|
if (this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
25449
25449
|
if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
|
|
25450
|
-
this.
|
|
25451
|
-
this.
|
|
25450
|
+
this.b_assengna_a = true;
|
|
25451
|
+
this.in_carico = false;
|
|
25452
|
+
if (this.b_assengna_a) {
|
|
25453
|
+
if (this.m_obj.autori == null)
|
|
25454
|
+
this.in_carico = true;
|
|
25455
|
+
else if (this.m_obj.autori == '')
|
|
25456
|
+
this.in_carico = true;
|
|
25457
|
+
else if (this.m_obj.autori.split(',').length != 1)
|
|
25458
|
+
this.in_carico = true;
|
|
25459
|
+
}
|
|
25460
|
+
this.update_status(false, null, this.b_assengna_a && this.in_carico, this.b_assengna_a, 14);
|
|
25452
25461
|
this.save_to_app_state();
|
|
25453
25462
|
let p = new QParam();
|
|
25454
25463
|
p.sql = "SELECT_WLIVELLIV2_2";
|
|
@@ -25982,11 +25991,11 @@ class dati_aggiuntivi_v2 {
|
|
|
25982
25991
|
if (this.m_obj.assegnati_paralleli != null)
|
|
25983
25992
|
if (this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
25984
25993
|
if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
|
|
25985
|
-
this.
|
|
25994
|
+
this.b_assengna_a = true;
|
|
25986
25995
|
// }
|
|
25987
|
-
this.update_status(true, false, this.in_carico, this.
|
|
25996
|
+
this.update_status(true, false, this.in_carico, this.b_assengna_a, 16);
|
|
25988
25997
|
if (this.respingi_enabled)
|
|
25989
|
-
this.update_status(null, true, this.in_carico, this.
|
|
25998
|
+
this.update_status(null, true, this.in_carico, this.b_assengna_a, 17);
|
|
25990
25999
|
}
|
|
25991
26000
|
this.r_count();
|
|
25992
26001
|
this.s_uto = '';
|