@fluxhub/fluxhub-lib 11.0.19 → 11.0.22

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.
@@ -24198,7 +24198,6 @@ class win_assegna_a {
24198
24198
  this.title = "";
24199
24199
  this.comm_notrequired = 0;
24200
24200
  this.prendi_in_carico = true;
24201
- this.in_carico = true;
24202
24201
  this.all_users = [];
24203
24202
  if (data != null) {
24204
24203
  if (data.commento_default != null)
@@ -24209,8 +24208,6 @@ class win_assegna_a {
24209
24208
  this.title = data.title;
24210
24209
  if (data.lbl != null)
24211
24210
  this.lbl = data.lbl;
24212
- if (data.in_carico != null)
24213
- this.in_carico = data.in_carico;
24214
24211
  if (data.only_riassegna != null) {
24215
24212
  if (data.only_riassegna) {
24216
24213
  this.op = 'A';
@@ -24281,12 +24278,12 @@ win_assegna_a.decorators = [
24281
24278
  style="font-size: 15px;min-width: 750px"
24282
24279
  >
24283
24280
  <br><br>
24284
- <div fxLayout="row" fxLayoutAlign="start center" fxFlexGap="5px" fxFlex="100" [hidden]="hide_row_cmd">
24281
+ <div fxLayout="row" style="font-size: 15px;min-width: 90px" fxLayoutAlign="start center" fxFlexGap="5px" fxFlex="100" [hidden]="hide_row_cmd">
24285
24282
  <div style="width:100px;font-weight:bold">Operazione:*</div>
24286
24283
  <mat-radio-group [(ngModel)]="op">
24287
- <mat-radio-button [hidden]="!in_carico" value="L">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24284
+ <mat-radio-button [hidden]="prendi_in_carico" value="L">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24288
24285
  <mat-radio-button value="A">RIASSEGNA A</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24289
- <mat-radio-button [hidden]="!prendi_in_carico || in_carico" value="C">PRENDI IN CARICO</mat-radio-button>
24286
+ <mat-radio-button [hidden]="!prendi_in_carico" value="C">PRENDI IN CARICO</mat-radio-button>
24290
24287
  </mat-radio-group>
24291
24288
  </div>
24292
24289
  <div style="width:100%;height:450px" [hidden]="op!='A'">
@@ -24998,7 +24995,7 @@ class dati_aggiuntivi_v2 {
24998
24995
  });
24999
24996
  }*/
25000
24997
  }
25001
- assegna_a(in_carico) {
24998
+ assegna_a() {
25002
24999
  let arx = this.m_obj.assegnati_paralleli.split(",");
25003
25000
  let arrAutori = [];
25004
25001
  for (let x = 0; x < arx.length; x++)
@@ -25027,7 +25024,7 @@ class dati_aggiuntivi_v2 {
25027
25024
  commento_default: "",
25028
25025
  comm_notrequired: "",
25029
25026
  utenti: arrAutori,
25030
- prendi_in_carico: this.m_obj.autori != this.app_s.user, in_carico: in_carico
25027
+ prendi_in_carico: this.m_obj.autori != this.app_s.user
25031
25028
  },
25032
25029
  });
25033
25030
  dialogRef.afterClosed().subscribe((result) => {
@@ -25083,6 +25080,7 @@ class dati_aggiuntivi_v2 {
25083
25080
  this.m_dataService.doQuery(p).subscribe((data) => {
25084
25081
  if (data != null)
25085
25082
  if (data.result_msg == "OK") {
25083
+ this.reassigned_to(result.op);
25086
25084
  this.m_dataService
25087
25085
  .doQuery({
25088
25086
  sql: "INSERT_WORKFLOW_LOG",
@@ -26238,10 +26236,10 @@ class dati_aggiuntivi_v2 {
26238
26236
  }
26239
26237
  }
26240
26238
  }
26239
+ reassigned_to(op) { }
26241
26240
  after_save() { }
26242
26241
  before_save() { }
26243
26242
  can_save() {
26244
- console.log("can_save interno");
26245
26243
  return true;
26246
26244
  }
26247
26245
  edit_doc() {
@@ -26509,7 +26507,7 @@ class wkf_header_bar_v2 {
26509
26507
  prendi_in_carico() { this.button_clicked.emit('prendi_in_c'); if (this.dt_agg != null)
26510
26508
  this.dt_agg.prendi_in_carico(); }
26511
26509
  evt_assegna_a() { this.button_clicked.emit('assegna_a'); if (this.dt_agg != null)
26512
- this.dt_agg.assegna_a(this.dt_agg.in_carico); }
26510
+ this.dt_agg.assegna_a(); }
26513
26511
  respingi() { this.button_clicked.emit('respingi'); if (this.dt_agg != null)
26514
26512
  this.dt_agg.respingi(); }
26515
26513
  procedi() { this.button_clicked.emit('procedi'); if (this.dt_agg != null)