@fluxhub/fluxhub-lib 10.0.600 → 10.0.602

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.
@@ -5497,7 +5497,7 @@ class wkfapp {
5497
5497
  setTimeout(() => {
5498
5498
  dialogRef.componentInstance.setStepCombo(s_i);
5499
5499
  dialogRef.componentInstance.title =
5500
- "Riassegnazione documento: " +
5500
+ this.tsr.instant("Riassegnazione documento") + ": " +
5501
5501
  this.get_grid().sRow.codice +
5502
5502
  " - " +
5503
5503
  this.get_grid().sRow.oggetto;
@@ -5535,7 +5535,7 @@ class wkfapp {
5535
5535
  setTimeout(() => {
5536
5536
  dialogRef.componentInstance.arrAutori = arrAutori;
5537
5537
  dialogRef.componentInstance.title =
5538
- "Riassegnazione documento: " +
5538
+ this.tsr.instant("Riassegnazione documento") + ": " +
5539
5539
  this.get_grid().sRow.codice +
5540
5540
  " - " +
5541
5541
  this.get_grid().sRow.oggetto;
@@ -5742,14 +5742,23 @@ class wkfapp {
5742
5742
  this.m_wkf.doQuery(p).subscribe((data) => { });
5743
5743
  }
5744
5744
  annulla_imp() {
5745
- this.app_s.user_name = this.app_s.user_name_ori;
5746
- this.app_s.user = this.app_s.user_ori;
5747
- this.app_s.user_surname = this.app_s.user_surname_ori;
5748
- this.app_s.user_email = this.app_s.user_email_ori;
5749
- this.user_idp = this.app_s.user;
5750
- this.user_nome = this.app_s.user_name;
5751
- this.user_cognome = this.app_s.user_surname;
5752
- this.user_email = this.app_s.user_email;
5745
+ let p = new QParam();
5746
+ p.sql = "SELECT_CURRENT_USER_INFOS";
5747
+ p.types = [];
5748
+ p.values = [];
5749
+ this.m_dataService.doQuery(p).subscribe((data) => {
5750
+ if (data != null)
5751
+ if (data.result_msg == "OK") {
5752
+ this.app_s.user_name = data.result_data[0].nome;
5753
+ this.app_s.user = data.result_data[0].username;
5754
+ this.app_s.user_surname = data.result_data[0].cognome;
5755
+ this.app_s.user_email = data.result_data[0].email;
5756
+ this.user_idp = data.result_data[0].username;
5757
+ this.user_nome = data.result_data[0].nome;
5758
+ this.user_cognome = data.result_data[0].cognome;
5759
+ this.user_email = data.result_data[0].email;
5760
+ }
5761
+ });
5753
5762
  this.app_s.user_name_ori = null;
5754
5763
  this.app_s.user_ori = null;
5755
5764
  this.app_s.user_surname_ori = null;
@@ -14141,8 +14150,8 @@ win_select_level.decorators = [
14141
14150
  template: `
14142
14151
  <div   fxLayout="column" fxLayoutGap="5px">
14143
14152
      <div  fxFlex="100" fxLayout="row"   class="dialog_header">
14144
- <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
14145
- <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
14153
+ <div fxLayout="row" fxLayoutAlign="start center" style="width:80%">{{title}}</div>
14154
+ <div style="width:20%" fxLayout="row" fxLayoutAlign="end start">
14146
14155
  <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
14147
14156
  </div>
14148
14157
  </div>
@@ -14158,7 +14167,7 @@ win_select_level.decorators = [
14158
14167
  style="width:100%"
14159
14168
  ><mat-label>{{'Seleziona Prossimo Step' | translate}}:</mat-label>
14160
14169
  <mat-select #cmb [(ngModel)]="selval" (change)="sc()">
14161
- <mat-option value="-1">Seleziona</mat-option>
14170
+ <mat-option value="-1">{{'Seleziona' | translate}}</mat-option>
14162
14171
  <mat-option value="{{ app.livello }}" *ngFor="let app of myData">{{
14163
14172
  app.descri_livello | translate
14164
14173
  }}</mat-option>
@@ -17045,7 +17054,7 @@ class dati_aggiuntivi {
17045
17054
  this.app_s.getState().wkf_doc_info.st = lij;
17046
17055
  this.app_s.getState().wkf_doc_info.cl = this.clevel;
17047
17056
  let dialogRef = this.m_dialog.open(win_select_level, {
17048
- disableClose: true,
17057
+ disableClose: true, width: '800px'
17049
17058
  });
17050
17059
  dialogRef.afterClosed().subscribe((result) => {
17051
17060
  if (result == null) {
@@ -23563,6 +23572,7 @@ class win_select_level_v2 {
23563
23572
  this.OK_BUTTON = "OK";
23564
23573
  this.trans = [];
23565
23574
  this.trans = data;
23575
+ this.title = this._tsr.instant(this.title);
23566
23576
  /*
23567
23577
  this.setStepCombo(
23568
23578
  this.m_appService.getState().wkf_doc_info.livs,
@@ -24278,9 +24288,10 @@ class dati_aggiuntivi_v2 {
24278
24288
  }
24279
24289
  else {
24280
24290
  let dialogRef = this.m_dialog.open(win_select_level_v2, {
24281
- disableClose: true, data: transazioni
24291
+ disableClose: true, data: transazioni, width: '800px'
24282
24292
  });
24283
24293
  dialogRef.afterClosed().subscribe((result) => {
24294
+ console.log('ris select level', result);
24284
24295
  if (result == null) {
24285
24296
  this.update_status(true, null, null);
24286
24297
  return;
@@ -24292,6 +24303,7 @@ class dati_aggiuntivi_v2 {
24292
24303
  });
24293
24304
  }
24294
24305
  calcolanextandjump2(o) {
24306
+ console.log('calcolanextandjump2', o);
24295
24307
  this.transizione_info = o;
24296
24308
  let cliv = 0;
24297
24309
  let liv = 0;
@@ -28482,7 +28494,7 @@ class wkfapp_v2 {
28482
28494
  setTimeout(() => {
28483
28495
  dialogRef.componentInstance.setStepCombo(s_i);
28484
28496
  dialogRef.componentInstance.title =
28485
- this.tsr.instant("Riassegnazione documento" + ': ') +
28497
+ this.tsr.instant("Riassegnazione documento") + ': ' +
28486
28498
  this.get_grid().sRow.codice +
28487
28499
  " - " +
28488
28500
  this.get_grid().sRow.oggetto;
@@ -28558,7 +28570,7 @@ class wkfapp_v2 {
28558
28570
  setTimeout(() => {
28559
28571
  dialogRef.componentInstance.arrAutori = arrAutori;
28560
28572
  dialogRef.componentInstance.title =
28561
- this.tsr.instant("Riassegnazione documento" + ": ") +
28573
+ this.tsr.instant("Riassegnazione documento") + ": " +
28562
28574
  this.get_grid().sRow.codice +
28563
28575
  " - " +
28564
28576
  this.get_grid().sRow.oggetto;
@@ -28767,14 +28779,23 @@ class wkfapp_v2 {
28767
28779
  this.m_wkf.doQuery(p).subscribe((data) => { });
28768
28780
  }
28769
28781
  annulla_imp() {
28770
- this.app_s.user_name = this.app_s.user_name_ori;
28771
- this.app_s.user = this.app_s.user_ori;
28772
- this.app_s.user_surname = this.app_s.user_surname_ori;
28773
- this.app_s.user_email = this.app_s.user_email_ori;
28774
- this.user_idp = this.app_s.user;
28775
- this.user_nome = this.app_s.user_name;
28776
- this.user_cognome = this.app_s.user_surname;
28777
- this.user_email = this.app_s.user_email;
28782
+ let p = new QParam();
28783
+ p.sql = "SELECT_CURRENT_USER_INFOS";
28784
+ p.types = [];
28785
+ p.values = [];
28786
+ this.m_dataService.doQuery(p).subscribe((data) => {
28787
+ if (data != null)
28788
+ if (data.result_msg == "OK") {
28789
+ this.app_s.user_name = data.result_data[0].nome;
28790
+ this.app_s.user = data.result_data[0].username;
28791
+ this.app_s.user_surname = data.result_data[0].cognome;
28792
+ this.app_s.user_email = data.result_data[0].email;
28793
+ this.user_idp = data.result_data[0].username;
28794
+ this.user_nome = data.result_data[0].nome;
28795
+ this.user_cognome = data.result_data[0].cognome;
28796
+ this.user_email = data.result_data[0].email;
28797
+ }
28798
+ });
28778
28799
  this.app_s.user_name_ori = null;
28779
28800
  this.app_s.user_ori = null;
28780
28801
  this.app_s.user_surname_ori = null;