Browse Source

Merge branch 'master' of http://123.60.19.203:8088/hitch/hitch-antd

guarantee-lsq 2 years ago
parent
commit
c40be38bbd
1 changed files with 6 additions and 2 deletions
  1. 6 2
      src/views/dashboard/RepairReportFee.vue

+ 6 - 2
src/views/dashboard/RepairReportFee.vue

@@ -201,8 +201,12 @@ export default {
         month: record.month,
         year: record.year
       }
-      exportMonthReportFeeMonth(parameter).then(file => {
-        this.BaseTool.UPLOAD.downLoadExportExcel(file)
+      exportMonthReportFeeMonth(parameter).then(res => {
+        if (res.data == null) {
+          this.$message.info(res.message)
+          return
+        }
+        this.BaseTool.UPLOAD.downLoadExportExcel(res)
       })
     },
     handlePrint (record) {