@fluxhub/fluxhub-lib 22.0.9 → 22.0.10
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.
|
@@ -10929,13 +10929,15 @@ class FHGridComponent {
|
|
|
10929
10929
|
this.check_end(type == 'pdf' ? '.pdf' : '.xlsx');
|
|
10930
10930
|
});
|
|
10931
10931
|
}
|
|
10932
|
-
|
|
10932
|
+
// uiid e finestra dell'export che ha avviato il controllo: con un secondo export
|
|
10933
|
+
// partito nel frattempo (doppio clic) this.uiid_stampa/dialogRef_W sono gia' dell'altro
|
|
10934
|
+
check_end(format, uiid = this.uiid_stampa, dialogRef = this.dialogRef_W) {
|
|
10933
10935
|
let p = new FSInput();
|
|
10934
10936
|
p.p1 =
|
|
10935
10937
|
this.m_appService.LOCAL_PATH +
|
|
10936
10938
|
'grid_reports' +
|
|
10937
10939
|
(this.m_appService.LOCAL_PATH.indexOf('/') >= 0 ? '/' : '\\') +
|
|
10938
|
-
|
|
10940
|
+
uiid +
|
|
10939
10941
|
'_' +
|
|
10940
10942
|
this.m_appService.user +
|
|
10941
10943
|
format;
|
|
@@ -10944,20 +10946,20 @@ class FHGridComponent {
|
|
|
10944
10946
|
if (data != null)
|
|
10945
10947
|
if (data.msg == 'N') {
|
|
10946
10948
|
setTimeout(() => {
|
|
10947
|
-
this.check_end(format);
|
|
10949
|
+
this.check_end(format, uiid, dialogRef);
|
|
10948
10950
|
}, 1000);
|
|
10949
10951
|
}
|
|
10950
10952
|
else {
|
|
10951
10953
|
setTimeout(() => {
|
|
10952
|
-
|
|
10954
|
+
dialogRef?.componentInstance?.update_progess(100);
|
|
10953
10955
|
});
|
|
10954
10956
|
setTimeout(() => {
|
|
10955
10957
|
this.downloadFile(this.m_appService.COMPANY_SITE_ROOT +
|
|
10956
10958
|
'/grid_reports/' +
|
|
10957
|
-
|
|
10959
|
+
uiid +
|
|
10958
10960
|
'_' +
|
|
10959
10961
|
this.m_appService.user +
|
|
10960
|
-
format,
|
|
10962
|
+
format, uiid + '_' + this.m_appService.user + format);
|
|
10961
10963
|
}, 2000);
|
|
10962
10964
|
}
|
|
10963
10965
|
});
|