Commit f5f84650 authored by 黄奎's avatar 黄奎

去掉视频下载

parent 96163cd3
......@@ -315,7 +315,7 @@
}, 2000);
},
checkFile(msg) {
var fileName="品牌信息.xls";
var fileName = "品牌信息.xls";
var that = this;
this.apipost(
"/api/Trade/CheckBrandFile",
......@@ -353,7 +353,7 @@
responseType: 'arraybuffer',
onDownloadProgress: (progressEvent) => {
const progress = Math.round((progressEvent.loaded / progressEvent.total) * 100);
that.loadingText = `正在下载品牌文件` + progress + `%,请勿关闭或刷新页面...`;
that.loadingText = `正在下载品牌文件` + progress + `%,请勿关闭或刷新页面...`;
// 在这里处理下载进度, 如更新界面上的进度条
}
}).then((res) => {
......@@ -368,8 +368,7 @@
link.click();
that.downLoadLoading = false;
that.loadingText = "";
that.apipost("/api/Trade/DeleteKey", deleteparams, (res) => {
})
that.apipost("/api/Trade/DeleteKey", deleteparams, (res) => {})
that.dialogVisible = false;
}).catch(function (res) {
console.log(res);
......@@ -378,16 +377,18 @@
}
);
},
getDown() {
this.cityOptions = [];
this.apipost("/api/Trade/GetBusinessExportEnumList", {}, (res) => {
this.cities = res.data.data;
var tempData = [];
let data = res.data.data;
data.forEach((item) => {
this.cityOptions.push(item.Id);
if (item.Id != 5) {
this.cityOptions.push(item.Id);
tempData.push(item);
}
});
this.cities = tempData;
});
},
//获取商铺性质
......
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