|
|
@@ -27,7 +27,7 @@
|
|
27
|
27
|
<el-col :span="15">
|
|
28
|
28
|
<div style="margin:10px 0;font-size:12px;color:grey">
|
|
29
|
29
|
<span>
|
|
30
|
|
- 提示:请将多个excel文件压缩后上传
|
|
|
30
|
+ 提示:请将多个excel文件压缩成zip格式后上传
|
|
31
|
31
|
</span>
|
|
32
|
32
|
</div>
|
|
33
|
33
|
</el-col>
|
|
|
@@ -42,7 +42,7 @@
|
|
42
|
42
|
class="upload-demo"
|
|
43
|
43
|
ref="uploadZipBatch"
|
|
44
|
44
|
:limit="1"
|
|
45
|
|
- accept=".zip, .rar"
|
|
|
45
|
+ accept=".zip"
|
|
46
|
46
|
:headers="upload.headers"
|
|
47
|
47
|
:action="upload.url + '?updateSupport=' + upload.updateSupport"
|
|
48
|
48
|
:disabled="upload.isUploading"
|
|
|
@@ -55,7 +55,7 @@
|
|
55
|
55
|
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
|
56
|
56
|
<!-- <el-button size="small" type="primary">点击上传</el-button> -->
|
|
57
|
57
|
<div slot="tip" class="el-upload__tip">
|
|
58
|
|
- 支持rar或zip格式文件
|
|
|
58
|
+ 支持zip格式文件
|
|
59
|
59
|
</div>
|
|
60
|
60
|
</el-upload>
|
|
61
|
61
|
</el-form-item>
|
|
|
@@ -113,9 +113,7 @@ export default {
|
|
113
|
113
|
handlePreview(file) {},
|
|
114
|
114
|
handleExceed(files, fileList) {
|
|
115
|
115
|
this.$message.warning(
|
|
116
|
|
- `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
|
|
117
|
|
- files.length + fileList.length
|
|
118
|
|
- } 个文件`
|
|
|
116
|
+ `当前限制选择 1个文件,本次选择了 ${files.length} `
|
|
119
|
117
|
);
|
|
120
|
118
|
},
|
|
121
|
119
|
beforeRemove(file, fileList) {
|