|
@@ -550,7 +550,9 @@
|
|
console.log(this.dataListNew)
|
|
console.log(this.dataListNew)
|
|
this.inputForm.workAttachments = []
|
|
this.inputForm.workAttachments = []
|
|
this.dataListNew.forEach((item) => {
|
|
this.dataListNew.forEach((item) => {
|
|
- item.url = item.raw.url
|
|
|
|
|
|
+ if (item.id === null || item.id === undefined || item.id === '' ){
|
|
|
|
+ item.url = item.raw.url
|
|
|
|
+ }
|
|
item.attachmentFlag = 'projectRecords'
|
|
item.attachmentFlag = 'projectRecords'
|
|
item.fileSize = item.size
|
|
item.fileSize = item.size
|
|
item.attachmentName = item.name
|
|
item.attachmentName = item.name
|