Quellcode durchsuchen

报表,批量导出多张汇总表问题

MaiXinRong vor 3 Jahren
Ursprung
Commit
0c2a1cd80f
1 geänderte Dateien mit 10 neuen und 2 gelöschten Zeilen
  1. 10 2
      app/public/report/js/rpt_custom.js

+ 10 - 2
app/public/report/js/rpt_custom.js

@@ -268,7 +268,11 @@ const rptCustomObj = (function () {
         }
 
         // 初始化
-        $("#gather-select").modal('show');
+        if (resolve) {
+            setTimeout(() => { $("#gather-select").modal('show'); }, 500);
+        } else {
+            $("#gather-select").modal('show');
+        }
 
         $('#gather-select-ok').unbind('click');
         $('#gather-select-ok').bind('click', () => {rptCustomObj.resetGatherSelect(resolve);});
@@ -287,7 +291,11 @@ const rptCustomObj = (function () {
                 $('#stage-select-' + s)[0].checked = true;
             }
         }
-        $("#stage-select").modal('show');
+        if (resolve) {
+            setTimeout(() => { $("#stage-select").modal('show'); }, 500);
+        } else {
+            $("#stage-select").modal('show');
+        }
 
         $('#stage-select-ok').unbind('click');
         $('#stage-select-ok').bind('click', () => {rptCustomObj.resetStageSelect(resolve);});