@fluxhub/fluxhub-lib 10.0.756 → 10.0.758

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.
@@ -1814,7 +1814,7 @@
1814
1814
  if (this.force_en)
1815
1815
  this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Attachment Description', this.m_p_system_type, this.m_programma_da_eseguire);
1816
1816
  else
1817
- this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, 'Descrizione Allegato', this.m_p_system_type, this.m_programma_da_eseguire);
1817
+ this.upc.init(this.App, this.K, this.m_p_cod_doc, this.m_p_section, this.tsr.instant('Descrizione Allegato'), this.m_p_system_type, this.m_programma_da_eseguire);
1818
1818
  this.b_initt = true;
1819
1819
  this.ref_allegato();
1820
1820
  };
@@ -23501,7 +23501,7 @@
23501
23501
  " non presenta utenti partecipanti validi", 1);
23502
23502
  return;
23503
23503
  }
23504
- if (this.transizione_info.manual_assignment == 1) {
23504
+ if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1) {
23505
23505
  var att_autor_1 = [];
23506
23506
  //console.log('this.m_obj.creatore ',this.m_obj.creatore);
23507
23507
  if (this.m_obj.creatore != null)
@@ -23521,6 +23521,7 @@
23521
23521
  }
23522
23522
  return 0;
23523
23523
  });
23524
+ var arr_aut_all_1 = JSON.parse(JSON.stringify(arrAutori));
23524
23525
  var dialogRef = this.m_dialog.open(win_assegna_v2, {
23525
23526
  disableClose: true,
23526
23527
  data: {
@@ -23530,6 +23531,7 @@
23530
23531
  comm_notrequired: o.comments_opt,
23531
23532
  utenti: arrAutori,
23532
23533
  user_sel: o.pre_assegna_req == 0 ? [] : att_autor_1,
23534
+ pre_assegna_man: o.pre_assegna_man == 1
23533
23535
  },
23534
23536
  });
23535
23537
  dialogRef.afterClosed().subscribe(function (result) {
@@ -23539,7 +23541,10 @@
23539
23541
  _this.update_status(true, true, null, null, 5);
23540
23542
  return;
23541
23543
  }
23542
- _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver, null);
23544
+ if (o.pre_assegna_man != 1)
23545
+ _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver, null);
23546
+ else
23547
+ _this.exec_wkf(o, _this.nlevel, arr_aut_all_1, result.nota, _this.transizione_info.create_ver, result.arrsel);
23543
23548
  });
23544
23549
  }
23545
23550
  else {
@@ -23549,7 +23554,7 @@
23549
23554
  v.nc = v.value.split("*").join("");
23550
23555
  });
23551
23556
  var arr_aut_1 = [];
23552
- var arr_aut_all_1 = JSON.parse(JSON.stringify(arrAutori));
23557
+ var arr_aut_all_2 = JSON.parse(JSON.stringify(arrAutori));
23553
23558
  var b_f_1 = false;
23554
23559
  arrAutori.map(function (v) {
23555
23560
  if (v.default_value != null)
@@ -23594,7 +23599,7 @@
23594
23599
  _this.update_status(true, true, null, null, 7);
23595
23600
  return;
23596
23601
  }
23597
- _this.exec_wkf(o, _this.nlevel, arrAutori, result, _this.transizione_info.create_ver, arr_aut_all_1);
23602
+ _this.exec_wkf(o, _this.nlevel, arrAutori, result, _this.transizione_info.create_ver, arr_aut_all_2);
23598
23603
  });
23599
23604
  }
23600
23605
  /*
@@ -23903,6 +23908,7 @@
23903
23908
  dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm, crea_ver, assegnati_paralleli) {
23904
23909
  var _this = this;
23905
23910
  if (crea_ver === void 0) { crea_ver = false; }
23911
+ console.log('exec_wkf trans ', trans, ' liv ', liv, ' arrdest ', arrdest, ' comm ', comm, ' crea_ver ', crea_ver, ' assegnati_paralleli ', assegnati_paralleli);
23906
23912
  var dev_mode = false;
23907
23913
  if (this.app_s.dev_mode != null)
23908
23914
  if (this.app_s.dev_mode == "1")