@fluxhub/fluxhub-lib 10.0.700 → 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 +22 -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_v2/wkfdatiaggiuntivi.js +23 -21
- package/fesm2015/fluxhub-fluxhub-lib.js +22 -20
- 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
|
@@ -22802,7 +22802,7 @@
|
|
|
22802
22802
|
this.limite_salto_after = -1;
|
|
22803
22803
|
this.transizione_info = {};
|
|
22804
22804
|
this.respingi_enabled = false;
|
|
22805
|
-
this.
|
|
22805
|
+
this.b_assengna_a = false;
|
|
22806
22806
|
this.ttw = 0;
|
|
22807
22807
|
this.email_bloccate = false;
|
|
22808
22808
|
this.oper = "";
|
|
@@ -22986,8 +22986,8 @@
|
|
|
22986
22986
|
if (this.m_obj.assegnati_paralleli != null)
|
|
22987
22987
|
if (this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
22988
22988
|
if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
|
|
22989
|
-
this.
|
|
22990
|
-
this.update_status(true, null, this.in_carico, this.
|
|
22989
|
+
this.b_assengna_a = true;
|
|
22990
|
+
this.update_status(true, null, this.in_carico, this.b_assengna_a, 1);
|
|
22991
22991
|
this.m_obj.autori = this.app_s.user;
|
|
22992
22992
|
var p = new QParam();
|
|
22993
22993
|
p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
|
|
@@ -23537,15 +23537,15 @@
|
|
|
23537
23537
|
if (_this.m_obj.autori.split(',').length != 1)
|
|
23538
23538
|
_this.in_carico = true;
|
|
23539
23539
|
console.log(_this.m_obj.autori, _this.in_carico);
|
|
23540
|
-
_this.
|
|
23540
|
+
_this.b_assengna_a = false;
|
|
23541
23541
|
if (_this.m_obj.assegnati_paralleli != null)
|
|
23542
23542
|
if (_this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
23543
23543
|
if (_this.m_obj.assegnati_paralleli.indexOf(_this.app_s.user) > -1)
|
|
23544
|
-
_this.
|
|
23545
|
-
// console.log('this.m_obj.autori ',this.m_obj.autori, this.in_carico, this.
|
|
23546
|
-
_this.update_status(b_edit_1, false, _this.in_carico, _this.
|
|
23544
|
+
_this.b_assengna_a = true;
|
|
23545
|
+
// console.log('this.m_obj.autori ',this.m_obj.autori, this.in_carico, this.b_assengna_a);
|
|
23546
|
+
_this.update_status(b_edit_1, false, _this.in_carico, _this.b_assengna_a, 18);
|
|
23547
23547
|
if (_this.respingi_enabled)
|
|
23548
|
-
_this.update_status(b_edit_1, true, _this.in_carico, _this.
|
|
23548
|
+
_this.update_status(b_edit_1, true, _this.in_carico, _this.b_assengna_a, 19);
|
|
23549
23549
|
var p = new QParam();
|
|
23550
23550
|
p.sql = "UPDATE_WKF_DOC_AUTHOR";
|
|
23551
23551
|
p.values = [_this.id_applicativo, _this.id_documento, _this.m_obj.autori, _this.m_obj.pers_int];
|
|
@@ -23558,7 +23558,7 @@
|
|
|
23558
23558
|
types: ['string', 'string', 'string', 'string', 'string'], names: [] }).subscribe(function (data) {
|
|
23559
23559
|
});
|
|
23560
23560
|
if (result.op == 'C')
|
|
23561
|
-
_this.update_status(true, _this.respingi_enabled, _this.in_carico, _this.
|
|
23561
|
+
_this.update_status(true, _this.respingi_enabled, _this.in_carico, _this.b_assengna_a, 18);
|
|
23562
23562
|
/* else
|
|
23563
23563
|
this.sendEMail_ex(
|
|
23564
23564
|
this.user_idp,
|
|
@@ -24064,15 +24064,17 @@
|
|
|
24064
24064
|
if (this.m_obj.assegnati_paralleli != null)
|
|
24065
24065
|
if (this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
24066
24066
|
if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
|
|
24067
|
-
this.
|
|
24067
|
+
this.b_assengna_a = true;
|
|
24068
24068
|
this.in_carico = false;
|
|
24069
|
-
if (this.
|
|
24070
|
-
this.
|
|
24071
|
-
|
|
24072
|
-
this.
|
|
24073
|
-
|
|
24074
|
-
this.
|
|
24075
|
-
|
|
24069
|
+
if (this.b_assengna_a) {
|
|
24070
|
+
if (this.m_obj.autori == null)
|
|
24071
|
+
this.in_carico = true;
|
|
24072
|
+
else if (this.m_obj.autori == '')
|
|
24073
|
+
this.in_carico = true;
|
|
24074
|
+
else if (this.m_obj.autori.split(',').length != 1)
|
|
24075
|
+
this.in_carico = true;
|
|
24076
|
+
}
|
|
24077
|
+
this.update_status(false, null, this.b_assengna_a && this.in_carico, this.b_assengna_a, 14);
|
|
24076
24078
|
this.save_to_app_state();
|
|
24077
24079
|
var p = new QParam();
|
|
24078
24080
|
p.sql = "SELECT_WLIVELLIV2_2";
|
|
@@ -24616,11 +24618,11 @@
|
|
|
24616
24618
|
if (this.m_obj.assegnati_paralleli != null)
|
|
24617
24619
|
if (this.m_obj.assegnati_paralleli.split(',').length != 1)
|
|
24618
24620
|
if (this.m_obj.assegnati_paralleli.indexOf(this.app_s.user) > -1)
|
|
24619
|
-
this.
|
|
24621
|
+
this.b_assengna_a = true;
|
|
24620
24622
|
// }
|
|
24621
|
-
this.update_status(true, false, this.in_carico, this.
|
|
24623
|
+
this.update_status(true, false, this.in_carico, this.b_assengna_a, 16);
|
|
24622
24624
|
if (this.respingi_enabled)
|
|
24623
|
-
this.update_status(null, true, this.in_carico, this.
|
|
24625
|
+
this.update_status(null, true, this.in_carico, this.b_assengna_a, 17);
|
|
24624
24626
|
}
|
|
24625
24627
|
this.r_count();
|
|
24626
24628
|
this.s_uto = '';
|