diff --git a/epmet-oper-web/src/views/modules/workPc/projectClassifyStatic/projectList.vue b/epmet-oper-web/src/views/modules/workPc/projectClassifyStatic/projectList.vue index 1b4acb1..273bda7 100644 --- a/epmet-oper-web/src/views/modules/workPc/projectClassifyStatic/projectList.vue +++ b/epmet-oper-web/src/views/modules/workPc/projectClassifyStatic/projectList.vue @@ -183,6 +183,9 @@ export default { } }, staticType: 'end', + + categoryName: '', + parentCategoryName: '', tableParams: { status: '', //项目状态:closed:已结案,all:全部 categoryCode: '', //分类code @@ -221,6 +224,8 @@ export default { this.tableParams.status = type this.tableParams.categoryCode = row.categoryCode + this.categoryName = row.categoryName + this.parentCategoryName = row.parentCategoryName this.agencyIdArray = agencyIdArray this.selAgencyObj = selAgencyObj this.tableParams.orgId = this.selAgencyObj.agencyId @@ -369,12 +374,21 @@ export default { title = title + ' 截止至' + this.endTimeShow + '累计值' } console.log(title) + const params = { + status: this.tableParams.status, + categoryCode: this.tableParams.categoryCode, + categoryName: this.categoryName, + orgId: this.tableParams.orgId, + startTime: this.tableParams.startTime, + endTime: this.tableParams.endTime, + parentCategoryName: this.parentCategoryName, + } const url = "/data/report/screen/project/selectcategoryprojectlist/export" app.ajax.exportFilePost( url, - this.tableParams, + params, (data, rspMsg) => { this.download(data, title + '.xls')