@fluxhub/fluxhub-lib 10.0.384 → 10.0.385
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 +24 -26
- 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 +24 -27
- package/fesm2015/fluxhub-fluxhub-lib.js +23 -26
- 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 -0
- package/package.json +1 -1
|
@@ -24420,6 +24420,7 @@ class dati_aggiuntivi_v2 {
|
|
|
24420
24420
|
console.log('end SELECT_ROLES_WKF_V2', new Date());
|
|
24421
24421
|
data.result_data.map((v) => {
|
|
24422
24422
|
this.wkf_users_roles += v.name;
|
|
24423
|
+
this.init_app_wkf();
|
|
24423
24424
|
});
|
|
24424
24425
|
}
|
|
24425
24426
|
});
|
|
@@ -24434,35 +24435,31 @@ class dati_aggiuntivi_v2 {
|
|
|
24434
24435
|
this.alert("PARAMETRO APPLICAZIONE NON VALIDO", 2);
|
|
24435
24436
|
return;
|
|
24436
24437
|
}
|
|
24437
|
-
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24450
|
-
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
|
|
24454
|
-
this.edit_doc();
|
|
24455
|
-
}
|
|
24438
|
+
});
|
|
24439
|
+
}
|
|
24440
|
+
init_app_wkf() {
|
|
24441
|
+
let p = new QParam();
|
|
24442
|
+
p.sql = "SELECT_WKF_APP_INFO_BYUID";
|
|
24443
|
+
p.types = ["string"];
|
|
24444
|
+
p.values = [this.id_applicativo];
|
|
24445
|
+
console.log('start SELECT_WKF_APP_INFO_BYUID', new Date());
|
|
24446
|
+
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
24447
|
+
if (data != null)
|
|
24448
|
+
if (data.result_msg == "OK") {
|
|
24449
|
+
if (data.result_data.length > 0) {
|
|
24450
|
+
console.log('end SELECT_WKF_APP_INFO_BYUID', new Date());
|
|
24451
|
+
// this.app_info=data.result_data[0];
|
|
24452
|
+
this.setta_info_app(data.result_data[0]);
|
|
24453
|
+
if (!this.b_edit)
|
|
24454
|
+
this.insert_doc();
|
|
24456
24455
|
else
|
|
24457
|
-
this.
|
|
24458
|
-
//this.stabilimento.setByValue(this.obj.stabilimento);
|
|
24459
|
-
ok_op = true;
|
|
24460
|
-
//this.userRole.setByValue(this.obj.id_application);
|
|
24456
|
+
this.edit_doc();
|
|
24461
24457
|
}
|
|
24462
|
-
|
|
24463
|
-
|
|
24458
|
+
else
|
|
24459
|
+
this.alert("CODICE APPLICAZIONE NON VALIDO", 2);
|
|
24460
|
+
//this.stabilimento.setByValue(this.obj.stabilimento);
|
|
24461
|
+
//this.userRole.setByValue(this.obj.id_application);
|
|
24464
24462
|
}
|
|
24465
|
-
}, (err) => { });
|
|
24466
24463
|
});
|
|
24467
24464
|
}
|
|
24468
24465
|
ngAfterViewInit() {
|