-
-
{{ $t('title') }}
+
+
+
+
+ {{ $t('title') }}
+
+
-
-
-
-
-
-
-
{{ $t('subtitle') }}
+
+
+
+
+ {{ $t('subtitle') }}
+
+
-
-
-
-
+
+
{{ $t('reset') }}
-
+
@@ -88,6 +88,10 @@
{{ $t('bringInRelevantPersonnel') }}
+
+
+ {{ $t('ExportReport') }}
+
...{{ $t('more') }}
@@ -653,7 +657,7 @@
queryParam: {},
url: {
addModelList: '/project/projectLawsInventoryEO/queryPageDummy',
- queryConditionInventory:'/project/projectLawsInventoryEO/queryConditionInventory',
+ queryConditionInventory: '/project/projectLawsInventoryEO/queryConditionInventory',
list: '/project/projectLawsInventoryEO/list',
addModel: 'project/projectLawsInventoryEO/add',
editModel: '/project/projectLawsInventoryEO/edit',
@@ -667,7 +671,8 @@
exportData: '/project/projectLawsInventoryEO/exportData',
setBatch: '/project/projectLawsInventoryEO/setBatch',//批量设置
copyUrl: '/project/projectLawsInventoryEO/copyInfoByIds',//复制
- transferUrl: '/project/projectLawsInventoryEO/getPageInfoDummy'//调取
+ transferUrl: '/project/projectLawsInventoryEO/getPageInfoDummy',//调取
+ ExportReportUrl: '/project/projectLawsInventoryEO/downloadDocxReport'
},
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
loading: false,
@@ -735,6 +740,16 @@
handleModule() {
downloadFile(this.url.exportTemplate, this.$t('listOfRegulations') + this.$t('importTemplate') + '.xls', {})
},
+ ExportReportClick() {
+ let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
+ if (selectedRowKeys && selectedRowKeys.length == 0) {
+ this.$message.warning(this.$t('pleaseSelectData'))
+ } else if (selectedRowKeys.length > 1) {
+ this.$message.warning(this.$t('OnlyOneSelected'))
+ } else {
+ downloadFile(this.url.ExportReportUrl, this.$t('listOfRegulations') + this.$t('ExportReport') + '.docx', { id: selectedRowKeys.join(',') })
+ }
+ },
handleExport() {
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
let query = {
@@ -824,7 +839,7 @@
changeInterface() {
let _this = this
this.$confirm({
- width:760,
+ width: 760,
content: _this.$t('NoteConfirmTheChange'),
onOk() {
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))