@fluxhub/fluxhub-lib 10.0.405 → 10.0.407
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 +13 -8
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine_v2/win_info_doc.js +4 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +10 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +1 -1
- package/package.json +1 -1
|
@@ -21364,7 +21364,9 @@ class win_info_doc_v2 {
|
|
|
21364
21364
|
}
|
|
21365
21365
|
load_info(data) {
|
|
21366
21366
|
console.log('data ', data);
|
|
21367
|
-
|
|
21367
|
+
if (data.v == null)
|
|
21368
|
+
data.v = 1;
|
|
21369
|
+
this.codice = data.codice + '/' + data.v;
|
|
21368
21370
|
this.data_richiesta = data.data_richiesta;
|
|
21369
21371
|
this.richiedente = data.richiedente;
|
|
21370
21372
|
this.stato = data.stato;
|
|
@@ -23405,8 +23407,7 @@ class dati_aggiuntivi_v2 {
|
|
|
23405
23407
|
this.resp_b(true);
|
|
23406
23408
|
return;
|
|
23407
23409
|
}
|
|
23408
|
-
|
|
23409
|
-
this.exec_wkf(o, this.nlevel, result.arrsel, result.nota);
|
|
23410
|
+
this.exec_wkf(o, this.nlevel, result.arrsel, result.nota, this.transizione_info.create_ver);
|
|
23410
23411
|
});
|
|
23411
23412
|
}
|
|
23412
23413
|
else {
|
|
@@ -23441,8 +23442,7 @@ class dati_aggiuntivi_v2 {
|
|
|
23441
23442
|
this.resp_b(true);
|
|
23442
23443
|
return;
|
|
23443
23444
|
}
|
|
23444
|
-
|
|
23445
|
-
this.exec_wkf(o, this.nlevel, arrAutori, result);
|
|
23445
|
+
this.exec_wkf(o, this.nlevel, arrAutori, result, this.transizione_info.create_ver);
|
|
23446
23446
|
});
|
|
23447
23447
|
}
|
|
23448
23448
|
/*
|
|
@@ -23524,15 +23524,19 @@ class dati_aggiuntivi_v2 {
|
|
|
23524
23524
|
});
|
|
23525
23525
|
}*/
|
|
23526
23526
|
}
|
|
23527
|
-
exec_wkf(trans, liv, arrdest, comm) {
|
|
23528
|
-
|
|
23527
|
+
exec_wkf(trans, liv, arrdest, comm, crea_ver = false) {
|
|
23528
|
+
if (crea_ver == null)
|
|
23529
|
+
crea_ver = false;
|
|
23529
23530
|
this.dialogRef_ww = this.m_dialog.open(fh_win_wait, {
|
|
23530
23531
|
disableClose: true, data: { label: 'Attendere' }
|
|
23531
23532
|
});
|
|
23532
23533
|
this.ttw = 0;
|
|
23533
23534
|
let fs = new FSInput();
|
|
23534
23535
|
fs.command = "exec_app";
|
|
23535
|
-
|
|
23536
|
+
if (!crea_ver)
|
|
23537
|
+
fs.p1 = 'exec_wkf';
|
|
23538
|
+
else
|
|
23539
|
+
fs.p1 = 'create_ver';
|
|
23536
23540
|
fs.p2 = JSON.stringify({
|
|
23537
23541
|
transizione: trans,
|
|
23538
23542
|
destinatari: arrdest,
|