This commit is contained in:
wangyan 2024-08-22 23:04:22 +08:00
parent 15f5f0cb35
commit 3774b93eae

View File

@ -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() {