...
|
...
|
@@ -132,3 +132,20 @@ func (c *StaffAssessControllerV2) GetAssessSelfMeInfo() { |
|
|
data, err := srv.GetAssessSelfInfoV2(paramReq)
|
|
|
c.Response(data, err)
|
|
|
}
|
|
|
|
|
|
// 被评估的员工的评估列表-360评估
|
|
|
func (c *StaffAssessControllerV2) ListTargetUserInviteAssess() {
|
|
|
srv := service.NewStaffAssessServeice()
|
|
|
paramReq := &query.ListTargetAssessQuery{}
|
|
|
err := c.BindJSON(paramReq)
|
|
|
if err != nil {
|
|
|
e := application.ThrowError(application.ARG_ERROR, "json 解析错误"+err.Error())
|
|
|
c.Response(nil, e)
|
|
|
return
|
|
|
}
|
|
|
|
|
|
userReq := middlewares.GetUser(c.Ctx)
|
|
|
paramReq.CompanyId = int(userReq.CompanyId)
|
|
|
data, err := srv.ListTargetUserInviteAssess(paramReq)
|
|
|
c.Response(data, err)
|
|
|
} |
...
|
...
|
|