소스 검색

导出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('导出成功,是否去下载页', '提示', {