导入
This commit is contained in:
parent
15f5f0cb35
commit
3774b93eae
|
|
@ -5,8 +5,9 @@
|
|||
ref="upload"
|
||||
:limit="1"
|
||||
accept=".xlsx, .xls"
|
||||
method="get"
|
||||
:headers="upload.headers"
|
||||
:action="upload.url + '?updateSupport=' + upload.updateSupport"
|
||||
:action="upload.url"
|
||||
:disabled="upload.isUploading"
|
||||
:on-progress="handleFileUploadProgress"
|
||||
:on-success="handleFileSuccess"
|
||||
|
|
@ -245,7 +246,7 @@ export default {
|
|||
// 设置上传的请求头部
|
||||
headers: { Authorization: "Bearer " + getToken() },
|
||||
// 上传的地址
|
||||
url: process.env.BASE_API + "/api/douyinAfterSales/importAfterSaleData"
|
||||
url: "/api/douyinAfterSales/importAfterSaleData"
|
||||
},
|
||||
quanxian:false,
|
||||
afterSalesTypeArr: [],
|
||||
|
|
@ -306,7 +307,7 @@ export default {
|
|||
this.upload.isUploading = false;
|
||||
this.$refs.upload.clearFiles();
|
||||
this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
|
||||
this.getList();
|
||||
this.init();
|
||||
},
|
||||
// 提交上传文件
|
||||
submitFileForm() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user