|
@@ -934,7 +934,7 @@
|
|
|
<el-row class="row-style">
|
|
|
<el-col :xs="24" :sm="12" :lg="18" :span="6">
|
|
|
<el-form-item prop="filePath" label="资料附件:" label-width="200px" class="postInfo-container-item">
|
|
|
- <el-upload action="/api/upload" :limit="3" :on-success="changeresTarget" :on-exceed="handleExceed"
|
|
|
+ <el-upload action="/api/upload" :limit="10" :on-success="changeresTarget" :on-exceed="handleExceed"
|
|
|
:on-preview="handleAttachmentPreview" :before-remove="beforeRemove" :file-list="fileList">
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
|
class="el-icon-upload el-icon--right"></i></el-button>
|
|
@@ -1129,7 +1129,7 @@
|
|
|
<el-row class="row-style">
|
|
|
<el-col>
|
|
|
<el-form-item prop="filePath" label="资料附件:" label-width="140px" class="postInfo-container-item">
|
|
|
- <el-upload action="/api/upload" :limit="3" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
+ <el-upload action="/api/upload" :limit="10" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
:on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList">
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
|
class="el-icon-upload el-icon--right"></i></el-button>
|
|
@@ -1268,7 +1268,7 @@
|
|
|
<el-col>
|
|
|
<el-form-item :rules="{ required: true, message: '请上传附件资料', trigger: 'changes' }" prop="filePath"
|
|
|
label="资料附件:" label-width="120px" class="postInfo-container-item">
|
|
|
- <el-upload action="/api/upload" :limit="3" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
+ <el-upload action="/api/upload" :limit="10" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
:on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList">
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
|
class="el-icon-upload el-icon--right"></i></el-button>
|
|
@@ -1341,7 +1341,7 @@
|
|
|
<el-form>
|
|
|
<el-form-item :rules="{ required: true, message: '请上传附件资料', trigger: 'changes' }" prop="filePath"
|
|
|
label="资料附件:" label-width="120px" class="postInfo-container-item">
|
|
|
- <el-upload action="/api/upload" :limit="3" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
+ <el-upload action="/api/upload" :limit="10" :on-success="changeresProduction" :on-exceed="handleExceed"
|
|
|
:on-preview="handleAttachmentPreview" :before-remove="beforeRemovePro" :file-list="fileList">
|
|
|
<el-button plain type="info" round style="width: 100%">上传附件<i
|
|
|
class="el-icon-upload el-icon--right"></i></el-button>
|
|
@@ -2431,7 +2431,7 @@ export default {
|
|
|
},
|
|
|
// 文件上传数量限制
|
|
|
handleExceed() {
|
|
|
- this.$message.warning(`当前限制选择 3个文件!`);
|
|
|
+ this.$message.warning(`当前限制选择10个文件!`);
|
|
|
},
|
|
|
handleAttachmentPreview(file) {
|
|
|
// window.open(file.url)
|