Bladeren bron

项目分组点击时获取任务列表和任务数据结构修改

seyason 2 jaren geleden
bovenliggende
commit
6b7e2b288b

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

@@ -2335,7 +2335,7 @@ import delete$ from 'dingtalk-jsapi/api/biz/cspace/delete';
                 this.http.post('/stages/list',{groupId: this.selectedGroup.id, projectId: this.selectedGroup.projectId, order: this.order, isDesc: this.isDesc},
                 res => {
                     if (res.code == "ok") {
-                        this.stageList = res.data;
+                        this.stageList = res.data.list;
                         this.timess() // 处理时间的方法
                     } else {
                         this.$message({

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

@@ -1613,7 +1613,7 @@ import { error } from 'dingtalk-jsapi';
                 this.http.post('/stages/list',{groupId: this.selectedGroup.id, projectId: this.selectedGroup.projectId, order: this.order, isDesc: this.isDesc},
                 res => {
                     if (res.code == "ok") {
-                        this.stageList = res.data;
+                        this.stageList = res.data.list;
                         // console.log('触发获取任务列表函数')
                         this.timess() // 处理时间的方法
                     } else {