ggooalice 2 vuotta sitten
vanhempi
commit
3fb97e653b
1 muutettua tiedostoa jossa 10 lisäystä ja 1 poistoa
  1. 10 1
      fhKeeper/formulahousekeeper/timesheet/src/views/project/list.vue

+ 10 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/project/list.vue

@@ -2213,8 +2213,17 @@ a {
                     });
             },
             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 => {
                     if (res.code == "ok") {
                         var filePath = res.data;