Commit cdaa694f authored by lenovo's avatar lenovo

六矿汇总

parent e4d5d162
......@@ -158,7 +158,7 @@ import {
updateSupplies,
exportSupplies,
getPid,
listSuppliesOne
listSuppliesOne, exportSuppliesOne
} from "@/api/Actsupplies/Actsupplies";
export default {
......@@ -396,13 +396,14 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
debugger
const queryParams = this.queryParams;
this.$confirm('是否确认导出所有一级分类数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(function() {
return exportSupplies(queryParams);
return exportSuppliesOne(queryParams);
}).then(response => {
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