dct il y a 3 jours
Parent
commit
09918ff762
1 fichiers modifiés avec 16 ajouts et 0 suppressions
  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('导出成功,是否去下载页', '提示', {