|
@@ -502,7 +502,7 @@ export default {
|
|
|
formData.append("file", file);
|
|
|
// formData.append('policyId', this.searchForm.code)
|
|
|
// formData.append("mainId", this.searchForm.mainId);
|
|
|
- const result = await handleImport("/policy/importCustomer", formData);
|
|
|
+ const result = await handleImport("policy/importCustomer", formData);
|
|
|
console.log(result);
|
|
|
this.importLoading = false;
|
|
|
this.importFileList = [];
|
|
@@ -541,7 +541,7 @@ export default {
|
|
|
|
|
|
formData.append("policyId", this.comCode || this.code);
|
|
|
// formData.append("mainId", this.searchForm.mainId);
|
|
|
- const result = await handleImport("/policy/limit/import", formData);
|
|
|
+ const result = await handleImport("policy/limit/import", formData);
|
|
|
console.log(result);
|
|
|
this.importLoading = false;
|
|
|
this.importFileList = [];
|
|
@@ -559,10 +559,10 @@ export default {
|
|
|
},
|
|
|
// 下载经销商模板
|
|
|
hanleDownloadFiles() {
|
|
|
- downloadFiles("/policy/downloadCustomer");
|
|
|
+ downloadFiles("policy/downloadCustomer");
|
|
|
},
|
|
|
hanleDownloadFilesPolicy() {
|
|
|
- downloadFiles("/policy/limit/download");
|
|
|
+ downloadFiles("policy/limit/download");
|
|
|
},
|
|
|
getCommonApi(row) {
|
|
|
(this.isEdit = 2), (this.cid = row.id), (this.cpolicyId = row.policyId);
|