作者 郑周

模板 邀请ID

... ... @@ -38,7 +38,7 @@ func (rs *EvaluationTemplateService) Create(in *command.CreateTemplateCommand) (
linkNodes := make([]*domain.LinkNode, 0)
linkNodes = append(linkNodes, &domain.LinkNode{
Type: domain.LinkNodeAssessment,
Type: domain.LinkNodeSelfAssessment,
Name: "填写自评反馈",
KpiCycle: domain.KpiCycleDay,
})
... ... @@ -48,12 +48,12 @@ func (rs *EvaluationTemplateService) Create(in *command.CreateTemplateCommand) (
KpiCycle: domain.KpiCycleDay,
})
linkNodes = append(linkNodes, &domain.LinkNode{
Type: domain.LinkNodeAssessment,
Type: domain.LinkNodeAllAssessment,
Name: "360°评估",
KpiCycle: domain.KpiCycleDay,
})
linkNodes = append(linkNodes, &domain.LinkNode{
Type: domain.LinkNodeAssessment,
Type: domain.LinkNodeSuperiorAssessment,
Name: "上级评估",
KpiCycle: domain.KpiCycleDay,
})
... ...
... ... @@ -12,15 +12,15 @@ const (
)
const (
//LinkNodeSelfAssessment int = 1 // 环节-填写反馈自评
//LinkNodeAllInvite int = 2 // 环节-360°邀请
//LinkNodeAllAssessment int = 3 // 环节-360°评估
//LinkNodeSuperiorAssessment int = 4 // 环节-上级评估
//LinkNodeViewResult int = 5 // 环节-绩效结果查看
LinkNodeSelfAssessment int = 1 // 环节-填写反馈自评
LinkNodeAllInvite int = 2 // 环节-360°邀请
LinkNodeAllAssessment int = 3 // 环节-360°评估
LinkNodeSuperiorAssessment int = 4 // 环节-上级评估
LinkNodeViewResult int = 5 // 环节-绩效结果查看
LinkNodeAssessment int = 1 // 环节-评估(自评、360°评估、上级评估)
LinkNodeAllInvite int = 2 // 环节-360°邀请
LinkNodeViewResult int = 3 // 环节-绩效结果查看
//LinkNodeAssessment int = 1 // 环节-评估(自评、360°评估、上级评估)
//LinkNodeAllInvite int = 2 // 环节-360°邀请
//LinkNodeViewResult int = 3 // 环节-绩效结果查看
)
... ... @@ -47,6 +47,8 @@ type NodeContent struct {
// NodeAllInvite 360°邀请
type NodeAllInvite struct {
ParentDifferentIds []int64 `json:"parentDifferentIds" comment:"不同上级同事ID"`
ParentSameIds []int64 `json:"parentSameIds" comment:"相同上级同事ID"`
}
// NodeKpiResult 绩效结果查看
... ...