@fluxhub/fluxhub-lib 10.0.503 → 10.0.505

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.
@@ -1964,7 +1964,7 @@
1964
1964
  this.programma_da_eseguire = "";
1965
1965
  this.label_attendere = "ATTENDERE UPLOAD IN CORSO";
1966
1966
  this.fixed_label = " (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)";
1967
- this.limit_string = "Il file di <size>MB supera il limite di 500MB";
1967
+ this.limit_string = "Il file di <size>MB supera il limite di 1GB";
1968
1968
  this.allegato_inserito = "ALLEGATO INSERITO";
1969
1969
  this.inserire_descrizione = "Descrizione Obbligatoria";
1970
1970
  this.lista_allegati = [];
@@ -1990,7 +1990,7 @@
1990
1990
  this.b_ini = false;
1991
1991
  this.uploader = new ng2FileUpload.FileUploader({
1992
1992
  url: this.app_s.API_ENDPOINT + this.app_s.UPLOAD_ENDPOINT + "_new",
1993
- maxFileSize: 500 * 1024 * 1024,
1993
+ maxFileSize: 1000 * 1024 * 1024,
1994
1994
  });
1995
1995
  this.id_component = '';
1996
1996
  this.last_result = {};
@@ -4745,7 +4745,7 @@
4745
4745
  this.label_attendere = "ATTENDERE UPLOAD IN CORSO";
4746
4746
  this.sovrascrivi_path = "";
4747
4747
  this.fixed_label = " (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)";
4748
- this.limit_string = "Il file di <size>MB supera il limite di 500MB";
4748
+ this.limit_string = "Il file di <size>MB supera il limite di 1GB";
4749
4749
  this.allegato_inserito = "ALLEGATO INSERITO";
4750
4750
  this.inserire_descrizione = "Descrizione Obbligatoria";
4751
4751
  this.selezionare_tipologia = "Selezionare la Tipologia";
@@ -4774,7 +4774,7 @@
4774
4774
  this.last_result = {};
4775
4775
  this.uploader = new ng2FileUpload.FileUploader({
4776
4776
  url: this.app_s.API_ENDPOINT + this.app_s.UPLOAD_ENDPOINT,
4777
- maxFileSize: 500 * 1024 * 1024,
4777
+ maxFileSize: 1000 * 1024 * 1024,
4778
4778
  });
4779
4779
  this.id = null;
4780
4780
  this.ver = -1;
@@ -17962,26 +17962,6 @@
17962
17962
  this.m_lettori = this.m_lettori + this.livs[i].idp;
17963
17963
  }
17964
17964
  }
17965
- if (this.nlevel.livello >= 900) {
17966
- var ltn = this.getLvlInfo(this.nlevel.livello);
17967
- /*
17968
- if(ltn!=null){
17969
-
17970
- if(ltn.crea_revisione==1)
17971
- myRPC.archivia_revisioni(id_applicativo, id_documento,user.IDP.toUpperCase(), m_obj.codice);
17972
- }
17973
- */
17974
- this.doEnd(this.nlevel.livello);
17975
- var p_1 = new QParam();
17976
- p_1.sql = "UPDATE_DATA_CHIUSURA";
17977
- p_1.values = [this.id_applicativo, this.id_documento];
17978
- p_1.types = ["string", "string"];
17979
- this.m_dataService.doQuery(p_1).subscribe(function (data) {
17980
- if (data != null)
17981
- if (data.result_msg == "OK") {
17982
- }
17983
- });
17984
- }
17985
17965
  var ccan = "$$";
17986
17966
  for (var i = 0; i < this.livs.length; i++) {
17987
17967
  if (this.livs[i].livello == this.clevel.livello &&
@@ -18071,22 +18051,42 @@
18071
18051
  var ok_op = false;
18072
18052
  if (data != null)
18073
18053
  if (data.result_msg == "OK") {
18054
+ if (_this.nlevel.livello >= 900) {
18055
+ // let ltn: any = this.getLvlInfo(this.nlevel.livello);
18056
+ /*
18057
+ if(ltn!=null){
18058
+
18059
+ if(ltn.crea_revisione==1)
18060
+ myRPC.archivia_revisioni(id_applicativo, id_documento,user.IDP.toUpperCase(), m_obj.codice);
18061
+ }
18062
+ */
18063
+ _this.doEnd(_this.nlevel.livello);
18064
+ var p_1 = new QParam();
18065
+ p_1.sql = "UPDATE_DATA_CHIUSURA";
18066
+ p_1.values = [_this.id_applicativo, _this.id_documento];
18067
+ p_1.types = ["string", "string"];
18068
+ _this.m_dataService.doQuery(p_1).subscribe(function (data) {
18069
+ if (data != null)
18070
+ if (data.result_msg == "OK") {
18071
+ }
18072
+ });
18073
+ }
18074
+ p = new QParam();
18075
+ p.sql = "exec_app_workflow";
18076
+ p.values = [
18077
+ _this.app_info.codice_documento,
18078
+ _this.id_documento,
18079
+ "" + _this.clevel.livello,
18080
+ "" + _this.nlevel.livello,
18081
+ _this.user_idp,
18082
+ ];
18083
+ var ok_op_1 = false;
18084
+ _this.m_wkf.doQuery(p).subscribe(function (data) { });
18074
18085
  }
18075
18086
  });
18076
- p = new QParam();
18077
- p.sql = "exec_app_workflow";
18078
- p.values = [
18079
- this.app_info.codice_documento,
18080
- this.id_documento,
18081
- "" + this.clevel.livello,
18082
- "" + this.nlevel.livello,
18083
- this.user_idp,
18084
- ];
18085
- var ok_op = false;
18086
- this.m_wkf.doQuery(p).subscribe(function (data) { });
18087
18087
  var ical = null;
18088
18088
  var comm = "";
18089
- console.log('QUI COMMMM');
18089
+ // console.log('QUI COMMMM');
18090
18090
  if (this.nota != "")
18091
18091
  comm = "<br>Commento: <br>" + this.nota;
18092
18092
  if (this.nlevel.ical == 1) {
@@ -18972,7 +18972,7 @@
18972
18972
  "" + lvlb,
18973
18973
  ];
18974
18974
  _this.insert_wkf_variabile(_this.id_applicativo, _this.id_documento, _this.m_obj.stato + "_PLAYER", _this.user_idp);
18975
- var ok_op_1 = false;
18975
+ var ok_op_2 = false;
18976
18976
  _this.m_wkf.doQuery(p_4).subscribe(function (data) {
18977
18977
  var ok_op = false;
18978
18978
  if (data != null)
@@ -19050,7 +19050,7 @@
19050
19050
  _this.goto_edit_doc();
19051
19051
  }
19052
19052
  });
19053
- ok_op_1 = true;
19053
+ ok_op_2 = true;
19054
19054
  }
19055
19055
  if (!ok_op) {
19056
19056
  _this.alert(data.msg, 1);