|
@@ -76,7 +76,7 @@
|
|
|
</span>
|
|
|
<span v-else><i class="el-icon-minus"></i></span>
|
|
|
<span style="float:right;">
|
|
|
- <el-upload ref="upload" class="upload-file" action="#" :auto-upload="false" :show-file-list="false" :on-change="onChange" multiple >
|
|
|
+ <el-upload :ref="'upload' + scope.$index" class="upload-file" action="#" :auto-upload="false" :show-file-list="false" :on-change="onChange" multiple >
|
|
|
<i class="el-icon-circle-plus-outline" style="font-size:20px;color:#409eff" @click="getRow(scope.row)"></i>
|
|
|
</el-upload>
|
|
|
</span>
|
|
@@ -268,7 +268,7 @@ export default {
|
|
|
await this.$api.editLitigationHistory(formData).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success('修改成功')
|
|
|
- this.$refs.upload.clearFiles()
|
|
|
+ this.$refs['upload'+ index].clearFiles()
|
|
|
row.fileList=[]
|
|
|
this.getList2(row,index)
|
|
|
}
|
|
@@ -277,7 +277,7 @@ export default {
|
|
|
await this.$api.addLitigationHistory(formData).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success('保存成功')
|
|
|
- this.$refs.upload.clearFiles()
|
|
|
+ this.$refs['upload'+ index].clearFiles()
|
|
|
row.fileList=[]
|
|
|
this.getList2(row,index)
|
|
|
}
|