Browse Source

导出功能修改

Koishi 3 years ago
parent
commit
f339b54f8b
2 changed files with 4 additions and 2 deletions
  1. 2 2
      sh.exe.stackdump
  2. 2 0
      src/views/report/ExportExcel.vue

+ 2 - 2
sh.exe.stackdump

@@ -1,8 +1,8 @@
 Stack trace:
 Stack trace:
 Frame        Function    Args
 Frame        Function    Args
-00000010002  0018006021E (00180241C10, 001802340B9, 00000010002, 000FFFFBA40)
+00000010002  0018006021E (00180241C10, 001802340B9, 00000000000, 000FFFFBA40)
 00000010002  00180048859 (00000000001, 00180328B40, 00000000001, 00180328B40)
 00000010002  00180048859 (00000000001, 00180328B40, 00000000001, 00180328B40)
-00000010002  00180048892 (00000000001, 00180328E50, 00000010002, 00000000008)
+00000010002  00180048892 (00000000001, 00180328E50, 00000000000, 00000000008)
 00000010002  001800598BC (001800C0322, 00000000000, 00000000000, 00000000000)
 00000010002  001800598BC (001800C0322, 00000000000, 00000000000, 00000000000)
 000FFFFCCD0  0018005994E (000FFFFCDF0, 000FFFFCCD0, FFFFFFFFFFFFFFD8, 00000000000)
 000FFFFCCD0  0018005994E (000FFFFCDF0, 000FFFFCCD0, FFFFFFFFFFFFFFD8, 00000000000)
 000FFFFCCD0  00180048FE1 (00000000000, 00000000000, 00000000000, 00000000000)
 000FFFFCCD0  00180048FE1 (00000000000, 00000000000, 00000000000, 00000000000)

+ 2 - 0
src/views/report/ExportExcel.vue

@@ -183,6 +183,7 @@ export default {
       that.API.requestData({
       that.API.requestData({
         method: "GET",
         method: "GET",
         subUrl: "export/downloadFile",
         subUrl: "export/downloadFile",
+        showLoading: true,
         data: {
         data: {
           station: that.tableData[index].value,
           station: that.tableData[index].value,
           templateId: that.templateId,
           templateId: that.templateId,
@@ -265,6 +266,7 @@ export default {
       that.API.requestData({
       that.API.requestData({
         method: "GET",
         method: "GET",
         subUrl: "export/downloadFile",
         subUrl: "export/downloadFile",
+        showLoading: true,
         data: {
         data: {
           station: station.toString(),
           station: station.toString(),
           templateId: that.templateId,
           templateId: that.templateId,