|
@ -183,6 +183,9 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
staticType: 'end', |
|
|
staticType: 'end', |
|
|
|
|
|
|
|
|
|
|
|
categoryName: '', |
|
|
|
|
|
parentCategoryName: '', |
|
|
tableParams: { |
|
|
tableParams: { |
|
|
status: '', //项目状态:closed:已结案,all:全部 |
|
|
status: '', //项目状态:closed:已结案,all:全部 |
|
|
categoryCode: '', //分类code |
|
|
categoryCode: '', //分类code |
|
@ -221,6 +224,8 @@ export default { |
|
|
|
|
|
|
|
|
this.tableParams.status = type |
|
|
this.tableParams.status = type |
|
|
this.tableParams.categoryCode = row.categoryCode |
|
|
this.tableParams.categoryCode = row.categoryCode |
|
|
|
|
|
this.categoryName = row.categoryName |
|
|
|
|
|
this.parentCategoryName = row.parentCategoryName |
|
|
this.agencyIdArray = agencyIdArray |
|
|
this.agencyIdArray = agencyIdArray |
|
|
this.selAgencyObj = selAgencyObj |
|
|
this.selAgencyObj = selAgencyObj |
|
|
this.tableParams.orgId = this.selAgencyObj.agencyId |
|
|
this.tableParams.orgId = this.selAgencyObj.agencyId |
|
@ -369,12 +374,21 @@ export default { |
|
|
title = title + ' 截止至' + this.endTimeShow + '累计值' |
|
|
title = title + ' 截止至' + this.endTimeShow + '累计值' |
|
|
} |
|
|
} |
|
|
console.log(title) |
|
|
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" |
|
|
const url = "/data/report/screen/project/selectcategoryprojectlist/export" |
|
|
|
|
|
|
|
|
app.ajax.exportFilePost( |
|
|
app.ajax.exportFilePost( |
|
|
url, |
|
|
url, |
|
|
this.tableParams, |
|
|
params, |
|
|
(data, rspMsg) => { |
|
|
(data, rspMsg) => { |
|
|
|
|
|
|
|
|
this.download(data, title + '.xls') |
|
|
this.download(data, title + '.xls') |
|
|