对接法规月报导出
This commit is contained in:
+11
-1
@@ -95,6 +95,7 @@
|
|||||||
url: {
|
url: {
|
||||||
deleteBatch: '/report/lawsMonthlyReportWriteEO/deleteBatch',
|
deleteBatch: '/report/lawsMonthlyReportWriteEO/deleteBatch',
|
||||||
list: '/report/lawsMonthlyReportWriteEO/page',
|
list: '/report/lawsMonthlyReportWriteEO/page',
|
||||||
|
exportData: '/report/lawsMonthlyReportWriteEO/exportMonthlyReport'
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
@@ -219,7 +220,15 @@
|
|||||||
this.$refs.fillTableRef.getData()
|
this.$refs.fillTableRef.getData()
|
||||||
},
|
},
|
||||||
monthlyIntegrationAndExportClick() {
|
monthlyIntegrationAndExportClick() {
|
||||||
|
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||||
|
let query = {
|
||||||
|
ids: selectedRowKeys.join(','),
|
||||||
|
...this.queryParam
|
||||||
|
}
|
||||||
|
downloadFile(this.url.exportData, this.$t('monthlyReportRegulations') + '.zip', query, this.Deselect)
|
||||||
|
},
|
||||||
|
Deselect() {
|
||||||
|
this.selectedRowKeys = []
|
||||||
},
|
},
|
||||||
addContentClick() {
|
addContentClick() {
|
||||||
this.$refs.fillAddRef.add()
|
this.$refs.fillAddRef.add()
|
||||||
@@ -323,6 +332,7 @@
|
|||||||
height: 38px;
|
height: 38px;
|
||||||
/*margin-top: 2px;*/
|
/*margin-top: 2px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-operation {
|
.text-operation {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user