Commit 9c841840 by 陈浩建

学校批量导出导入

parent 6c7b040e
......@@ -18,7 +18,7 @@ let insert= (params) => postAction(prefix + "/school/schoolManagement/insert" ,
let hidestatus= (params) => postAction(prefix + "/school/schoolManagement/hidestatus" , params);
// 下载学校模板
let excelMBOut = (params) => postAction(prefix + "/school/schoolManagement/excelMBOut" , params);
let excelMBOut = (params) => downFilePost(prefix + "/school/schoolManagement/excelMBOut" , params);
// 下载学校列表
let reportDownload = (params) => downFilePost(prefix + "/school/schoolManagement/excelOut",params);
......
......@@ -580,7 +580,6 @@
},
// 执行上传
doPush(res) {
debugger
if (!res || !res.response) {
this.$message.error("上传文件出错!", 10);
return false;
......@@ -593,9 +592,7 @@
this.$message.success("上传成功!" + response.data, 5);
this.impXXModal = false;
},
downloadXXMoBan:function (){
exportFile(excelMBOut(), "学校列表模板.xlsx");
},
add(){
this.titleName="添加"
this.isShowMore = true;
......@@ -906,6 +903,9 @@
this.downloadstatu
);
},
downloadXXMoBan:function (){
exportFile(excelMBOut(), "学校列表模板.xlsx");
},
downloadstatu() {
this.callback = false;
},
......
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