@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
|
@@ -21154,6 +21154,7 @@
|
|
|
21154
21154
|
console.log('end SELECT_ROLES_WKF_V2', new Date());
|
|
21155
21155
|
data.result_data.map(function (v) {
|
|
21156
21156
|
_this.wkf_users_roles += v.name;
|
|
21157
|
+
_this.init_app_wkf();
|
|
21157
21158
|
});
|
|
21158
21159
|
}
|
|
21159
21160
|
});
|
|
@@ -21168,35 +21169,32 @@
|
|
|
21168
21169
|
_this.alert("PARAMETRO APPLICAZIONE NON VALIDO", 2);
|
|
21169
21170
|
return;
|
|
21170
21171
|
}
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
|
|
21178
|
-
|
|
21179
|
-
|
|
21180
|
-
|
|
21181
|
-
|
|
21182
|
-
|
|
21183
|
-
|
|
21184
|
-
|
|
21185
|
-
|
|
21186
|
-
|
|
21187
|
-
|
|
21188
|
-
|
|
21189
|
-
}
|
|
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();
|
|
21190
21190
|
else
|
|
21191
|
-
_this.
|
|
21192
|
-
//this.stabilimento.setByValue(this.obj.stabilimento);
|
|
21193
|
-
ok_op = true;
|
|
21194
|
-
//this.userRole.setByValue(this.obj.id_application);
|
|
21191
|
+
_this.edit_doc();
|
|
21195
21192
|
}
|
|
21196
|
-
|
|
21197
|
-
|
|
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);
|
|
21198
21197
|
}
|
|
21199
|
-
}, function (err) { });
|
|
21200
21198
|
});
|
|
21201
21199
|
};
|
|
21202
21200
|
dati_aggiuntivi_v2.prototype.ngAfterViewInit = function () {
|