Commit cdaa694f authored by lenovo's avatar lenovo

六矿汇总

parent e4d5d162
...@@ -158,7 +158,7 @@ import { ...@@ -158,7 +158,7 @@ import {
updateSupplies, updateSupplies,
exportSupplies, exportSupplies,
getPid, getPid,
listSuppliesOne listSuppliesOne, exportSuppliesOne
} from "@/api/Actsupplies/Actsupplies"; } from "@/api/Actsupplies/Actsupplies";
export default { export default {
...@@ -396,13 +396,14 @@ export default { ...@@ -396,13 +396,14 @@ export default {
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
debugger
const queryParams = this.queryParams; const queryParams = this.queryParams;
this.$confirm('是否确认导出所有一级分类数据项?', "警告", { this.$confirm('是否确认导出所有一级分类数据项?', "警告", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(function() { }).then(function() {
return exportSupplies(queryParams); return exportSuppliesOne(queryParams);
}).then(response => { }).then(response => {
this.download(response.msg); this.download(response.msg);
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment