Browse Source

研发费用汇总表导出

ljb 8 months ago
parent
commit
bd3de577b0

+ 2 - 2
src/views/yf-cost-manage/yf-cost-statistics/wxzc-cost-statistics/yf-cost-summary-list.vue

@@ -32,7 +32,7 @@
 
 
 <script>
 <script>
 import YearMonthSelect from "@/components/year-month-select";
 import YearMonthSelect from "@/components/year-month-select";
-import {exportBlob} from "@/api/common";
+import {exportBloByPost} from "@/api/common";
 import {getToken} from "@/util/auth";
 import {getToken} from "@/util/auth";
 import {downloadXls, summaryMethod} from "@/util/util";
 import {downloadXls, summaryMethod} from "@/util/util";
 import moment from "moment";
 import moment from "moment";
@@ -82,7 +82,7 @@ export default window.$crudCommon({
       });
       });
     },
     },
     handleExport() {
     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`);
         downloadXls(res.data, `${this.pageTitle}.xlsx`);
       });
       });
     },
     },