Commit 48e3c791 authored by 黄奎's avatar 黄奎

111

parent 3925f4ca
...@@ -321,15 +321,17 @@ ...@@ -321,15 +321,17 @@
clearInterval(this.download_timer); clearInterval(this.download_timer);
this.checkedCities = []; this.checkedCities = [];
this.loadingText = "正在下载品牌文件,请勿关闭或刷新页面...";; this.loadingText = "正在下载品牌文件,请勿关闭或刷新页面...";;
var filepath = res.data.data; var fileUrl = res.data.data.fileUrl;
var filepath = res.data.data.filePath;
var key = res.data.message; var key = res.data.message;
var params = { var params = {
fileUrl: filepath fileUrl: fileUrl
} }
//删除缓存和Key //删除缓存和Key
var deleteparams = { var deleteparams = {
key: key, key: key,
fileUrl: filepath fileUrl: fileUrl,
filepath: filepath,
}; };
that.GetLocalFile( that.GetLocalFile(
"/api/Trade/GetFile", params, "品牌信息.xls", null, "/api/Trade/GetFile", params, "品牌信息.xls", null,
...@@ -339,7 +341,7 @@ ...@@ -339,7 +341,7 @@
that.apipost("/api/Trade/DeleteKey", deleteparams, (res) => { that.apipost("/api/Trade/DeleteKey", deleteparams, (res) => {
}) })
that.dialogVisible=false; 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