|
|
@@ -434,7 +434,7 @@
|
|
|
>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
- <el-dialog :visible.sync="importVisible" width="25%">
|
|
|
+ <el-dialog :visible.sync="importVisible" title="批量导入" width="25%">
|
|
|
<el-upload
|
|
|
style="margin-bottom: 10px"
|
|
|
action="#"
|
|
|
@@ -1060,6 +1060,7 @@ export default {
|
|
|
this.excelFileList = fileList;
|
|
|
this.progressPercent = 100;
|
|
|
this.findPage();
|
|
|
+ this.importVisible = false;
|
|
|
} else {
|
|
|
this.excelFileList = [];
|
|
|
this.progressPercent = 0;
|
|
|
@@ -1071,6 +1072,7 @@ export default {
|
|
|
//增加类型批量导入
|
|
|
addTypeImport() {
|
|
|
this.importVisible = true;
|
|
|
+ this.excelFileList = [];
|
|
|
},
|
|
|
templateDownload() {
|
|
|
let a = document.createElement("a");
|
|
|
@@ -1564,7 +1566,7 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
.upload-demo {
|
|
|
- display: inline-block;
|
|
|
+ /* display: inline-block; */
|
|
|
}
|
|
|
.avatar {
|
|
|
border: 1px dashed #d9d9d9;
|