...
|
...
|
@@ -25,9 +25,13 @@ const ( |
|
|
)
|
|
|
|
|
|
const (
|
|
|
KpiCycleDay int = 1 // 考核周期-日
|
|
|
KpiCycleWeek int = 2 // 考核周期-周
|
|
|
KpiCycleMonth int = 3 // 考核周期-月
|
|
|
KpiCycleDay int = 1 // 考核周期-日
|
|
|
KpiCycleWeek int = 2 // 考核周期-周
|
|
|
KpiCycleOneMonth int = 3 // 考核周期-月
|
|
|
KpiCycleTwoMonth int = 4 // 考核周期-双月
|
|
|
KpiCycleThreeMonth int = 5 // 考核周期-季度
|
|
|
KpiCycleSixMonth int = 6 // 考核周期-半年
|
|
|
KpiCycleYear int = 7 // 考核周期-年
|
|
|
)
|
|
|
|
|
|
type EntryItem struct {
|
...
|
...
|
@@ -39,17 +43,17 @@ type EntryItem struct { |
|
|
type NodeContent struct {
|
|
|
Category string `json:"category" comment:"类别"`
|
|
|
Name string `json:"name" comment:"名称"`
|
|
|
RuleId int64 `json:"ruleId" comment:"评估规则ID"`
|
|
|
RuleId string `json:"ruleId" comment:"评估规则ID"`
|
|
|
PromptTitle string `json:"promptTitle" comment:"提示项标题"`
|
|
|
PromptText string `json:"promptText" comment:"提示项正文"`
|
|
|
EntryItems []*EntryItem `json:"entryItems" comment:"填写项"`
|
|
|
}
|
|
|
|
|
|
// NodeAllInvite 360°邀请
|
|
|
type NodeAllInvite struct {
|
|
|
ParentDifferentIds []int64 `json:"parentDifferentIds" comment:"不同上级同事ID"`
|
|
|
ParentSameIds []int64 `json:"parentSameIds" comment:"相同上级同事ID"`
|
|
|
}
|
|
|
//// NodeAllInvite 360°邀请
|
|
|
//type NodeAllInvite struct {
|
|
|
// ParentDifferentIds []string `json:"parentDifferentIds" comment:"不同上级同事ID"`
|
|
|
// ParentSameIds []string `json:"parentSameIds" comment:"相同上级同事ID"`
|
|
|
//}
|
|
|
|
|
|
//// NodeKpiResult 绩效结果查看
|
|
|
//type NodeKpiResult struct {
|
...
|
...
|
@@ -57,15 +61,16 @@ type NodeAllInvite struct { |
|
|
|
|
|
// 评估流程、环节
|
|
|
type LinkNode struct {
|
|
|
Id int64 `json:"id,string" comment:"环节ID"`
|
|
|
Type int `json:"type" comment:"环节类型"`
|
|
|
Name string `json:"name" comment:"环节名称"`
|
|
|
Describe string `json:"describe" comment:"环节描述"`
|
|
|
NodeContents []*NodeContent `json:"nodeContents" comment:"环节-评估内容"`
|
|
|
NodeAllInvite *NodeAllInvite `json:"nodeAllInvite" comment:"360°邀请人员"`
|
|
|
TimeStart *time.Time `json:"timeStart" comment:"起始时间"`
|
|
|
TimeEnd *time.Time `json:"timeEnd" comment:"截至时间"`
|
|
|
KpiCycle int `json:"state" comment:"考核周期(1日、2周、3月)"`
|
|
|
Id int64 `json:"id,string" comment:"环节ID"`
|
|
|
Type int `json:"type" comment:"环节类型"`
|
|
|
Name string `json:"name" comment:"环节名称"`
|
|
|
Describe string `json:"describe" comment:"环节描述"`
|
|
|
NodeContents []*NodeContent `json:"nodeContents" comment:"环节-评估内容"`
|
|
|
TimeStart *time.Time `json:"timeStart" comment:"起始时间"`
|
|
|
TimeEnd *time.Time `json:"timeEnd" comment:"截至时间"`
|
|
|
KpiCycle int `json:"state" comment:"考核周期(1日、2周、3月)"`
|
|
|
//NodeAllInvite *NodeAllInvite `json:"nodeAllInvite" comment:"360°邀请人员"`
|
|
|
|
|
|
}
|
|
|
|
|
|
// 评估模板
|
...
|
...
|
|