|
|
@@ -165,7 +165,6 @@ export default {
|
|
|
},
|
|
|
uploadSuccess(res){
|
|
|
console.log(res.data,'附件列表')
|
|
|
- this.form.attinfos = this.form.attinfos.push(res.data.attachmentids)
|
|
|
this.$refs['upload'].dialogUploadVisible = false
|
|
|
this.$refs.list.listData()
|
|
|
let listFiles = this.$refs.list.list
|
|
|
@@ -219,7 +218,7 @@ export default {
|
|
|
async batchBinding(id){
|
|
|
this.attachmentids = []
|
|
|
this.listFiles.forEach((item,index)=>{
|
|
|
- this.attachmentids[index] = item
|
|
|
+ this.attachmentids[index] = item.attachmentid
|
|
|
})
|
|
|
const res = await this.$api.requested({
|
|
|
"classname": "system.attachment.Attachment",
|