|
@@ -118,6 +118,7 @@
|
|
ref="clientTable"
|
|
ref="clientTable"
|
|
class="vxe-table-element"
|
|
class="vxe-table-element"
|
|
style="margin-left: 5em"
|
|
style="margin-left: 5em"
|
|
|
|
+ :key="tableKey"
|
|
|
|
|
|
:row-config="{keyField: 'id'}"
|
|
:row-config="{keyField: 'id'}"
|
|
:column-config="{resizable: true}"
|
|
:column-config="{resizable: true}"
|
|
@@ -258,7 +259,8 @@
|
|
},
|
|
},
|
|
keyWatch: '',
|
|
keyWatch: '',
|
|
tabName:'',
|
|
tabName:'',
|
|
- tableData: []
|
|
|
|
|
|
+ tableData: [],
|
|
|
|
+ tableKey :'1'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
ProjectInfoService:null,
|
|
ProjectInfoService:null,
|
|
@@ -422,6 +424,7 @@
|
|
getFiles(){
|
|
getFiles(){
|
|
this.projectInfoService.getAttachmentList(this.inputForm.projectId,this.inputForm.id).then((data) => {
|
|
this.projectInfoService.getAttachmentList(this.inputForm.projectId,this.inputForm.id).then((data) => {
|
|
this.tableData = data
|
|
this.tableData = data
|
|
|
|
+ this.tableKey = Math.random()
|
|
})
|
|
})
|
|
|
|
|
|
},
|
|
},
|