|
|
@@ -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`
|
|
|
+ );
|
|
|
+ });
|
|
|
},
|
|
|
},
|
|
|
};
|