...
|
...
|
@@ -321,7 +321,7 @@ func (c *SummaryEvaluationController) GetTargetUserEvaluationSuper() { |
|
|
}
|
|
|
|
|
|
// 按周期获取上级评估列表
|
|
|
func (c *SummaryEvaluationController) ListAllEvaluationSuper() {
|
|
|
func (c *SummaryEvaluationController) ListAllEvaluationFinish() {
|
|
|
srv := service.NewSummaryEvaluationService()
|
|
|
param := &command.QueryEvaluationList{}
|
|
|
err := c.BindJSON(param)
|
...
|
...
|
@@ -333,12 +333,12 @@ func (c *SummaryEvaluationController) ListAllEvaluationSuper() { |
|
|
userReq := middlewares.GetUser(c.Ctx)
|
|
|
param.CompanyId = int(userReq.CompanyId)
|
|
|
param.UserId = int(userReq.UserId)
|
|
|
data, err := srv.ListAllEvaluationSuper(param)
|
|
|
data, err := srv.ListAllEvaluationFinish(param)
|
|
|
c.Response(data, err)
|
|
|
}
|
|
|
|
|
|
// 按周期 导出上级评估列表
|
|
|
func (c *SummaryEvaluationController) ExportAllEvaluationSuper() {
|
|
|
func (c *SummaryEvaluationController) ExportAllEvaluationFinish() {
|
|
|
srv := service.NewSummaryEvaluationService()
|
|
|
param := &command.QueryEvaluationList{}
|
|
|
err := c.BindJSON(param)
|
...
|
...
|
@@ -350,7 +350,7 @@ func (c *SummaryEvaluationController) ExportAllEvaluationSuper() { |
|
|
userReq := middlewares.GetUser(c.Ctx)
|
|
|
param.UserId = int(userReq.UserId)
|
|
|
param.CompanyId = int(userReq.CompanyId)
|
|
|
data, err := srv.ExportAllEvaluationSuper(param)
|
|
|
data, err := srv.ExportAllEvaluationFinish(param)
|
|
|
if err != nil {
|
|
|
c.Response(nil, err)
|
|
|
return
|
...
|
...
|
|