切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Your Name
2 years ago
提交
a20c1f84740d954d7de4e97d73282ed64a78926f
1 个父辈
be3772be
日常保存
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
32 行增加
和
0 行删除
pkg/domain/evaluation_project.go
pkg/domain/evaluation_template.go
pkg/domain/staff_evaluation.go
pkg/domain/evaluation_project.go
查看文件 @
a20c1f8
...
...
@@ -11,6 +11,7 @@ const (
ProjectStateDisable
int
=
3
// 项目状态-停用
)
// 项目的评估内容配置
type
EvaluationProject
struct
{
Id
int64
`json:"id,string" comment:"ID"`
Name
string
`json:"name" comment:"名称"`
...
...
pkg/domain/evaluation_template.go
查看文件 @
a20c1f8
...
...
@@ -55,6 +55,7 @@ type NodeAllInvite struct {
//type NodeKpiResult struct {
//}
// 评估流程、环节
type
LinkNode
struct
{
Id
int64
`json:"id,string" comment:"环节ID"`
Type
int
`json:"type" comment:"环节类型"`
...
...
@@ -67,6 +68,7 @@ type LinkNode struct {
KpiCycle
int
`json:"state" comment:"考核周期(0日、1周、2月)"`
}
// 评估模板
type
EvaluationTemplate
struct
{
Id
int64
`json:"id,string" comment:"ID"`
Name
string
`json:"name" comment:"名称"`
...
...
pkg/domain/staff_evaluation.go
0 → 100644
查看文件 @
a20c1f8
package
domain
import
"time"
type
StaffEvaluationType
string
const
(
EvaluationSelf
StaffEvaluationType
=
"self"
//自评
EvaluationSuper
StaffEvaluationType
=
"super"
//上级评估
EvaluationOverall
StaffEvaluationType
=
"overall"
//360评估
)
// 需要填写评估的用户
type
StaffEvaluation
struct
{
Id
int
//id
EvaluationProjectId
int
//对应的项目id
CycleId
int64
//对应的周期id
TargetUserId
int
//被评估的目标用户
ExecutorId
int
//填写评估的用户
Types
StaffEvaluationType
//填写评估对应的类型
BeginTime
time
.
Time
//开始时间
EndTime
time
.
Time
//截止时间
CreatedAt
time
.
Time
//数据创建时间
UpdatedAt
time
.
Time
//数据更新时间
}
//用户填写的评估
type
StaffEvaluationContent
struct
{
}
...
...
请
注册
或
登录
后发表评论