添加任务清单导出

This commit is contained in:
qq787203167
2022-05-17 15:57:27 +08:00
parent f2e6abbc65
commit 1aefcbd1df
3 changed files with 9 additions and 4 deletions
@@ -141,7 +141,7 @@
...this.$refs.searchRef.queryParam,
id: this.idList.join(',')
}
downloadFile('document/bussDocumentLibraryEO/exportExcel', '文档库.xls', query, this.Deselect)
downloadFile('document/bussDocumentLibraryEO/exportExcel', this.$t('DocumentLibrary')+'.xls', query, this.Deselect)
},
Deselect() {
this.$refs.tableDataRef.selectedRowKeys = []
@@ -325,7 +325,7 @@
title: this.$t('correspondingStandard'),
align: 'center',
width: 140,
dataIndex: 'correspondingStandardName',
dataIndex: 'correspondingStandard',
scopedSlots: { customRender: 'titleName' }
},
{
@@ -239,7 +239,8 @@
'3': '#26BD4B'
},
url: {
list: '/project/projectTaskInventoryEO/list'
list: '/project/projectTaskInventoryEO/list',
exportXls: '/project/projectTaskInventoryEO/exportXls'
},
loading: false,
dataSource: [],
@@ -264,7 +265,11 @@
},
handleExport() {
let query = {
...this.queryParam,
projectLibraryId: this.$route.query.id
}
downloadFile(this.url.exportXls, this.$t('taskList') + '.xls', query, this.Deselect)
},
verifyTaskClick(val, num, isTrue) {
let query = {}