@fluxhub/fluxhub-lib 10.0.392 → 10.0.394
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 +18 -7
- 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/wkfdatiaggiuntivi.js +18 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -6
- 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 +2 -0
- package/package.json +1 -1
|
@@ -22941,6 +22941,7 @@ class dati_aggiuntivi_v2 {
|
|
|
22941
22941
|
this.b_valid = true;
|
|
22942
22942
|
this.s_uto = "";
|
|
22943
22943
|
this.b_apprf = false;
|
|
22944
|
+
this.loaded = false;
|
|
22944
22945
|
setTimeout(() => {
|
|
22945
22946
|
let px = new QParam();
|
|
22946
22947
|
px.sql = "SELECT_ROLES_WKF_V2";
|
|
@@ -22983,6 +22984,7 @@ class dati_aggiuntivi_v2 {
|
|
|
22983
22984
|
}
|
|
22984
22985
|
});
|
|
22985
22986
|
});
|
|
22987
|
+
this.init_engine();
|
|
22986
22988
|
}
|
|
22987
22989
|
hasRole(s, b_check_admin = true) {
|
|
22988
22990
|
if (this.wkf_users_roles === null)
|
|
@@ -23834,6 +23836,10 @@ class dati_aggiuntivi_v2 {
|
|
|
23834
23836
|
}
|
|
23835
23837
|
}
|
|
23836
23838
|
load_document() {
|
|
23839
|
+
if (this.app_info == null) {
|
|
23840
|
+
setTimeout(() => { this.load_document(); }, 200);
|
|
23841
|
+
return;
|
|
23842
|
+
}
|
|
23837
23843
|
console.log('start load_document', new Date());
|
|
23838
23844
|
let p = new QParam();
|
|
23839
23845
|
p.sql = "SELECT_WKF_DOCUMENT_NOREP";
|
|
@@ -24313,7 +24319,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24313
24319
|
this.btnAssegna_label = "Assegna";
|
|
24314
24320
|
this.btnRespingi_label = "RESPINGI";
|
|
24315
24321
|
this.uti_s.set_home_title(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
24316
|
-
this.
|
|
24322
|
+
this.reset_form_v(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
24317
24323
|
this.reset_counters_int(0, 0);
|
|
24318
24324
|
/*
|
|
24319
24325
|
dati_aggiuntivi.id_doc=id_documento;
|
|
@@ -24404,11 +24410,18 @@ class dati_aggiuntivi_v2 {
|
|
|
24404
24410
|
this.m_obj.codice + "/" + this.m_obj.v +
|
|
24405
24411
|
" - " +
|
|
24406
24412
|
this.m_obj.stat_stato);
|
|
24407
|
-
this.
|
|
24413
|
+
this.reset_form_v(this.app_info.descrizione_breve +
|
|
24408
24414
|
" " +
|
|
24409
24415
|
this.m_obj.codice +
|
|
24410
24416
|
" - " +
|
|
24411
|
-
this.m_obj.stat_stato);
|
|
24417
|
+
this.m_obj.stat_stato);
|
|
24418
|
+
//+' ('+s_uto+')');
|
|
24419
|
+
}
|
|
24420
|
+
reset_form_v(t) {
|
|
24421
|
+
if (!this.loaded) {
|
|
24422
|
+
setTimeout(() => { this.reset_form_v(t); return; }, 500);
|
|
24423
|
+
}
|
|
24424
|
+
this.reset_form(t);
|
|
24412
24425
|
}
|
|
24413
24426
|
revisione() {
|
|
24414
24427
|
let dialogRef = this.m_dialog.open(fh_win_confirm, {
|
|
@@ -24473,9 +24486,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24473
24486
|
this.edit_doc();
|
|
24474
24487
|
}
|
|
24475
24488
|
ngAfterViewInit() {
|
|
24476
|
-
|
|
24477
|
-
this.init_engine();
|
|
24478
|
-
});
|
|
24489
|
+
this.loaded = false;
|
|
24479
24490
|
}
|
|
24480
24491
|
setta_info_app(o) {
|
|
24481
24492
|
this.app_info = o;
|