@fluxhub/fluxhub-lib 10.0.673 → 10.0.674

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