@fluxhub/fluxhub-lib 10.0.383 → 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 +25 -25
- 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 +25 -26
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -25
- 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
|
@@ -24413,12 +24413,14 @@ class dati_aggiuntivi_v2 {
|
|
|
24413
24413
|
px.sql = "SELECT_ROLES_WKF_V2";
|
|
24414
24414
|
px.values = [this.id_applicativo];
|
|
24415
24415
|
px.types = ["string"];
|
|
24416
|
+
console.log('start SELECT_ROLES_WKF_V2', new Date());
|
|
24416
24417
|
this.m_dataService.doQuery(px).subscribe((data) => {
|
|
24417
24418
|
if (data != null)
|
|
24418
24419
|
if (data.result_msg == "OK") {
|
|
24419
24420
|
console.log('end SELECT_ROLES_WKF_V2', new Date());
|
|
24420
24421
|
data.result_data.map((v) => {
|
|
24421
24422
|
this.wkf_users_roles += v.name;
|
|
24423
|
+
this.init_app_wkf();
|
|
24422
24424
|
});
|
|
24423
24425
|
}
|
|
24424
24426
|
});
|
|
@@ -24433,34 +24435,31 @@ class dati_aggiuntivi_v2 {
|
|
|
24433
24435
|
this.alert("PARAMETRO APPLICAZIONE NON VALIDO", 2);
|
|
24434
24436
|
return;
|
|
24435
24437
|
}
|
|
24436
|
-
|
|
24437
|
-
|
|
24438
|
-
|
|
24439
|
-
|
|
24440
|
-
|
|
24441
|
-
|
|
24442
|
-
|
|
24443
|
-
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
|
-
|
|
24448
|
-
|
|
24449
|
-
|
|
24450
|
-
|
|
24451
|
-
|
|
24452
|
-
|
|
24453
|
-
}
|
|
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();
|
|
24454
24455
|
else
|
|
24455
|
-
this.
|
|
24456
|
-
//this.stabilimento.setByValue(this.obj.stabilimento);
|
|
24457
|
-
ok_op = true;
|
|
24458
|
-
//this.userRole.setByValue(this.obj.id_application);
|
|
24456
|
+
this.edit_doc();
|
|
24459
24457
|
}
|
|
24460
|
-
|
|
24461
|
-
|
|
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);
|
|
24462
24462
|
}
|
|
24463
|
-
}, (err) => { });
|
|
24464
24463
|
});
|
|
24465
24464
|
}
|
|
24466
24465
|
ngAfterViewInit() {
|