@fluxhub/fluxhub-lib 10.0.299 → 10.0.301

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.
@@ -2658,10 +2658,10 @@
2658
2658
  fh_win_uploads.prototype.ngAfterViewInit = function () {
2659
2659
  var _this = this;
2660
2660
  setTimeout(function () {
2661
- if (_this.App == "") {
2662
- _this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
2663
- _this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
2664
- }
2661
+ // if (this.App == "") {
2662
+ // this.App = this.app_s.getState().wkf_doc_info.uiid_app;
2663
+ // this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
2664
+ //}
2665
2665
  _this.init(_this.App, _this.K);
2666
2666
  });
2667
2667
  };
@@ -5311,7 +5311,6 @@
5311
5311
  this.gridOptions = {
5312
5312
  debug: false,
5313
5313
  headerHeight: this.header_h,
5314
- floatingFilter: true,
5315
5314
  enableRangeSelection: true,
5316
5315
  defaultColDef: { resizable: true, sortable: true },
5317
5316
  allowContextMenuWithControlKey: true,
@@ -11110,7 +11109,6 @@
11110
11109
  this.gridOptions = {
11111
11110
  debug: false,
11112
11111
  headerHeight: this.header_h,
11113
- floatingFilter: true,
11114
11112
  enableRangeSelection: true,
11115
11113
  enableServerSideSorting: false,
11116
11114
  enableServerSideFilter: false,
@@ -13826,7 +13824,7 @@
13826
13824
  _this.b_filef = true;
13827
13825
  _this.foto_ut =
13828
13826
  _this.appService.COMPANY_SITE_ROOT +
13829
- "/uploads/" +
13827
+ "uploads/" +
13830
13828
  data.result_data[0].App +
13831
13829
  "/" +
13832
13830
  data.result_data[0].K +
@@ -16043,10 +16041,13 @@
16043
16041
  if (!m_service.checkCredentials()) {
16044
16042
  return;
16045
16043
  }
16046
- this.sort_field =
16047
- "case when CHARINDEX('" +
16048
- this.user_idp +
16049
- "',autori)>0 then 1 else 0 end desc,codice desc";
16044
+ if (this.sort_field == null)
16045
+ this.sort_field = '';
16046
+ if (this.sort_field == '')
16047
+ this.sort_field =
16048
+ "case when CHARINDEX('" +
16049
+ this.user_idp +
16050
+ "',autori)>0 then 1 else 0 end desc,codice desc";
16050
16051
  }
16051
16052
  wkfapp.prototype.goto_edit_doc = function (a, d) {
16052
16053
  this.m_router.navigate([this.app_root, a, d, "edit"]);
@@ -16581,10 +16582,13 @@
16581
16582
  }, 500);
16582
16583
  return;
16583
16584
  }
16584
- this.sort_field =
16585
- "case when CHARINDEX('" +
16586
- this.user_idp +
16587
- "',autori)>0 then 1 else 0 end desc,codice desc";
16585
+ if (this.sort_field == null)
16586
+ this.sort_field = '';
16587
+ if (this.sort_field == '')
16588
+ this.sort_field =
16589
+ "case when CHARINDEX('" +
16590
+ this.user_idp +
16591
+ "',autori)>0 then 1 else 0 end desc,codice desc";
16588
16592
  var p = new QParam();
16589
16593
  p.sql = "SELECT_WKF_APP_INFO";
16590
16594
  p.types = ["string"];
@@ -17808,7 +17812,7 @@
17808
17812
  console.log('open_upload ', sovra_path, admin_role);
17809
17813
  var dialogRef = this.m_dialog.open(fh_win_uploads, {
17810
17814
  disableClose: true,
17811
- width: "90%", data: { 'admin_role': admin_role }
17815
+ width: "90%", data: { admin_role: admin_role, App: this.id_applicativo, K: this.id_documento }
17812
17816
  });
17813
17817
  setTimeout(function () {
17814
17818
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;
@@ -18632,10 +18636,13 @@
18632
18636
  if (!m_service.checkCredentials()) {
18633
18637
  return;
18634
18638
  }
18635
- this.sort_field =
18636
- "case when CHARINDEX('" +
18637
- this.user_idp +
18638
- "',autori)>0 then 1 else 0 end desc,codice desc";
18639
+ if (this.sort_field == null)
18640
+ this.sort_field = '';
18641
+ if (this.sort_field == '')
18642
+ this.sort_field =
18643
+ "case when CHARINDEX('" +
18644
+ this.user_idp +
18645
+ "',autori)>0 then 1 else 0 end desc,codice desc";
18639
18646
  }
18640
18647
  wkfapp_v2.prototype.goto_edit_doc = function (a, d) {
18641
18648
  this.m_router.navigate([this.app_root, a, d, "edit"]);
@@ -19212,10 +19219,13 @@
19212
19219
  }, 500);
19213
19220
  return;
19214
19221
  }
19215
- this.sort_field =
19216
- "case when CHARINDEX('" +
19217
- this.user_idp +
19218
- "',autori)>0 then 1 else 0 end desc,codice desc";
19222
+ if (this.sort_field == null)
19223
+ this.sort_field = '';
19224
+ if (this.sort_field == '')
19225
+ this.sort_field =
19226
+ "case when CHARINDEX('" +
19227
+ this.user_idp +
19228
+ "',autori)>0 then 1 else 0 end desc,codice desc";
19219
19229
  var p = new QParam();
19220
19230
  p.sql = "SELECT_WKF_APP_INFO";
19221
19231
  p.types = ["string"];
@@ -20184,7 +20194,7 @@
20184
20194
  console.log('open_upload ', sovra_path, admin_role);
20185
20195
  var dialogRef = this.m_dialog.open(win_uploads_v2, {
20186
20196
  disableClose: true,
20187
- width: "90%", data: { 'admin_role': admin_role }
20197
+ width: "90%", data: { admin_role: admin_role, App: this.id_applicativo, K: this.id_documento }
20188
20198
  });
20189
20199
  setTimeout(function () {
20190
20200
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;