|
|
|
@ -375,11 +375,11 @@ export default { |
|
|
|
if (res.code === 0 && res.msg === "success") { |
|
|
|
console.log("res.data.url", res.data.url); |
|
|
|
this.audioList.push({ |
|
|
|
format: file.name.split(".").pop(), |
|
|
|
name: file.name, |
|
|
|
attachmentFormat: file.name.split(".").pop(), |
|
|
|
attachmentName: file.name, |
|
|
|
size: file.size, |
|
|
|
type: file.raw.type, |
|
|
|
url: res.data.url, |
|
|
|
attachmentType: file.raw.type, |
|
|
|
attachmentUrl: res.data.url, |
|
|
|
}); |
|
|
|
console.log(this.formData.files); |
|
|
|
} else { |
|
|
|
@ -407,11 +407,11 @@ export default { |
|
|
|
if (res.code === 0 && res.msg === "success") { |
|
|
|
console.log("res.data.url", res.data.url); |
|
|
|
this.imgList.push({ |
|
|
|
format: file.name.split(".").pop(), |
|
|
|
name: file.name, |
|
|
|
attachmentFormat: file.name.split(".").pop(), |
|
|
|
attachmentName: file.name, |
|
|
|
size: file.size, |
|
|
|
type: file.raw.type, |
|
|
|
url: res.data.url, |
|
|
|
attachmentType: file.raw.type, |
|
|
|
attachmentUrl: res.data.url, |
|
|
|
}); |
|
|
|
console.log(this.formData.files); |
|
|
|
} else { |
|
|
|
@ -432,11 +432,11 @@ export default { |
|
|
|
if (res.code === 0 && res.msg === "success") { |
|
|
|
console.log("res.data.url", res.data.url); |
|
|
|
this.examineImgList.push({ |
|
|
|
format: file.name.split(".").pop(), |
|
|
|
name: file.name, |
|
|
|
attachmentFormat: file.name.split(".").pop(), |
|
|
|
attachmentName: file.name, |
|
|
|
size: file.size, |
|
|
|
type: file.raw.type, |
|
|
|
url: res.data.url, |
|
|
|
attachmentType: file.raw.type, |
|
|
|
attachmentUrl: res.data.url, |
|
|
|
}); |
|
|
|
console.log(this.formData.files); |
|
|
|
} else { |
|
|
|
|