@fluxhub/fluxhub-lib 10.0.385 → 10.0.387

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.
@@ -24409,21 +24409,23 @@ class dati_aggiuntivi_v2 {
24409
24409
  var id = params["op"];
24410
24410
  this.id_applicativo = params["idapp"];
24411
24411
  this.id_documento = params["id_doc"];
24412
- let px = new QParam();
24413
- px.sql = "SELECT_ROLES_WKF_V2";
24414
- px.values = [this.id_applicativo];
24415
- px.types = ["string"];
24416
- console.log('start SELECT_ROLES_WKF_V2', new Date());
24417
- this.m_dataService.doQuery(px).subscribe((data) => {
24418
- if (data != null)
24419
- if (data.result_msg == "OK") {
24420
- console.log('end SELECT_ROLES_WKF_V2', new Date());
24421
- data.result_data.map((v) => {
24422
- this.wkf_users_roles += v.name;
24423
- this.init_app_wkf();
24424
- });
24425
- }
24426
- });
24412
+ this.init_app_wkf();
24413
+ setTimeout(() => {
24414
+ let px = new QParam();
24415
+ px.sql = "SELECT_ROLES_WKF_V2";
24416
+ px.values = [this.id_applicativo];
24417
+ px.types = ["string"];
24418
+ console.log('start SELECT_ROLES_WKF_V2', new Date());
24419
+ this.m_dataService.doQuery(px).subscribe((data) => {
24420
+ if (data != null)
24421
+ if (data.result_msg == "OK") {
24422
+ console.log('end SELECT_ROLES_WKF_V2', new Date());
24423
+ data.result_data.map((v) => {
24424
+ this.wkf_users_roles += v.name;
24425
+ });
24426
+ }
24427
+ });
24428
+ }, 2000);
24427
24429
  this.b_edit = id != "new" ? true : false;
24428
24430
  if (!this.b_edit)
24429
24431
  if (this.id_applicativo.indexOf("_") > -1) {