@fluxhub/fluxhub-lib 10.0.697 → 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.
@@ -20592,7 +20592,6 @@
20592
20592
  "" + _this.nlevel.livello,
20593
20593
  _this.user_idp,
20594
20594
  ];
20595
- var ok_op_1 = false;
20596
20595
  _this.m_wkf.doQuery(p).subscribe(function (data) { });
20597
20596
  }
20598
20597
  });
@@ -21513,7 +21512,7 @@
21513
21512
  "" + lvlb,
21514
21513
  ];
21515
21514
  _this.insert_wkf_variabile(_this.id_applicativo, _this.id_documento, _this.m_obj.stato + "_PLAYER", _this.user_idp);
21516
- var ok_op_2 = false;
21515
+ var ok_op_1 = false;
21517
21516
  _this.m_wkf.doQuery(p_4).subscribe(function (data) {
21518
21517
  var ok_op = false;
21519
21518
  if (data != null)
@@ -21591,7 +21590,7 @@
21591
21590
  _this.goto_edit_doc();
21592
21591
  }
21593
21592
  });
21594
- ok_op_2 = true;
21593
+ ok_op_1 = true;
21595
21594
  }
21596
21595
  if (!ok_op) {
21597
21596
  _this.alert(data.msg, 1);
@@ -22368,22 +22367,33 @@
22368
22367
  if (data != null)
22369
22368
  if (data.result_msg == "OK") {
22370
22369
  _this.get_grid().Refresh();
22371
- }
22372
- });
22373
- p = new QParam();
22374
- p.sql = "INSERT_WKF_COMMENTO";
22375
- p.types = ["string", "string", "string", "string", "string"];
22376
- p.values = [
22377
- this.id_applicativo,
22378
- this.get_grid().sRow.uiid,
22379
- this.tsr.instant("Documento riassegnato, commento:") + "\n" + this.nota_wax,
22380
- this.user_idp,
22381
- "",
22382
- ];
22383
- ok_op = false;
22384
- this.m_dataService.doQuery(p).subscribe(function (data) {
22385
- if (data != null)
22386
- 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
+ });
22387
22397
  }
22388
22398
  });
22389
22399
  if (this.wax.length > 0) {