正在显示
3 个修改的文件
包含
34 行增加
和
1 行删除
@@ -318,7 +318,7 @@ func (srv StaffAssessServeice) AssessSelfList(param *query.AssessSelfListQuery) | @@ -318,7 +318,7 @@ func (srv StaffAssessServeice) AssessSelfList(param *query.AssessSelfListQuery) | ||
318 | UserName: userData.Name, | 318 | UserName: userData.Name, |
319 | CompanyName: companyData.Name, | 319 | CompanyName: companyData.Name, |
320 | SupperUserName: "", | 320 | SupperUserName: "", |
321 | - DutyTime: userData.CreateAt.Local().Format("2006-01-02 15:04:05"), | 321 | + DutyTime: userData.CreatedAt.Local().Format("2006-01-02 15:04:05"), |
322 | } | 322 | } |
323 | for _, v := range supperUserList { | 323 | for _, v := range supperUserList { |
324 | userInfo.SupperUserName = userInfo.SupperUserName + v.Name + ";" | 324 | userInfo.SupperUserName = userInfo.SupperUserName + v.Name + ";" |
@@ -71,3 +71,11 @@ func (c *StaffAssessController) CreateStaffAssessTask() { | @@ -71,3 +71,11 @@ func (c *StaffAssessController) CreateStaffAssessTask() { | ||
71 | data, err := srv.CreateStaffAssessTask(paramReq) | 71 | data, err := srv.CreateStaffAssessTask(paramReq) |
72 | c.Response(data, err) | 72 | c.Response(data, err) |
73 | } | 73 | } |
74 | + | ||
75 | +//获取员工自评详情 | ||
76 | + | ||
77 | +//保存员工自评填写内容 | ||
78 | + | ||
79 | +//获取员工邀请的人 | ||
80 | + | ||
81 | +//保持员工邀请的人 |
1 | +package routers | ||
2 | + | ||
3 | +import ( | ||
4 | + "github.com/beego/beego/v2/server/web" | ||
5 | + "github.com/linmadan/egglib-go/web/beego/filters" | ||
6 | + "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/port/beego/controllers" | ||
7 | + "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/port/beego/middlewares" | ||
8 | +) | ||
9 | + | ||
10 | +func init() { | ||
11 | + assessTaskNS := web.NewNamespace("/v1/staff-assess-task", | ||
12 | + web.NSBefore(filters.AllowCors(), middlewares.CheckToken()), | ||
13 | + web.NSCtrlPost("/search/me", (*controllers.StaffAssessController).SearchAssessTaskMe), //获取我参与过的评估项目列表 | ||
14 | + web.NSCtrlPost("/desc/me", (*controllers.StaffAssessController).AssessTaskMeDesc), //获取我的项目评估进度描述 | ||
15 | + web.NSCtrlPost("/", (*controllers.StaffAssessController).CreateStaffAssessTask), //创建员工的评估任务 | ||
16 | + ) | ||
17 | + // /v1/staff-assess/self/me/list | ||
18 | + assessNS := web.NewNamespace("/v1/staff-assess", | ||
19 | + web.NSBefore(filters.AllowCors(), middlewares.CheckToken()), | ||
20 | + web.NSCtrlPost("/self/me/list", (*controllers.StaffAssessController).AssessSelfMeList), //获取我的自评反馈列表 | ||
21 | + // web.NSCtrlPost("/self/me/info", (*controllers.StaffAssessController).AssessSelfMeList), | ||
22 | + ) | ||
23 | + web.AddNamespace(assessTaskNS) | ||
24 | + web.AddNamespace(assessNS) | ||
25 | +} |
-
请 注册 或 登录 后发表评论