From 003c4d1e3fe2a5855a4a1a533b9eb951564f5ee5 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Mon, 8 Nov 2021 14:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workPc/projectClassifyStatic/projectList.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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')