@fluxhub/fluxhub-lib 10.0.743 → 10.0.745

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.
@@ -23257,15 +23257,17 @@
23257
23257
  if (this.m_obj.canale != null && this.m_obj.canale != '')
23258
23258
  for (var i = 0; i < this.livs.length; i++)
23259
23259
  if (this.livs[i].step == liv) {
23260
- console.log(" liv " + this.livs[i]);
23260
+ console.log(" liv ", this.livs[i]);
23261
23261
  if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
23262
23262
  console.log(this.m_obj.canale + " " + this.livs[i].context);
23263
23263
  if (this.m_obj.canale == this.livs[i].context) {
23264
+ console.log('clevel 1 ', this.livs[i]);
23264
23265
  this.clevel = this.livs[i];
23265
23266
  break;
23266
23267
  }
23267
23268
  }
23268
23269
  }
23270
+ console.log('clevel 2 ', this.clevel);
23269
23271
  if (this.clevel == null)
23270
23272
  for (var i = 0; i < this.livs.length; i++) {
23271
23273
  if (this.livs[i].username == null)
@@ -23284,8 +23286,9 @@
23284
23286
  }
23285
23287
  }
23286
23288
  }
23289
+ console.log('clevel 2 ', this.clevel);
23287
23290
  this.clevel = this.check_n_levels(this.clevel);
23288
- if (this.clevel == null || this.clevel == "") {
23291
+ if (this.clevel == null || this.clevel == '') {
23289
23292
  this.alert("Errore di configurazione pratica contattare ufficio IT [0x002]", 1);
23290
23293
  return;
23291
23294
  }
@@ -23345,7 +23348,8 @@
23345
23348
  }
23346
23349
  else {
23347
23350
  var dialogRef = _this.m_dialog.open(win_select_level_v2, {
23348
- disableClose: true, data: transazioni
23351
+ disableClose: true,
23352
+ data: transazioni
23349
23353
  });
23350
23354
  dialogRef.afterClosed().subscribe(function (result) {
23351
23355
  console.log('ris select level', result);
@@ -24339,6 +24343,11 @@
24339
24343
  v.description = '';
24340
24344
  v.name = '';
24341
24345
  datav.result_data.push({ k: '*ALLUSERS', v: _this.app_s.user, nc: _this.app_s.user_surname + ' ' + _this.app_s.user_name });
24346
+ datav.result_data.push({
24347
+ k: '*CURRENT_USER',
24348
+ v: _this.app_s.user,
24349
+ nc: _this.app_s.user_surname + ' ' + _this.app_s.user_name
24350
+ });
24342
24351
  datav.result_data.map(function (v1) {
24343
24352
  if (v.value.split('CREATOR').join('REQUESTER') == v1.k.split('CREATOR').join('REQUESTER')) {
24344
24353
  v.username = v1.v;
@@ -24640,7 +24649,7 @@
24640
24649
  "" + _this.m_obj.stato,
24641
24650
  "" + lvlb,
24642
24651
  ];
24643
- _this.insert_wkf_variabile(_this.id_applicativo, _this.id_documento, _this.m_obj.stato + "_PLAYER", _this.user_idp);
24652
+ _this.insert_wkf_variabile(_this.id_applicativo, _this.id_documento, "PLAYER_" + _this.m_obj.stato, _this.user_idp);
24644
24653
  _this.m_liv = lvlb;
24645
24654
  _this.m_wkf.doQuery(p_2).subscribe(function (data) {
24646
24655
  if (data != null)