@fluxhub/fluxhub-lib 10.0.655 → 10.0.656

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.
@@ -22850,7 +22850,7 @@
22850
22850
  if (this.m_obj.assegnati_paralleli != null)
22851
22851
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
22852
22852
  this.b_assenza_a = true;
22853
- this.update_status(true, null, this.in_carico, this.b_assenza_a);
22853
+ this.update_status(true, null, this.in_carico, this.b_assenza_a, 1);
22854
22854
  this.m_obj.autori = this.app_s.user;
22855
22855
  var p = new QParam();
22856
22856
  p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
@@ -23067,7 +23067,7 @@
23067
23067
  dialogRef.afterClosed().subscribe(function (result) {
23068
23068
  console.log('ris select level', result);
23069
23069
  if (result == null) {
23070
- _this.update_status(true, null, null, null);
23070
+ _this.update_status(true, null, null, null, 2);
23071
23071
  return;
23072
23072
  }
23073
23073
  _this.calcolanextandjump2(result);
@@ -23123,7 +23123,7 @@
23123
23123
  this.calcola_destinari(o);
23124
23124
  }
23125
23125
  else {
23126
- this.update_status(this.b_edit_before, null, null, null);
23126
+ this.update_status(this.b_edit_before, null, null, null, 3);
23127
23127
  }
23128
23128
  };
23129
23129
  dati_aggiuntivi_v2.prototype.calcola_destinari = function (o) {
@@ -23186,9 +23186,9 @@
23186
23186
  });
23187
23187
  dialogRef.afterClosed().subscribe(function (result) {
23188
23188
  if (result == '' || result == null) {
23189
- _this.update_status(true, false, null, null);
23189
+ _this.update_status(true, false, null, null, 4);
23190
23190
  if (_this.respingi_enabled)
23191
- _this.update_status(true, true, null, null);
23191
+ _this.update_status(true, true, null, null, 5);
23192
23192
  return;
23193
23193
  }
23194
23194
  _this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver);
@@ -23224,9 +23224,9 @@
23224
23224
  });
23225
23225
  dialogRef.afterClosed().subscribe(function (result) {
23226
23226
  if (result == null || result == "abort") {
23227
- _this.update_status(true, false, null, null);
23227
+ _this.update_status(true, false, null, null, 6);
23228
23228
  if (_this.respingi_enabled)
23229
- _this.update_status(true, true, null, null);
23229
+ _this.update_status(true, true, null, null, 7);
23230
23230
  return;
23231
23231
  }
23232
23232
  _this.exec_wkf(o, _this.nlevel, arrAutori, result, _this.transizione_info.create_ver);
@@ -23505,17 +23505,17 @@
23505
23505
  dati_aggiuntivi_v2.prototype.respingi = function () {
23506
23506
  this.oper = "respingi";
23507
23507
  this.btnprocedi = true;
23508
- this.update_status(false, false, null, null);
23508
+ this.update_status(false, false, null, null, 8);
23509
23509
  this.salva();
23510
23510
  };
23511
23511
  dati_aggiuntivi_v2.prototype.procedi = function () {
23512
23512
  this.oper = "procedi";
23513
23513
  this.btnprocedi = true;
23514
- this.update_status(false, false, null, null);
23514
+ this.update_status(false, false, null, null, 9);
23515
23515
  if (!this.ck_field()) {
23516
- this.update_status(true, null, null, null);
23516
+ this.update_status(true, null, null, null, 10);
23517
23517
  if (this.respingi_enabled)
23518
- this.update_status(true, true, null, null);
23518
+ this.update_status(true, true, null, null, 11);
23519
23519
  return;
23520
23520
  }
23521
23521
  this.salva();
@@ -23640,7 +23640,7 @@
23640
23640
  var _this = this;
23641
23641
  this.before_save();
23642
23642
  this.b_edit_before = this.b_edit && this.b_rip_pulsanti;
23643
- this.update_status(false, null, null, null);
23643
+ this.update_status(false, null, null, null, 12);
23644
23644
  var arr = this.getfieldvalues();
23645
23645
  // console.log('arr',arr);
23646
23646
  var p = new QParam();
@@ -23711,7 +23711,7 @@
23711
23711
  if (!this.btnprocedi) {
23712
23712
  this.alert("DOCUMENTO SALVATO", 0);
23713
23713
  this.after_save();
23714
- this.update_status(this.b_edit_before, null, null, null);
23714
+ this.update_status(this.b_edit_before, null, null, null, 13);
23715
23715
  if (!this.b_edit && !this.btnprocedi)
23716
23716
  this.m_router.navigate([
23717
23717
  this.app_info.modulo_swf,
@@ -23763,7 +23763,7 @@
23763
23763
  dati_aggiuntivi_v2.prototype.ok_load_document = function (o) {
23764
23764
  var _this = this;
23765
23765
  this.m_obj = (JSON.parse(JSON.stringify(o)));
23766
- this.update_status(false, null, null, null);
23766
+ this.update_status(false, null, null, null, 14);
23767
23767
  this.save_to_app_state();
23768
23768
  var p = new QParam();
23769
23769
  p.sql = "SELECT_WLIVELLIV2_2";
@@ -24277,7 +24277,7 @@
24277
24277
  this.livs[i].context == "*ALLUSERS") {
24278
24278
  // if (this.livs[i].abilita_indietro == 1) this.respingi_enabled = true;
24279
24279
  // else this.respingi_enabled = false;
24280
- this.update_status(true, null, null, null);
24280
+ this.update_status(true, null, null, null, 15);
24281
24281
  break;
24282
24282
  }
24283
24283
  }
@@ -24308,9 +24308,9 @@
24308
24308
  if (this.m_obj.assegnati_paralleli.split(',').length != 1)
24309
24309
  this.b_assenza_a = true;
24310
24310
  // }
24311
- this.update_status(true, false, this.in_carico, this.b_assenza_a);
24311
+ this.update_status(true, false, this.in_carico, this.b_assenza_a, 16);
24312
24312
  if (this.respingi_enabled)
24313
- this.update_status(null, true, this.in_carico, this.b_assenza_a);
24313
+ this.update_status(null, true, this.in_carico, this.b_assenza_a, 17);
24314
24314
  }
24315
24315
  this.r_count();
24316
24316
  this.s_uto = '';