@fluxhub/fluxhub-lib 19.0.248 → 19.0.249
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.
|
@@ -9861,12 +9861,14 @@ class FHGridComponent {
|
|
|
9861
9861
|
this.check_end(type == 'pdf' ? '.pdf' : '.xlsx');
|
|
9862
9862
|
});
|
|
9863
9863
|
}
|
|
9864
|
-
|
|
9864
|
+
// uiid e finestra dell'export che ha avviato il controllo: con un secondo export
|
|
9865
|
+
// partito nel frattempo (doppio clic) this.uiid_stampa/dialogRef_W sono gia' dell'altro
|
|
9866
|
+
check_end(format, uiid = this.uiid_stampa, dialogRef = this.dialogRef_W) {
|
|
9865
9867
|
let p = new FSInput();
|
|
9866
9868
|
p.p1 =
|
|
9867
9869
|
this.m_appService.LOCAL_PATH +
|
|
9868
9870
|
'grid_reports' + (this.m_appService.LOCAL_PATH.indexOf('/') >= 0 ? '/' : '\\') +
|
|
9869
|
-
|
|
9871
|
+
uiid +
|
|
9870
9872
|
'_' +
|
|
9871
9873
|
this.m_appService.user +
|
|
9872
9874
|
format;
|
|
@@ -9875,20 +9877,20 @@ class FHGridComponent {
|
|
|
9875
9877
|
if (data != null)
|
|
9876
9878
|
if (data.msg == 'N') {
|
|
9877
9879
|
setTimeout(() => {
|
|
9878
|
-
this.check_end(format);
|
|
9880
|
+
this.check_end(format, uiid, dialogRef);
|
|
9879
9881
|
}, 1000);
|
|
9880
9882
|
}
|
|
9881
9883
|
else {
|
|
9882
9884
|
setTimeout(() => {
|
|
9883
|
-
|
|
9885
|
+
dialogRef?.componentInstance?.update_progess(100);
|
|
9884
9886
|
});
|
|
9885
9887
|
setTimeout(() => {
|
|
9886
9888
|
this.downloadFile(this.m_appService.COMPANY_SITE_ROOT +
|
|
9887
9889
|
'/grid_reports/' +
|
|
9888
|
-
|
|
9890
|
+
uiid +
|
|
9889
9891
|
'_' +
|
|
9890
9892
|
this.m_appService.user +
|
|
9891
|
-
format,
|
|
9893
|
+
format, uiid +
|
|
9892
9894
|
'_' +
|
|
9893
9895
|
this.m_appService.user +
|
|
9894
9896
|
format);
|