|
|
|
@ -42,14 +42,15 @@ func (a *ApiMethod) GetPostTarget(c *gin.Context) { |
|
|
|
sendData.ReleDepart = postTargetCont.ReleDepart //相关部门"`
|
|
|
|
sendData.DepartmentsPost = postTargetCont.DepartmentsPost //相关岗位"`
|
|
|
|
sendData.Dimension = postTargetCont.Dimension //维度"`
|
|
|
|
sendData.Key = postTargetCont.Key //UUID"`
|
|
|
|
sendData.Report = postTargetCont.Report //上报人"`
|
|
|
|
sendData.Unit = postTargetCont.Unit //单位"`
|
|
|
|
sendData.Cycle = postTargetCont.Cycle //1:班;2:天;3:周;4:月;5:季度;6:年"`
|
|
|
|
sendData.Cycleattr = postTargetCont.Cycleattr //辅助计数"`
|
|
|
|
sendData.ScoringMethod = postTargetCont.ScoringMethod //计分方式(1:自动;2:手动)"`
|
|
|
|
sendData.VisibleRange = postTargetCont.VisibleRange //可见范围"`
|
|
|
|
sendData.VisibleGroup = postTargetCont.VisibleGroup //可见范围(集团)"`
|
|
|
|
sendData.DimensionStr = strconv.FormatInt(postTargetCont.Dimension, 10) |
|
|
|
sendData.Key = postTargetCont.Key //UUID"`
|
|
|
|
sendData.Report = postTargetCont.Report //上报人"`
|
|
|
|
sendData.Unit = postTargetCont.Unit //单位"`
|
|
|
|
sendData.Cycle = postTargetCont.Cycle //1:班;2:天;3:周;4:月;5:季度;6:年"`
|
|
|
|
sendData.Cycleattr = postTargetCont.Cycleattr //辅助计数"`
|
|
|
|
sendData.ScoringMethod = postTargetCont.ScoringMethod //计分方式(1:自动;2:手动)"`
|
|
|
|
sendData.VisibleRange = postTargetCont.VisibleRange //可见范围"`
|
|
|
|
sendData.VisibleGroup = postTargetCont.VisibleGroup //可见范围(集团)"`
|
|
|
|
_, sendData.RelevantPostsMan, _ = getTargetAboutPost(postTargetCont.ReleDepart, postTargetCont.Dimension, postTargetCont.Id, 2) |
|
|
|
publicmethod.Result(0, sendData, c) |
|
|
|
} |
|
|
|
|