@fluxhub/fluxhub-lib 10.0.673 → 10.0.675
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 +39 -23
- 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 +40 -24
- package/fesm2015/fluxhub-fluxhub-lib.js +39 -23
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -23471,15 +23471,20 @@
|
|
|
23471
23471
|
console.log(' result.arrsel ', result.arrsel);
|
|
23472
23472
|
var arr_new_arr_1 = '';
|
|
23473
23473
|
_this.m_obj.autori = '';
|
|
23474
|
+
_this.m_obj.pers_int = '';
|
|
23474
23475
|
var b_edit_1 = false;
|
|
23475
23476
|
result.arrsel.map(function (v) {
|
|
23476
23477
|
if (arr_new_arr_1 != '')
|
|
23477
23478
|
arr_new_arr_1 += ',';
|
|
23478
23479
|
arr_new_arr_1 += v.username;
|
|
23479
23480
|
if (_this.m_obj.autori.indexOf(v.username) == -1) {
|
|
23481
|
+
console.log('VVV ', v);
|
|
23480
23482
|
if (_this.m_obj.autori != '')
|
|
23481
23483
|
_this.m_obj.autori = _this.m_obj.autori + ',';
|
|
23482
23484
|
_this.m_obj.autori = _this.m_obj.autori + v.username;
|
|
23485
|
+
if (_this.m_obj.pers_int != '')
|
|
23486
|
+
_this.m_obj.pers_int = _this.m_obj.pers_int + ',';
|
|
23487
|
+
_this.m_obj.pers_int = _this.m_obj.pers_int + v.cognome + ' ' + v.nome;
|
|
23483
23488
|
}
|
|
23484
23489
|
if (v.username == _this.app_info.user)
|
|
23485
23490
|
b_edit_1 = true;
|
|
@@ -23500,8 +23505,8 @@
|
|
|
23500
23505
|
_this.update_status(b_edit_1, true, _this.in_carico, _this.b_assenza_a, 19);
|
|
23501
23506
|
var p = new QParam();
|
|
23502
23507
|
p.sql = "UPDATE_WKF_DOC_AUTHOR";
|
|
23503
|
-
p.values = [_this.id_applicativo, _this.id_documento, _this.m_obj.autori];
|
|
23504
|
-
p.types = ["string", "string", "string"];
|
|
23508
|
+
p.values = [_this.id_applicativo, _this.id_documento, _this.m_obj.autori, _this.m_obj.pers_int];
|
|
23509
|
+
p.types = ["string", "string", "string", "string"];
|
|
23505
23510
|
_this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
23506
23511
|
if (data != null)
|
|
23507
23512
|
if (data.result_msg == "OK") {
|
|
@@ -23511,27 +23516,38 @@
|
|
|
23511
23516
|
});
|
|
23512
23517
|
if (result.op == 'C')
|
|
23513
23518
|
_this.update_status(true, _this.respingi_enabled, _this.in_carico, _this.b_assenza_a, 18);
|
|
23514
|
-
else
|
|
23515
|
-
|
|
23516
|
-
|
|
23517
|
-
|
|
23518
|
-
|
|
23519
|
-
|
|
23520
|
-
|
|
23521
|
-
|
|
23522
|
-
|
|
23523
|
-
|
|
23524
|
-
|
|
23525
|
-
|
|
23526
|
-
|
|
23527
|
-
|
|
23528
|
-
|
|
23529
|
-
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
|
|
23533
|
-
|
|
23534
|
-
|
|
23519
|
+
/* else
|
|
23520
|
+
this.sendEMail_ex(
|
|
23521
|
+
this.user_idp,
|
|
23522
|
+
arr_new_arr,
|
|
23523
|
+
this.app_info.descrizione_breve +
|
|
23524
|
+
", Ti è stato assegnato il documento numero: " +
|
|
23525
|
+
this.m_obj.codice +
|
|
23526
|
+
" " +
|
|
23527
|
+
this.getTitle() +
|
|
23528
|
+
" - " +
|
|
23529
|
+
this.getLvlDescri(String(this.m_liv), this.m_statox),
|
|
23530
|
+
"<br>Attività:" +
|
|
23531
|
+
this.getLvlDescri(String(this.m_liv), this.m_statox) +
|
|
23532
|
+
"<br>" +
|
|
23533
|
+
this.m_statox +
|
|
23534
|
+
"<br>" +
|
|
23535
|
+
this.getDescri(),
|
|
23536
|
+
this.id_applicativo,
|
|
23537
|
+
this.id_documento,
|
|
23538
|
+
this.app_info.COMPANY_SITE_ROOT +
|
|
23539
|
+
"#/" +
|
|
23540
|
+
this.app_info.modulo_swf +
|
|
23541
|
+
"/" +
|
|
23542
|
+
this.id_applicativo +
|
|
23543
|
+
"/" +
|
|
23544
|
+
this.id_documento +
|
|
23545
|
+
"/edit",
|
|
23546
|
+
this.m_obj.codice,
|
|
23547
|
+
"",
|
|
23548
|
+
true,
|
|
23549
|
+
"",false
|
|
23550
|
+
);*/ }
|
|
23535
23551
|
});
|
|
23536
23552
|
}
|
|
23537
23553
|
});
|