@fluxhub/fluxhub-lib 10.0.696 → 10.0.698

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.
@@ -6689,21 +6689,22 @@
6689
6689
  var cmds = [];
6690
6690
  var str_fields = "";
6691
6691
  var p_col = this.gridOptions.columnApi.getAllDisplayedColumns();
6692
- for (var j = 0; j < p_col.length; j++) {
6693
- if (str_fields != "")
6694
- str_fields += ",";
6695
- if (p_col[j].getColDef().headerName == null)
6696
- str_fields += "[" + p_col[j].getColDef().field + "]";
6697
- else if (p_col[j].getColDef().headerName == "")
6698
- str_fields += "[" + p_col[j].getColDef().field + "]";
6699
- else
6700
- str_fields +=
6701
- "[" +
6702
- p_col[j].getColDef().field +
6703
- "] [" +
6704
- p_col[j].getColDef().headerName.split('[').join('').split(']').join('') +
6705
- "]";
6706
- }
6692
+ for (var j = 0; j < p_col.length; j++)
6693
+ if (p_col[j].getColDef().field.length < 60) {
6694
+ if (str_fields != "")
6695
+ str_fields += ",";
6696
+ if (p_col[j].getColDef().headerName == null)
6697
+ str_fields += "[" + p_col[j].getColDef().field + "]";
6698
+ else if (p_col[j].getColDef().headerName == "")
6699
+ str_fields += "[" + p_col[j].getColDef().field + "]";
6700
+ else
6701
+ str_fields +=
6702
+ "[" +
6703
+ p_col[j].getColDef().field +
6704
+ "] [" +
6705
+ p_col[j].getColDef().headerName.split('[').join('').split(']').join('') +
6706
+ "]";
6707
+ }
6707
6708
  if (this.fields.indexOf("DISTINCT") != -1)
6708
6709
  str_fields = "DISTINCT " + str_fields;
6709
6710
  cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
@@ -20591,7 +20592,6 @@
20591
20592
  "" + _this.nlevel.livello,
20592
20593
  _this.user_idp,
20593
20594
  ];
20594
- var ok_op_1 = false;
20595
20595
  _this.m_wkf.doQuery(p).subscribe(function (data) { });
20596
20596
  }
20597
20597
  });
@@ -21512,7 +21512,7 @@
21512
21512
  "" + lvlb,
21513
21513
  ];
21514
21514
  _this.insert_wkf_variabile(_this.id_applicativo, _this.id_documento, _this.m_obj.stato + "_PLAYER", _this.user_idp);
21515
- var ok_op_2 = false;
21515
+ var ok_op_1 = false;
21516
21516
  _this.m_wkf.doQuery(p_4).subscribe(function (data) {
21517
21517
  var ok_op = false;
21518
21518
  if (data != null)
@@ -21590,7 +21590,7 @@
21590
21590
  _this.goto_edit_doc();
21591
21591
  }
21592
21592
  });
21593
- ok_op_2 = true;
21593
+ ok_op_1 = true;
21594
21594
  }
21595
21595
  if (!ok_op) {
21596
21596
  _this.alert(data.msg, 1);
@@ -22367,22 +22367,33 @@
22367
22367
  if (data != null)
22368
22368
  if (data.result_msg == "OK") {
22369
22369
  _this.get_grid().Refresh();
22370
- }
22371
- });
22372
- p = new QParam();
22373
- p.sql = "INSERT_WKF_COMMENTO";
22374
- p.types = ["string", "string", "string", "string", "string"];
22375
- p.values = [
22376
- this.id_applicativo,
22377
- this.get_grid().sRow.uiid,
22378
- this.tsr.instant("Documento riassegnato, commento:") + "\n" + this.nota_wax,
22379
- this.user_idp,
22380
- "",
22381
- ];
22382
- ok_op = false;
22383
- this.m_dataService.doQuery(p).subscribe(function (data) {
22384
- if (data != null)
22385
- if (data.result_msg == "OK") {
22370
+ p = new QParam();
22371
+ p.sql = "INSERT_WKF_COMMENTO";
22372
+ p.types = ["string", "string", "string", "string", "string"];
22373
+ p.values = [
22374
+ _this.id_applicativo,
22375
+ _this.get_grid().sRow.uiid,
22376
+ _this.tsr.instant("Documento riassegnato, commento:") + "\n" + _this.nota_wax,
22377
+ _this.user_idp,
22378
+ "",
22379
+ ];
22380
+ ok_op = false;
22381
+ _this.m_dataService.doQuery(p).subscribe(function (data) {
22382
+ if (data != null)
22383
+ if (data.result_msg == "OK") {
22384
+ p = new QParam();
22385
+ p.sql = "exec_app_workflow";
22386
+ p.values = [
22387
+ _this.codice_app,
22388
+ _this.get_grid().sRow.uiid,
22389
+ "" + _this.get_grid().sRow.stato,
22390
+ "" + _this.os_r.step,
22391
+ _this.user_idp,
22392
+ ];
22393
+ var ok_op_1 = false;
22394
+ _this.m_wkf.doQuery(p).subscribe(function (data) { });
22395
+ }
22396
+ });
22386
22397
  }
22387
22398
  });
22388
22399
  if (this.wax.length > 0) {