|
|
@@ -32,7 +32,7 @@
|
|
|
|
|
|
<script>
|
|
|
import YearMonthSelect from "@/components/year-month-select";
|
|
|
-import {exportBlob} from "@/api/common";
|
|
|
+import {exportBloByPost} from "@/api/common";
|
|
|
import {getToken} from "@/util/auth";
|
|
|
import {downloadXls, summaryMethod} from "@/util/util";
|
|
|
import moment from "moment";
|
|
|
@@ -82,7 +82,7 @@ export default window.$crudCommon({
|
|
|
});
|
|
|
},
|
|
|
handleExport() {
|
|
|
- exportBlob(`/api/kd-scientific/lease/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
|
|
|
+ exportBloByPost(`/api/kd-scientific/cost/summary/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
|
|
|
downloadXls(res.data, `${this.pageTitle}.xlsx`);
|
|
|
});
|
|
|
},
|