@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.
@@ -2964,7 +2964,7 @@ class FHUploadPanelS3Component {
2964
2964
  if (this.force_en)
2965
2965
  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);
2966
2966
  else
2967
- 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);
2967
+ 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);
2968
2968
  this.b_initt = true;
2969
2969
  this.ref_allegato();
2970
2970
  }
@@ -24733,7 +24733,7 @@ class dati_aggiuntivi_v2 {
24733
24733
  " non presenta utenti partecipanti validi", 1);
24734
24734
  return;
24735
24735
  }
24736
- if (this.transizione_info.manual_assignment == 1) {
24736
+ if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1) {
24737
24737
  let att_autor = [];
24738
24738
  //console.log('this.m_obj.creatore ',this.m_obj.creatore);
24739
24739
  if (this.m_obj.creatore != null)
@@ -24753,6 +24753,7 @@ class dati_aggiuntivi_v2 {
24753
24753
  }
24754
24754
  return 0;
24755
24755
  });
24756
+ let arr_aut_all = JSON.parse(JSON.stringify(arrAutori));
24756
24757
  let dialogRef = this.m_dialog.open(win_assegna_v2, {
24757
24758
  disableClose: true,
24758
24759
  data: {
@@ -24762,6 +24763,7 @@ class dati_aggiuntivi_v2 {
24762
24763
  comm_notrequired: o.comments_opt,
24763
24764
  utenti: arrAutori,
24764
24765
  user_sel: o.pre_assegna_req == 0 ? [] : att_autor,
24766
+ pre_assegna_man: o.pre_assegna_man == 1
24765
24767
  },
24766
24768
  });
24767
24769
  dialogRef.afterClosed().subscribe((result) => {
@@ -24771,7 +24773,10 @@ class dati_aggiuntivi_v2 {
24771
24773
  this.update_status(true, true, null, null, 5);
24772
24774
  return;
24773
24775
  }
24774
- this.exec_wkf(o, this.nlevel, result.arrsel, result.nota, this.transizione_info.create_ver, null);
24776
+ if (o.pre_assegna_man != 1)
24777
+ this.exec_wkf(o, this.nlevel, result.arrsel, result.nota, this.transizione_info.create_ver, null);
24778
+ else
24779
+ this.exec_wkf(o, this.nlevel, arr_aut_all, result.nota, this.transizione_info.create_ver, result.arrsel);
24775
24780
  });
24776
24781
  }
24777
24782
  else {
@@ -25132,6 +25137,7 @@ class dati_aggiuntivi_v2 {
25132
25137
  });
25133
25138
  }
25134
25139
  exec_wkf(trans, liv, arrdest, comm, crea_ver = false, assegnati_paralleli) {
25140
+ console.log('exec_wkf trans ', trans, ' liv ', liv, ' arrdest ', arrdest, ' comm ', comm, ' crea_ver ', crea_ver, ' assegnati_paralleli ', assegnati_paralleli);
25135
25141
  let dev_mode = false;
25136
25142
  if (this.app_s.dev_mode != null)
25137
25143
  if (this.app_s.dev_mode == "1")