Commit 3925f4ca authored by 黄奎's avatar 黄奎

111

parent ebb84dbe
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
</div> </div>
</el-form> </el-form>
<div style="text-align: right; margin-top: 20px"> <div style="text-align: right; margin-top: 20px">
<el-button size="small" type="primary" @click="Export">导出</el-button> <el-button size="small" type="primary" @click="downloadBrandFile">导出</el-button>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
...@@ -298,13 +298,12 @@ ...@@ -298,13 +298,12 @@
); );
}, },
//批量导出 //批量导出
Export() { downloadBrandFile() {
this.msg.ExcelEnumIds = this.checkedCities; this.msg.ExcelEnumIds = this.checkedCities;
let msg = JSON.parse(JSON.stringify(this.msg)); let msg = JSON.parse(JSON.stringify(this.msg));
if (!msg.Id || msg.Id == "") { if (!msg.Id || msg.Id == "") {
msg.Id = 0; msg.Id = 0;
} }
this.downLoadLoading = true; this.downLoadLoading = true;
this.loadingText = "正在下载品牌文件,请勿关闭或刷新页面..."; this.loadingText = "正在下载品牌文件,请勿关闭或刷新页面...";
var that = this; var that = this;
...@@ -340,6 +339,7 @@ ...@@ -340,6 +339,7 @@
that.apipost("/api/Trade/DeleteKey", deleteparams, (res) => { that.apipost("/api/Trade/DeleteKey", deleteparams, (res) => {
}) })
that.dialogVisible=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