| @@ -12,7 +12,7 @@ | |||||
| <div style="margin-top: 2rem;position: relative;"> | <div style="margin-top: 2rem;position: relative;"> | ||||
| <label class="el-form-item__label" style="width: 140px;position: absolute;left: -140px;">上传状态:</label> | <label class="el-form-item__label" style="width: 140px;position: absolute;left: -140px;">上传状态:</label> | ||||
| <div v-for="item in allUploadFiles" style="display:flex;padding: 0.8rem 0;border-bottom: 1px solid #e8e8e8;line-height: 1;" > | <div v-for="item in allUploadFiles" style="display:flex;padding: 0.8rem 0;border-bottom: 1px solid #e8e8e8;line-height: 1;" > | ||||
| <span style="flex:4 1 0%;display: flex;"><i :class="[item.status===0?'ri-checkbox-circle-line success':'ri-close-circle-line failed']" style="margin-right: 0.5rem;"></i>{{item.name}}</span> | |||||
| <span style="flex:4 1 0%;display: flex;max-width: 80%;"><i :class="[item.status===0?'ri-checkbox-circle-line success':'ri-close-circle-line failed']" style="margin-right: 0.5rem;"></i><span class="nowrap">{{item.name}}</span></span> | |||||
| <span style="flex:1" v-if="item.status===0"><span style="color: #21ba45;">上传成功</span></span> | <span style="flex:1" v-if="item.status===0"><span style="color: #21ba45;">上传成功</span></span> | ||||
| @@ -215,6 +215,7 @@ export default { | |||||
| // this.dropzoneUploader.emit('complete', file); | // this.dropzoneUploader.emit('complete', file); | ||||
| }, | }, | ||||
| finishUpload(file) { | finishUpload(file) { | ||||
| console.log("finish",file) | |||||
| file.previewTemplate.querySelector( | file.previewTemplate.querySelector( | ||||
| '.dz-success-mark' | '.dz-success-mark' | ||||
| ).style.opacity = 1 | ).style.opacity = 1 | ||||