@fluxhub/fluxhub-lib 10.0.405 → 10.0.406

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.
@@ -23405,8 +23405,7 @@ class dati_aggiuntivi_v2 {
23405
23405
  this.resp_b(true);
23406
23406
  return;
23407
23407
  }
23408
- console.log('this.transizione_info.create_ver ', this.transizione_info.create_ver);
23409
- this.exec_wkf(o, this.nlevel, result.arrsel, result.nota);
23408
+ this.exec_wkf(o, this.nlevel, result.arrsel, result.nota, this.transizione_info.create_ver);
23410
23409
  });
23411
23410
  }
23412
23411
  else {
@@ -23441,8 +23440,7 @@ class dati_aggiuntivi_v2 {
23441
23440
  this.resp_b(true);
23442
23441
  return;
23443
23442
  }
23444
- console.log('this.transizione_info.create_ver ', this.transizione_info.create_ver);
23445
- this.exec_wkf(o, this.nlevel, arrAutori, result);
23443
+ this.exec_wkf(o, this.nlevel, arrAutori, result, this.transizione_info.create_ver);
23446
23444
  });
23447
23445
  }
23448
23446
  /*
@@ -23524,15 +23522,19 @@ class dati_aggiuntivi_v2 {
23524
23522
  });
23525
23523
  }*/
23526
23524
  }
23527
- exec_wkf(trans, liv, arrdest, comm) {
23528
- console.log(trans, liv, arrdest, comm);
23525
+ exec_wkf(trans, liv, arrdest, comm, crea_ver = false) {
23526
+ if (crea_ver == null)
23527
+ crea_ver = false;
23529
23528
  this.dialogRef_ww = this.m_dialog.open(fh_win_wait, {
23530
23529
  disableClose: true, data: { label: 'Attendere' }
23531
23530
  });
23532
23531
  this.ttw = 0;
23533
23532
  let fs = new FSInput();
23534
23533
  fs.command = "exec_app";
23535
- fs.p1 = 'exec_wkf';
23534
+ if (!crea_ver)
23535
+ fs.p1 = 'exec_wkf';
23536
+ else
23537
+ fs.p1 = 'create_ver';
23536
23538
  fs.p2 = JSON.stringify({
23537
23539
  transizione: trans,
23538
23540
  destinatari: arrdest,