dddd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

72 lines
3.5 KiB

package jixiaokaohe
import "github.com/flipped-aurora/gin-vue-admin/server/commonus"
type ApiGroup struct{}
//考核操作提交参数
type taskParameterTitle struct {
Group string `json:"group"` //集团
Department string `json:"department"` //部门
Target string `json:"targets"` //指标id
}
type taskParameterTitleList struct {
commonus.PageSetLimt
Group string `json:"group"` //集团
Department string `json:"department"` //部门
Target string `json:"targets"` //指标id
SunTarget string `json:"suntargets"` //指标id
}
//输出考核栏目
type outTaskSunTarget struct {
taskParameterTitleList
ProjectName string `json:"projectName"`
}
//输出指定人相关的考核细则
type outMyTaskDiesTarget struct {
Id string `json:"id"`
Title string `json:"title"`
Standard string `json:"standard"`
Content string `json:"content"`
Unit string `json:"unit"`
taskParameterTitleList
}
//新型定性考核细则列表输出
type NewQualDetailOutList struct {
NewQualOutList
Id int64 `json:"id" gorm:"primaryKey;column:qe_id;type:bigint(20) unsigned;not null;comment:Id;index"`
DetailedTargetId int64 `json:"detailedtargetid" gorm:"column:qe_detailed_target;type:bigint(20) unsigned;default:0;not null;comment:考核细则"`
DetailedTargetTitle string `json:"detailedtargenttitle" gorm:"column:dt_title;type:text;comment:指标细则"` //指标明细
DetailedTargetCont string `json:"detailedtargentcont"` //指标明细
AddReduce int `json:"addreduce"` //1:减少;2:增加;3:无属性,现场确认加或减"`
Company string `json:"company"` //单位
Score string `json:"score"`
State int `json:"state"` //1、定分;2、区间分;3、不定性分值
TargetSun int64 `json:"targetsun" gorm:"column:qe_target_sun;type:bigint(20) unsigned;default:0;not null;comment:考核指标子栏目"`
TargetSunId string `json:"targetsunid"` //子栏目ID
TargetSunName string `json:"targetsunname"` //子栏目名称
}
//新型定性考核列表输出
type NewQualOutList struct {
Group int64 `json:"group" gorm:"column:qe_group;type:bigint(20) unsigned;default:0;not null;comment:归属集团"`
GroupName string `json:"groupname"` //集团
Department int64 `json:"department" gorm:"column:qe_accept_evaluation;type:bigint(20) unsigned;default:0;not null;comment:接受考核部门"`
DepartmentName string `json:"departmentname"` //部门
Dimension int64 `json:"dimension" gorm:"column:qe_dimension;type:bigint(20) unsigned;default:0;not null;comment:考核维度"`
DimensionName string `json:"dimensionname"` //维度
Target int64 `json:"target" gorm:"column:qe_target;type:bigint(20) unsigned;default:0;not null;comment:考核指标"`
Title string `json:"title" gorm:"column:et_title;type:varchar(255);comment:指标名称"`
ExtraPoints int64 `json:"extrapoints"` //加分总价
ScoreReduction int64 `json:"scorereduction"` //减分总计
}
//考核方案输出
type kaoHeFangAn struct {
Id int64 `json:"id" gorm:"primaryKey;column:qe_id;type:bigint(20) unsigned;not null;comment:Id;index"`
DetailedTarget int64 `json:"detailedtarget" gorm:"column:qe_detailed_target;type:bigint(20) unsigned;default:0;not null;comment:考核细则"`
}