@fluxhub/fluxhub-lib 10.0.572 → 10.0.573

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.
@@ -23933,6 +23933,7 @@ class dati_aggiuntivi_v2 {
23933
23933
  }
23934
23934
  prendi_in_carico() {
23935
23935
  this.in_carico = false;
23936
+ this.update_status(null, null, this.in_carico);
23936
23937
  let p = new QParam();
23937
23938
  p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
23938
23939
  p.values = ['string', 'string', 'string'];
@@ -24141,7 +24142,7 @@ class dati_aggiuntivi_v2 {
24141
24142
  });
24142
24143
  dialogRef.afterClosed().subscribe((result) => {
24143
24144
  if (result == null) {
24144
- this.edit_b(true);
24145
+ this.update_status(true, null, null);
24145
24146
  return;
24146
24147
  }
24147
24148
  this.calcolanextandjump2(result);
@@ -24196,7 +24197,7 @@ class dati_aggiuntivi_v2 {
24196
24197
  this.calcola_destinari(o);
24197
24198
  }
24198
24199
  else {
24199
- this.edit_b(this.b_edit_before);
24200
+ this.update_status(this.b_edit_before, null, null);
24200
24201
  }
24201
24202
  }
24202
24203
  calcola_destinari(o) {
@@ -24258,9 +24259,9 @@ class dati_aggiuntivi_v2 {
24258
24259
  });
24259
24260
  dialogRef.afterClosed().subscribe((result) => {
24260
24261
  if (result == '' || result == null) {
24261
- this.edit_b(true);
24262
+ this.update_status(true, false, null);
24262
24263
  if (this.respingi_enabled)
24263
- this.resp_b(true);
24264
+ this.update_status(true, true, null);
24264
24265
  return;
24265
24266
  }
24266
24267
  this.exec_wkf(o, this.nlevel, result.arrsel, result.nota, this.transizione_info.create_ver);
@@ -24296,9 +24297,9 @@ class dati_aggiuntivi_v2 {
24296
24297
  });
24297
24298
  dialogRef.afterClosed().subscribe((result) => {
24298
24299
  if (result == null || result == "abort") {
24299
- this.edit_b(true);
24300
+ this.update_status(true, false, null);
24300
24301
  if (this.respingi_enabled)
24301
- this.resp_b(true);
24302
+ this.update_status(true, true, null);
24302
24303
  return;
24303
24304
  }
24304
24305
  this.exec_wkf(o, this.nlevel, arrAutori, result, this.transizione_info.create_ver);
@@ -24557,19 +24558,17 @@ class dati_aggiuntivi_v2 {
24557
24558
  respingi() {
24558
24559
  this.oper = "respingi";
24559
24560
  this.btnprocedi = true;
24560
- this.edit_b(false);
24561
- this.resp_b(false);
24561
+ this.update_status(false, false, null);
24562
24562
  this.salva();
24563
24563
  }
24564
24564
  procedi() {
24565
24565
  this.oper = "procedi";
24566
24566
  this.btnprocedi = true;
24567
- this.edit_b(false);
24568
- this.resp_b(false);
24567
+ this.update_status(false, false, null);
24569
24568
  if (!this.ck_field()) {
24570
- this.edit_b(true);
24569
+ this.update_status(true, null, null);
24571
24570
  if (this.respingi_enabled)
24572
- this.resp_b(true);
24571
+ this.update_status(true, true, null);
24573
24572
  return;
24574
24573
  }
24575
24574
  this.salva();
@@ -24679,7 +24678,7 @@ class dati_aggiuntivi_v2 {
24679
24678
  save_agg() {
24680
24679
  this.before_save();
24681
24680
  this.b_edit_before = this.b_edit && this.b_rip_pulsanti;
24682
- this.edit_b(false);
24681
+ this.update_status(false, null, null);
24683
24682
  let arr = this.getfieldvalues();
24684
24683
  // console.log('arr',arr);
24685
24684
  let p = new QParam();
@@ -24750,7 +24749,7 @@ class dati_aggiuntivi_v2 {
24750
24749
  if (!this.btnprocedi) {
24751
24750
  this.alert("DOCUMENTO SALVATO", 0);
24752
24751
  this.after_save();
24753
- this.edit_b(this.b_edit_before);
24752
+ this.update_status(this.b_edit_before, null, null);
24754
24753
  if (!this.b_edit && !this.btnprocedi)
24755
24754
  this.m_router.navigate([
24756
24755
  this.app_info.modulo_swf,
@@ -24800,7 +24799,7 @@ class dati_aggiuntivi_v2 {
24800
24799
  }
24801
24800
  ok_load_document(o) {
24802
24801
  this.m_obj = (JSON.parse(JSON.stringify(o)));
24803
- this.edit_b(false);
24802
+ this.update_status(false, null, null);
24804
24803
  this.save_to_app_state();
24805
24804
  let p = new QParam();
24806
24805
  p.sql = "SELECT_WLIVELLIV2_2";
@@ -25295,7 +25294,7 @@ class dati_aggiuntivi_v2 {
25295
25294
  this.livs[i].context == "*ALLUSERS") {
25296
25295
  // if (this.livs[i].abilita_indietro == 1) this.respingi_enabled = true;
25297
25296
  // else this.respingi_enabled = false;
25298
- this.edit_b(true);
25297
+ this.update_status(true, null, null);
25299
25298
  break;
25300
25299
  }
25301
25300
  }
@@ -25321,9 +25320,9 @@ class dati_aggiuntivi_v2 {
25321
25320
  if (this.m_obj.autori != null)
25322
25321
  if (this.m_obj.autori.split(',') > 1)
25323
25322
  this.in_carico = true;
25324
- this.edit_b(true);
25323
+ this.update_status(true, false, this.in_carico);
25325
25324
  if (this.respingi_enabled)
25326
- this.resp_b(true);
25325
+ this.update_status(null, true, this.in_carico);
25327
25326
  }
25328
25327
  this.r_count();
25329
25328
  this.s_uto = '';