|
|
|
@ -995,15 +995,11 @@ export default {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
uploadSuccess(fileList) { |
|
|
|
|
console.log('123123123', fileList); |
|
|
|
|
// this.form.fileName = |
|
|
|
|
// this.$set(row, 'imageCos', fileList); |
|
|
|
|
if (this.title == '编辑') { |
|
|
|
|
this.bianji = true; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
handleRemove(file) { |
|
|
|
|
console.log('3333333', file); |
|
|
|
|
let id1 = this.fileList.findIndex(item => { |
|
|
|
|
if (item.id == file.url) { |
|
|
|
|
return true; |
|
|
|
@ -1013,7 +1009,6 @@ export default {
|
|
|
|
|
console.log('fileList', this.fileList); |
|
|
|
|
}, |
|
|
|
|
handleCo(file, fileList) { |
|
|
|
|
// console.log('3333333',file, fileList); |
|
|
|
|
this.showImgViewer = false; |
|
|
|
|
}, |
|
|
|
|
//文件上传前的一些业务需要的校验 |
|
|
|
@ -1031,13 +1026,13 @@ export default {
|
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
handlePreview(file) { |
|
|
|
|
console.log('111111', file); |
|
|
|
|
|
|
|
|
|
this.imgPreviewUrl[0] = file.response.data.link; |
|
|
|
|
// this.imgPreviewUrl[0] = file.url; |
|
|
|
|
// this.imgPreviewUrl[0] = this.$api + file.response.data.id |
|
|
|
|
|
|
|
|
|
this.showImgViewer = true; |
|
|
|
|
|
|
|
|
|
console.log('-=-=sc上传', this.fileList); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
handleExceed(files, fileList) { |
|
|
|
|
this.$message.warning( |
|
|
|
|