|
|
@@ -120,6 +120,9 @@ import moment from "moment";
|
|
|
import Decimal from "decimal.js";
|
|
|
import { isAlphanumericCombination } from "@/util/regex";
|
|
|
import { mapGetters } from "vuex";
|
|
|
+import {exportBloByPost} from "@/api/common";
|
|
|
+import {getToken} from "@/util/auth";
|
|
|
+import {downloadXls} from "@/util/util";
|
|
|
|
|
|
|
|
|
export default window.$crudCommon({
|
|
|
@@ -196,7 +199,7 @@ export default window.$crudCommon({
|
|
|
this.getList(this.page);
|
|
|
},
|
|
|
handleExport() {
|
|
|
- exportBloByPost(`/api/kd-scientific/xm/cqdtfy/export-xmCqdtfy?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
|
|
|
+ exportBloByPost(`/api/kd-scientific/xm/cqdtfy/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
|
|
|
downloadXls(res.data, `${this.pageTitle}.xlsx`);
|
|
|
});
|
|
|
},
|