添加任务清单导出
This commit is contained in:
@@ -141,7 +141,7 @@
|
|||||||
...this.$refs.searchRef.queryParam,
|
...this.$refs.searchRef.queryParam,
|
||||||
id: this.idList.join(',')
|
id: this.idList.join(',')
|
||||||
}
|
}
|
||||||
downloadFile('document/bussDocumentLibraryEO/exportExcel', '文档库.xls', query, this.Deselect)
|
downloadFile('document/bussDocumentLibraryEO/exportExcel', this.$t('DocumentLibrary')+'.xls', query, this.Deselect)
|
||||||
},
|
},
|
||||||
Deselect() {
|
Deselect() {
|
||||||
this.$refs.tableDataRef.selectedRowKeys = []
|
this.$refs.tableDataRef.selectedRowKeys = []
|
||||||
|
|||||||
@@ -325,7 +325,7 @@
|
|||||||
title: this.$t('correspondingStandard'),
|
title: this.$t('correspondingStandard'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 140,
|
width: 140,
|
||||||
dataIndex: 'correspondingStandardName',
|
dataIndex: 'correspondingStandard',
|
||||||
scopedSlots: { customRender: 'titleName' }
|
scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -239,7 +239,8 @@
|
|||||||
'3': '#26BD4B'
|
'3': '#26BD4B'
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
list: '/project/projectTaskInventoryEO/list'
|
list: '/project/projectTaskInventoryEO/list',
|
||||||
|
exportXls: '/project/projectTaskInventoryEO/exportXls'
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
@@ -264,7 +265,11 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
handleExport() {
|
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) {
|
verifyTaskClick(val, num, isTrue) {
|
||||||
let query = {}
|
let query = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user