修改了案件压缩包限制条件

This commit is contained in:
gyj
2023-11-28 17:56:27 +08:00
parent 463e31ab37
commit 9b90c332f3
2 changed files with 7 additions and 6 deletions
+3
View File
@@ -34,6 +34,9 @@
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<!-- <el-row>
<el-button size="mini">案件归档</el-button>
</el-row> -->
<el-table v-loading="loading" :data="dataList" style="width: 100%">
<el-table-column label="序号" type="index" align="center">
<template slot-scope="scope">
@@ -27,7 +27,7 @@
<el-col :span="15">
<div style="margin:10px 0;font-size:12px;color:grey">
<span>
提示:请将多个excel文件压缩后上传
提示:请将多个excel文件压缩成zip格式后上传
</span>
</div>
</el-col>
@@ -42,7 +42,7 @@
class="upload-demo"
ref="uploadZipBatch"
:limit="1"
accept=".zip, .rar"
accept=".zip"
:headers="upload.headers"
:action="upload.url + '?updateSupport=' + upload.updateSupport"
:disabled="upload.isUploading"
@@ -55,7 +55,7 @@
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
<!-- <el-button size="small" type="primary">点击上传</el-button> -->
<div slot="tip" class="el-upload__tip">
支持rar或zip格式文件
支持zip格式文件
</div>
</el-upload>
</el-form-item>
@@ -113,9 +113,7 @@ export default {
handlePreview(file) {},
handleExceed(files, fileList) {
this.$message.warning(
`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
files.length + fileList.length
} 个文件`
`当前限制选择 1个文件,本次选择了 ${files.length} `
);
},
beforeRemove(file, fileList) {