@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.
@@ -1943,7 +1943,7 @@ class FHUploadS3Component {
1943
1943
  this.programma_da_eseguire = "";
1944
1944
  this.label_attendere = "ATTENDERE UPLOAD IN CORSO";
1945
1945
  this.fixed_label = " (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)";
1946
- this.limit_string = "Il file di <size>MB supera il limite di 500MB";
1946
+ this.limit_string = "Il file di <size>MB supera il limite di 1GB";
1947
1947
  this.allegato_inserito = "ALLEGATO INSERITO";
1948
1948
  this.inserire_descrizione = "Descrizione Obbligatoria";
1949
1949
  this.lista_allegati = [];
@@ -1969,7 +1969,7 @@ class FHUploadS3Component {
1969
1969
  this.b_ini = false;
1970
1970
  this.uploader = new FileUploader({
1971
1971
  url: this.app_s.API_ENDPOINT + this.app_s.UPLOAD_ENDPOINT + "_new",
1972
- maxFileSize: 500 * 1024 * 1024,
1972
+ maxFileSize: 1000 * 1024 * 1024,
1973
1973
  });
1974
1974
  this.id_component = '';
1975
1975
  this.last_result = {};
@@ -8171,7 +8171,7 @@ class FHUploadComponent {
8171
8171
  this.label_attendere = "ATTENDERE UPLOAD IN CORSO";
8172
8172
  this.sovrascrivi_path = "";
8173
8173
  this.fixed_label = " (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)";
8174
- this.limit_string = "Il file di <size>MB supera il limite di 500MB";
8174
+ this.limit_string = "Il file di <size>MB supera il limite di 1GB";
8175
8175
  this.allegato_inserito = "ALLEGATO INSERITO";
8176
8176
  this.inserire_descrizione = "Descrizione Obbligatoria";
8177
8177
  this.selezionare_tipologia = "Selezionare la Tipologia";
@@ -8200,7 +8200,7 @@ class FHUploadComponent {
8200
8200
  this.last_result = {};
8201
8201
  this.uploader = new FileUploader({
8202
8202
  url: this.app_s.API_ENDPOINT + this.app_s.UPLOAD_ENDPOINT,
8203
- maxFileSize: 500 * 1024 * 1024,
8203
+ maxFileSize: 1000 * 1024 * 1024,
8204
8204
  });
8205
8205
  this.id = null;
8206
8206
  this.ver = -1;
@@ -17153,26 +17153,6 @@ class dati_aggiuntivi {
17153
17153
  this.m_lettori = this.m_lettori + this.livs[i].idp;
17154
17154
  }
17155
17155
  }
17156
- if (this.nlevel.livello >= 900) {
17157
- let ltn = this.getLvlInfo(this.nlevel.livello);
17158
- /*
17159
- if(ltn!=null){
17160
-
17161
- if(ltn.crea_revisione==1)
17162
- myRPC.archivia_revisioni(id_applicativo, id_documento,user.IDP.toUpperCase(), m_obj.codice);
17163
- }
17164
- */
17165
- this.doEnd(this.nlevel.livello);
17166
- let p = new QParam();
17167
- p.sql = "UPDATE_DATA_CHIUSURA";
17168
- p.values = [this.id_applicativo, this.id_documento];
17169
- p.types = ["string", "string"];
17170
- this.m_dataService.doQuery(p).subscribe((data) => {
17171
- if (data != null)
17172
- if (data.result_msg == "OK") {
17173
- }
17174
- });
17175
- }
17176
17156
  let ccan = "$$";
17177
17157
  for (let i = 0; i < this.livs.length; i++) {
17178
17158
  if (this.livs[i].livello == this.clevel.livello &&
@@ -17262,22 +17242,42 @@ class dati_aggiuntivi {
17262
17242
  let ok_op = false;
17263
17243
  if (data != null)
17264
17244
  if (data.result_msg == "OK") {
17245
+ if (this.nlevel.livello >= 900) {
17246
+ // let ltn: any = this.getLvlInfo(this.nlevel.livello);
17247
+ /*
17248
+ if(ltn!=null){
17249
+
17250
+ if(ltn.crea_revisione==1)
17251
+ myRPC.archivia_revisioni(id_applicativo, id_documento,user.IDP.toUpperCase(), m_obj.codice);
17252
+ }
17253
+ */
17254
+ this.doEnd(this.nlevel.livello);
17255
+ let p = new QParam();
17256
+ p.sql = "UPDATE_DATA_CHIUSURA";
17257
+ p.values = [this.id_applicativo, this.id_documento];
17258
+ p.types = ["string", "string"];
17259
+ this.m_dataService.doQuery(p).subscribe((data) => {
17260
+ if (data != null)
17261
+ if (data.result_msg == "OK") {
17262
+ }
17263
+ });
17264
+ }
17265
+ p = new QParam();
17266
+ p.sql = "exec_app_workflow";
17267
+ p.values = [
17268
+ this.app_info.codice_documento,
17269
+ this.id_documento,
17270
+ "" + this.clevel.livello,
17271
+ "" + this.nlevel.livello,
17272
+ this.user_idp,
17273
+ ];
17274
+ let ok_op = false;
17275
+ this.m_wkf.doQuery(p).subscribe((data) => { });
17265
17276
  }
17266
17277
  });
17267
- p = new QParam();
17268
- p.sql = "exec_app_workflow";
17269
- p.values = [
17270
- this.app_info.codice_documento,
17271
- this.id_documento,
17272
- "" + this.clevel.livello,
17273
- "" + this.nlevel.livello,
17274
- this.user_idp,
17275
- ];
17276
- let ok_op = false;
17277
- this.m_wkf.doQuery(p).subscribe((data) => { });
17278
17278
  let ical = null;
17279
17279
  let comm = "";
17280
- console.log('QUI COMMMM');
17280
+ // console.log('QUI COMMMM');
17281
17281
  if (this.nota != "")
17282
17282
  comm = "<br>Commento: <br>" + this.nota;
17283
17283
  if (this.nlevel.ical == 1) {