@fluxhub/fluxhub-lib 10.0.386 → 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.
@@ -21144,20 +21144,22 @@
21144
21144
  _this.id_applicativo = params["idapp"];
21145
21145
  _this.id_documento = params["id_doc"];
21146
21146
  _this.init_app_wkf();
21147
- var px = new QParam();
21148
- px.sql = "SELECT_ROLES_WKF_V2";
21149
- px.values = [_this.id_applicativo];
21150
- px.types = ["string"];
21151
- console.log('start SELECT_ROLES_WKF_V2', new Date());
21152
- _this.m_dataService.doQuery(px).subscribe(function (data) {
21153
- if (data != null)
21154
- if (data.result_msg == "OK") {
21155
- console.log('end SELECT_ROLES_WKF_V2', new Date());
21156
- data.result_data.map(function (v) {
21157
- _this.wkf_users_roles += v.name;
21158
- });
21159
- }
21160
- });
21147
+ setTimeout(function () {
21148
+ var px = new QParam();
21149
+ px.sql = "SELECT_ROLES_WKF_V2";
21150
+ px.values = [_this.id_applicativo];
21151
+ px.types = ["string"];
21152
+ console.log('start SELECT_ROLES_WKF_V2', new Date());
21153
+ _this.m_dataService.doQuery(px).subscribe(function (data) {
21154
+ if (data != null)
21155
+ if (data.result_msg == "OK") {
21156
+ console.log('end SELECT_ROLES_WKF_V2', new Date());
21157
+ data.result_data.map(function (v) {
21158
+ _this.wkf_users_roles += v.name;
21159
+ });
21160
+ }
21161
+ });
21162
+ }, 2000);
21161
21163
  _this.b_edit = id != "new" ? true : false;
21162
21164
  if (!_this.b_edit)
21163
21165
  if (_this.id_applicativo.indexOf("_") > -1) {