Browse Source

修改数据类型

master
超级管理员 3 years ago
parent
commit
69b89d7b66
  1. 1
      api/version1/postseting/postpc/targetpost.go
  2. 2
      api/version1/postseting/postpc/type.go

1
api/version1/postseting/postpc/targetpost.go

@ -42,6 +42,7 @@ func (a *ApiMethod) GetPostTarget(c *gin.Context) {
sendData.ReleDepart = postTargetCont.ReleDepart //相关部门"` sendData.ReleDepart = postTargetCont.ReleDepart //相关部门"`
sendData.DepartmentsPost = postTargetCont.DepartmentsPost //相关岗位"` sendData.DepartmentsPost = postTargetCont.DepartmentsPost //相关岗位"`
sendData.Dimension = postTargetCont.Dimension //维度"` sendData.Dimension = postTargetCont.Dimension //维度"`
sendData.DimensionStr = strconv.FormatInt(postTargetCont.Dimension, 10)
sendData.Key = postTargetCont.Key //UUID"` sendData.Key = postTargetCont.Key //UUID"`
sendData.Report = postTargetCont.Report //上报人"` sendData.Report = postTargetCont.Report //上报人"`
sendData.Unit = postTargetCont.Unit //单位"` sendData.Unit = postTargetCont.Unit //单位"`

2
api/version1/postseting/postpc/type.go

@ -144,7 +144,7 @@ type outShemeVersionCont struct {
type getPostOneTarget struct { type getPostOneTarget struct {
modelskpi.PostTarget modelskpi.PostTarget
RelevantPostsMan []postPeople `json:"relevantpostsman"` //相关岗位 RelevantPostsMan []postPeople `json:"relevantpostsman"` //相关岗位
DimensionStr string `json:"dimensionstr" `
} }
// 岗位单一指标关联岗位及提报人 // 岗位单一指标关联岗位及提报人

Loading…
Cancel
Save