|
@@ -2213,8 +2213,17 @@ a {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
exportProjectData() {
|
|
exportProjectData() {
|
|
|
|
+ let param = {
|
|
|
|
+ status: this.status,
|
|
|
|
+ }
|
|
|
|
+ if(this.keyword){param.searchField = this.searchField;param.keyword = this.keyword}
|
|
|
|
+ if(this.projectMainId){param.projectMainId = this.projectMainId}
|
|
|
|
+ if(this.statusClf){param.category = this.statusClf}
|
|
|
|
+ if(this.deptId.length){param.deptId = this.deptId[this.deptId.length-1]}
|
|
|
|
+ if(this.inchagerId){param.inchagerId = this.inchagerId}
|
|
|
|
+ if(this.participationId){param.participation = this.participationId}
|
|
//导出项目
|
|
//导出项目
|
|
- this.http.post('/project/exportData',{},
|
|
|
|
|
|
+ this.http.post('/project/exportData',param,
|
|
res => {
|
|
res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
var filePath = res.data;
|
|
var filePath = res.data;
|