...
|
...
|
@@ -78,8 +78,8 @@ func (c *StaffAssessController) CreateStaffAssessTask() { |
|
|
c.Response(data, err)
|
|
|
}
|
|
|
|
|
|
// 获取员工自评详情
|
|
|
func (c *StaffAssessController) GetAssessSelfInfo() {
|
|
|
// 获取当前登录员工自评详情
|
|
|
func (c *StaffAssessController) GetAssessSelfMeInfo() {
|
|
|
srv := service.NewStaffAssessServeice()
|
|
|
paramReq := &query.AssessSelfInfoQuery{}
|
|
|
err := c.BindJSON(paramReq)
|
...
|
...
|
@@ -166,7 +166,6 @@ func (c *StaffAssessController) ListInviteUserAssess() { |
|
|
}
|
|
|
|
|
|
// 获取上级评估成员列表
|
|
|
// 获取我要执行360评估,用户列表和评估填写的值
|
|
|
func (c *StaffAssessController) ListSupperAssess() {
|
|
|
srv := service.NewStaffAssessServeice()
|
|
|
paramReq := &query.ListSupperAssessQuery{}
|
...
|
...
|
@@ -182,3 +181,33 @@ func (c *StaffAssessController) ListSupperAssess() { |
|
|
data, err := srv.ListSupperAssess(paramReq)
|
|
|
c.Response(data, err)
|
|
|
}
|
|
|
|
|
|
// 获取员工自评详情
|
|
|
func (c *StaffAssessController) GetAssessSelfInfo() {
|
|
|
srv := service.NewStaffAssessServeice()
|
|
|
paramReq := &query.AssessSelfInfoQuery{}
|
|
|
err := c.BindJSON(paramReq)
|
|
|
if err != nil {
|
|
|
e := application.ThrowError(application.ARG_ERROR, "json 解析错误"+err.Error())
|
|
|
c.Response(nil, e)
|
|
|
return
|
|
|
}
|
|
|
paramReq.CompanyId = 1
|
|
|
data, err := srv.GetAssessSelfInfo(paramReq)
|
|
|
c.Response(data, err)
|
|
|
}
|
|
|
|
|
|
// 获取评估内容详情
|
|
|
func (c *StaffAssessController) GetAssessInfo() {
|
|
|
srv := service.NewStaffAssessServeice()
|
|
|
paramReq := &query.AssessInfoQuery{}
|
|
|
err := c.BindJSON(paramReq)
|
|
|
if err != nil {
|
|
|
e := application.ThrowError(application.ARG_ERROR, "json 解析错误"+err.Error())
|
|
|
c.Response(nil, e)
|
|
|
return
|
|
|
}
|
|
|
paramReq.CompanyId = 1
|
|
|
data, err := srv.GetAssessInfo(paramReq)
|
|
|
c.Response(data, err)
|
|
|
} |
...
|
...
|
|