瀏覽代碼

导出bug

dct 3 天之前
父節點
當前提交
09918ff762
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      src/views/queryReport/checkAndPrintReport.vue

+ 16 - 0
src/views/queryReport/checkAndPrintReport.vue

@@ -233,6 +233,22 @@ export default {
         })
       })
     },
+    handelExport (params) {
+      getCheckAndPrintStatistics(params).then(res => {
+        this.$confirm('导出成功,是否去下载页', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
+        }).then(() => {
+          this.$router.push('/queryReport/reportExport')
+        }).catch(() => {})
+      }, () => {
+        this.$notify.error({
+          title: '提示',
+          message: '导出失败'
+        })
+      })
+    },
     exportReport (params) {
       getCheckAndPrintStatistics(params).then(() => {
         this.$confirm('导出成功,是否去下载页', '提示', {