修改异步执行
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
editTable再传操作按钮的同时把事件定义名称也传过去
|
||||
-->
|
||||
<tableData
|
||||
ref="tableDataRef"
|
||||
:flag="'1'"
|
||||
:OperationList="OperationList"
|
||||
@editTable="editTable"
|
||||
@@ -125,18 +126,22 @@
|
||||
//导出
|
||||
handleExport() {
|
||||
let query = {
|
||||
...this.$refs.searchRef.queryParam,
|
||||
id:this.idList.join(',')
|
||||
...this.$refs.searchRef.queryParam,
|
||||
id: this.idList.join(',')
|
||||
}
|
||||
downloadFile('document/bussDocumentLibraryEO/exportTemplate', '文档库.xls', query)
|
||||
downloadFile('document/bussDocumentLibraryEO/exportTemplate', '文档库.xls', query,this.Deselect)
|
||||
},
|
||||
Deselect() {
|
||||
this.$refs.tableDataRef.selectedRowKeys = []
|
||||
this.idList = []
|
||||
},
|
||||
//带文件导出
|
||||
handleFileExport() {
|
||||
let query = {
|
||||
...this.$refs.searchRef.queryParam,
|
||||
id:this.idList.join(',')
|
||||
id: this.idList.join(',')
|
||||
}
|
||||
downloadFile('document/bussDocumentLibraryEO/exportZip', '文档库.zip', query)
|
||||
downloadFile('document/bussDocumentLibraryEO/exportZip', '文档库.zip', query,this.Deselect)
|
||||
},
|
||||
//新增
|
||||
handleAdd() {
|
||||
@@ -175,7 +180,7 @@
|
||||
})
|
||||
},
|
||||
//导入
|
||||
handleImport(){
|
||||
handleImport() {
|
||||
|
||||
},
|
||||
//编辑按钮
|
||||
|
||||
Reference in New Issue
Block a user