|
...
|
...
|
@@ -339,7 +339,7 @@ func (srv TaskService) GetTaskInfo(param *command.GetTaskCommand) (*adapter.Task |
|
|
|
Name: taskData.Leader.Name,
|
|
|
|
},
|
|
|
|
Status: int(taskData.Status),
|
|
|
|
StatusDescript: taskData.StatusDescript(),
|
|
|
|
StatusDescription: taskData.StatusDescription(),
|
|
|
|
Level: taskData.Level,
|
|
|
|
LevalName: taskData.LevelName,
|
|
|
|
RelatedUserId: []string{},
|
|
...
|
...
|
@@ -371,7 +371,7 @@ func (srv TaskService) GetTaskInfo(param *command.GetTaskCommand) (*adapter.Task |
|
|
|
PlanCompletedAt: t1,
|
|
|
|
RealCompletedAt: t2,
|
|
|
|
SortBy: val.SortBy,
|
|
|
|
StatusDescript: val.StatusDescript(),
|
|
|
|
StatusDescription: val.StatusDescription(),
|
|
|
|
Status: int(val.Status),
|
|
|
|
})
|
|
|
|
}
|
|
...
|
...
|
@@ -533,7 +533,7 @@ func (srv TaskService) ListTask(param *command.ListTaskCommand) (map[string]inte |
|
|
|
stage := adapter.TaskStage{
|
|
|
|
Id: val.Id,
|
|
|
|
Name: val.Name,
|
|
|
|
StatusDescript: val.StatusDescript(),
|
|
|
|
StatusDescription: val.StatusDescription(),
|
|
|
|
Status: int(val.Status),
|
|
|
|
SortBy: val.SortBy,
|
|
|
|
}
|
|
...
|
...
|
@@ -638,6 +638,7 @@ func (t TaskService) ListTask2(param command.SearchTaskCommand) (map[string]inte |
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// 以hrbp角色权限获取任务列表
|
|
|
|
func (t TaskService) ListTask2ForHrbp(param command.SearchTaskCommand) (map[string]interface{}, error) {
|
|
|
|
return nil, nil
|
|
|
|
} |
...
|
...
|
|