作者 Your Name

更新

... ... @@ -1117,6 +1117,7 @@ func (srv StaffAssessServeice) ListExecutorInviteAssess(param *query.ListInviteU
"status": string(v.Status),
"types": string(v.Types),
"endTime": v.EndTime.Local().Format("2006-01-02 15:04:05"),
"assessId": strconv.Itoa(v.Id),
}
listData = append(listData, m)
}
... ... @@ -1327,6 +1328,9 @@ func (srv StaffAssessServeice) GetAssessInfo(param *query.AssessInfoQuery) (*ada
DutyTime: "",
AssessContent: assessContentList,
}
if len(assessContentList) == 0 {
result.AssessContent = []*domain.StaffAssessContent{}
}
if targetUserDesc != nil {
result.CompanyName = targetUserDesc.CompanyName
result.SupperUser = targetUserDesc.SupperUserName
... ... @@ -1335,12 +1339,6 @@ func (srv StaffAssessServeice) GetAssessInfo(param *query.AssessInfoQuery) (*ada
return &result, nil
}
// 获取员工的某次评估任务的360评估记录录
// assessTaskId targetUserId
func (srv StaffAssessServeice) AssessInviteList() error {
return nil
}
// 获取员工信息描述
func (srv *StaffAssessServeice) getStaffDescrip(transactionContext application.TransactionContext, userid int64) (*adapter.StaffInfo, error) {
//获取用户数据
... ...
... ... @@ -7,7 +7,7 @@ type StaffAssessType string
const (
AssessSelf StaffAssessType = "self" //自评
AssessSuper StaffAssessType = "super" //上级评估
AssessSuper StaffAssessType = "supper" //上级评估
AssessInviteSameSuper StaffAssessType = "invite_same_super" //360 邀请评估-相同上级的同事
AssessInviteDiffSuper StaffAssessType = "invite_diff_super" //360 邀请评估-不同上级的同事
)
... ...