|
@@ -205,7 +205,7 @@
|
|
|
</el-dialog>
|
|
|
<!-- 上传Excel表格 -->
|
|
|
<el-dialog title="上传Excel表格" :visible.sync="exceldialogVisible" width="40%" append-to-body
|
|
|
- :before-close="excelhandleClose">
|
|
|
+ :before-close="cancleexceldialog">
|
|
|
<span>
|
|
|
<el-upload accept=".xls, .xlsx" class="upload-demo" action="#" :auto-upload="false" :on-change="excelhandleChange"
|
|
|
:show-file-list="false" multiple :on-exceed="excelhandleExceed" :file-list="excelfileList"
|
|
@@ -1023,6 +1023,7 @@ export default {
|
|
|
this.curTreeData = data;
|
|
|
this.exceldialogVisible = true
|
|
|
},
|
|
|
+
|
|
|
|
|
|
excelhandleChange(file, fileList) {
|
|
|
this.dataList = fileList
|
|
@@ -1060,6 +1061,7 @@ export default {
|
|
|
loading.close();
|
|
|
});
|
|
|
this.$refs.excelmoudelupload.clearFiles();
|
|
|
+ this.cancleexceldialog()
|
|
|
|
|
|
},
|
|
|
//更改上传文件顺序
|
|
@@ -1086,6 +1088,7 @@ export default {
|
|
|
cancleexceldialog(){
|
|
|
this.exceldialogVisible=false
|
|
|
this.dataList=[]
|
|
|
+ this.excelfileList=[]
|
|
|
}
|
|
|
},
|
|
|
created() {
|