|
@@ -547,9 +547,8 @@
|
|
|
:visible.sync="upload.open"
|
|
|
append-to-body
|
|
|
:handleFileUploadProgress="handleFileUploadProgress"
|
|
|
- :handleFileSuccess="handleFileSuccess"
|
|
|
- @importTemplate="importTemplate"
|
|
|
- @submitFileForm="submitFileForm">
|
|
|
+ @handleFileSuccess="handleFileSuccess"
|
|
|
+ @importTemplate="importTemplate">
|
|
|
</upload-import>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
@@ -909,7 +908,6 @@ export default {
|
|
|
handleFileSuccess(response, file, fileList) {
|
|
|
this.upload.open = false;
|
|
|
this.upload.isUploading = false;
|
|
|
- this.$refs.upload.clearFiles();
|
|
|
this.$alert(response.msg, "导入结果", {
|
|
|
dangerouslyUseHTMLString: true
|
|
|
});
|
|
@@ -917,10 +915,6 @@ export default {
|
|
|
this.getSpare();
|
|
|
this.getCompanyList();
|
|
|
},
|
|
|
- // 提交上传文件
|
|
|
- submitFileForm() {
|
|
|
- this.$refs.upload.submit();
|
|
|
- },
|
|
|
/** 查询链属列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|