Browse Source

高企发展年报导出

ljb 8 months ago
parent
commit
ffd9e7d342
1 changed files with 11 additions and 12 deletions
  1. 11 12
      src/views/external-reports/external-manage/high-comp-annual-report.vue

+ 11 - 12
src/views/external-reports/external-manage/high-comp-annual-report.vue

@@ -240,18 +240,17 @@ export default {
       });
     },
     handleExport() {
-      this.$message.warning('功能建设中...');
-      // exportBlob(
-      //   `/api/kd-scientific/gxjsqyyhqkjmxb/export?${
-      //     this.website.tokenHeader
-      //   }=${getToken()}`,
-      //   { year: this.year }
-      // ).then((res) => {
-      //   downloadXls(
-      //     res.data,
-      //     `${this.pageTitle}.xlsx`
-      //   );
-      // });
+      exportBlob(
+        `/api/kd-scientific/gqnb/export?${
+          this.website.tokenHeader
+        }=${getToken()}`,
+        { year: this.year }
+      ).then((res) => {
+        downloadXls(
+          res.data,
+          `${this.pageTitle}.xlsx`
+        );
+      });
     },
   },
 };