Explorar o código

获取子项目增加日报参数,过滤关闭掉的子项目

QuYueTing hai 10 meses
pai
achega
d47226fbae

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

@@ -1077,7 +1077,7 @@ export default {
         },
         getSubprojectList(domainItem) {
             domainItem.subProjectList = [];
-            this.$axios.post("/sub-project/list", { projectId: domainItem.projectId })
+            this.$axios.post("/sub-project/list", { projectId: domainItem.projectId,isReport:true })
                 .then(res => {
                     if (res.code == "ok") {
                         domainItem.subProjectList = res.data;

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/weekEdit-01.vue

@@ -863,7 +863,7 @@
             },
             getSubprojectList(domainItem) {
                 domainItem.subProjectList = [];
-                this.$axios.post("/sub-project/list", {projectId: domainItem.projectId})
+                this.$axios.post("/sub-project/list", {projectId: domainItem.projectId,isReport:true})
                     .then(res => {
                         if(res.code == "ok") {
                             domainItem.subProjectList = res.data;

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/weekEdit-02.vue

@@ -1003,7 +1003,7 @@
             },
             getSubprojectList(domainItem) {
                 domainItem.subProjectList = [];
-                this.$axios.post("/sub-project/list", {projectId: domainItem.projectId})
+                this.$axios.post("/sub-project/list", {projectId: domainItem.projectId,isReport:true})
                     .then(res => {
                         if(res.code == "ok") {
                             domainItem.subProjectList = res.data;

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/weekEdit-03.vue

@@ -1056,7 +1056,7 @@
             },
             getSubprojectList(domainItem) {
                 domainItem.subProjectList = [];
-                this.$axios.post("/sub-project/list", {projectId: domainItem.projectId})
+                this.$axios.post("/sub-project/list", {projectId: domainItem.projectId,isReport:true})
                     .then(res => {
                         if(res.code == "ok") {
                             domainItem.subProjectList = res.data;

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/weekEdit.vue

@@ -1090,7 +1090,7 @@
             },
             getSubprojectList(domainItem) {
                 domainItem.subProjectList = [];
-                this.$axios.post("/sub-project/list", {projectId: domainItem.projectId})
+                this.$axios.post("/sub-project/list", {projectId: domainItem.projectId,isReport:true})
                     .then(res => {
                         if(res.code == "ok") {
                             domainItem.subProjectList = res.data;