Commit 5756fbc0 by heshihao

feat: 修改批量下载

parent 0144a39e
......@@ -201,7 +201,6 @@ export const keyProjectExport = (data) => {
url: "/keyproject/keyproject/export",
urlType: "api5",
data,
responseType: "blob",
});
};
......
......@@ -388,8 +388,8 @@ export default {
// 数据导出
async onDataExport() {
const res = await keyProjectExport();
downFile.excel(res, "重点项目");
this.$message.success("导出成功");
window.open(res.url);
},
// 每页
handleSizeChange(val) {
......
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