@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
|
@@ -21147,12 +21147,14 @@
|
|
|
21147
21147
|
px.sql = "SELECT_ROLES_WKF_V2";
|
|
21148
21148
|
px.values = [_this.id_applicativo];
|
|
21149
21149
|
px.types = ["string"];
|
|
21150
|
+
console.log('start SELECT_ROLES_WKF_V2', new Date());
|
|
21150
21151
|
_this.m_dataService.doQuery(px).subscribe(function (data) {
|
|
21151
21152
|
if (data != null)
|
|
21152
21153
|
if (data.result_msg == "OK") {
|
|
21153
21154
|
console.log('end SELECT_ROLES_WKF_V2', new Date());
|
|
21154
21155
|
data.result_data.map(function (v) {
|
|
21155
21156
|
_this.wkf_users_roles += v.name;
|
|
21157
|
+
_this.init_app_wkf();
|
|
21156
21158
|
});
|
|
21157
21159
|
}
|
|
21158
21160
|
});
|
|
@@ -21167,34 +21169,32 @@
|
|
|
21167
21169
|
_this.alert("PARAMETRO APPLICAZIONE NON VALIDO", 2);
|
|
21168
21170
|
return;
|
|
21169
21171
|
}
|
|
21170
|
-
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
|
|
21178
|
-
|
|
21179
|
-
|
|
21180
|
-
|
|
21181
|
-
|
|
21182
|
-
|
|
21183
|
-
|
|
21184
|
-
|
|
21185
|
-
|
|
21186
|
-
|
|
21187
|
-
|
|
21172
|
+
});
|
|
21173
|
+
};
|
|
21174
|
+
dati_aggiuntivi_v2.prototype.init_app_wkf = function () {
|
|
21175
|
+
var _this = this;
|
|
21176
|
+
var p = new QParam();
|
|
21177
|
+
p.sql = "SELECT_WKF_APP_INFO_BYUID";
|
|
21178
|
+
p.types = ["string"];
|
|
21179
|
+
p.values = [this.id_applicativo];
|
|
21180
|
+
console.log('start SELECT_WKF_APP_INFO_BYUID', new Date());
|
|
21181
|
+
this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
21182
|
+
if (data != null)
|
|
21183
|
+
if (data.result_msg == "OK") {
|
|
21184
|
+
if (data.result_data.length > 0) {
|
|
21185
|
+
console.log('end SELECT_WKF_APP_INFO_BYUID', new Date());
|
|
21186
|
+
// this.app_info=data.result_data[0];
|
|
21187
|
+
_this.setta_info_app(data.result_data[0]);
|
|
21188
|
+
if (!_this.b_edit)
|
|
21189
|
+
_this.insert_doc();
|
|
21188
21190
|
else
|
|
21189
|
-
_this.
|
|
21190
|
-
//this.stabilimento.setByValue(this.obj.stabilimento);
|
|
21191
|
-
ok_op = true;
|
|
21192
|
-
//this.userRole.setByValue(this.obj.id_application);
|
|
21191
|
+
_this.edit_doc();
|
|
21193
21192
|
}
|
|
21194
|
-
|
|
21195
|
-
|
|
21193
|
+
else
|
|
21194
|
+
_this.alert("CODICE APPLICAZIONE NON VALIDO", 2);
|
|
21195
|
+
//this.stabilimento.setByValue(this.obj.stabilimento);
|
|
21196
|
+
//this.userRole.setByValue(this.obj.id_application);
|
|
21196
21197
|
}
|
|
21197
|
-
}, function (err) { });
|
|
21198
21198
|
});
|
|
21199
21199
|
};
|
|
21200
21200
|
dati_aggiuntivi_v2.prototype.ngAfterViewInit = function () {
|