正在显示
1 个修改的文件
包含
13 行增加
和
0 行删除
@@ -1300,6 +1300,19 @@ func (srv StaffAssessServeice) ListExecutorInviteAssess(param *query.ListInviteU | @@ -1300,6 +1300,19 @@ func (srv StaffAssessServeice) ListExecutorInviteAssess(param *query.ListInviteU | ||
1300 | "endTime": v.EndTime.Local().Format("2006-01-02 15:04:05"), | 1300 | "endTime": v.EndTime.Local().Format("2006-01-02 15:04:05"), |
1301 | "assessId": strconv.Itoa(v.Id), | 1301 | "assessId": strconv.Itoa(v.Id), |
1302 | } | 1302 | } |
1303 | + switch v.Status { | ||
1304 | + case domain.StaffAssessCompleted: | ||
1305 | + m["status"] = "已经完成" | ||
1306 | + case domain.StaffAssessUncompleted: | ||
1307 | + m["status"] = "未完成" | ||
1308 | + } | ||
1309 | + | ||
1310 | + switch v.Types { | ||
1311 | + case domain.AssessInviteDiffSuper: | ||
1312 | + m["typs"] = "不同上级同事" | ||
1313 | + case domain.AssessInviteSameSuper: | ||
1314 | + m["types"] = "相同上级同事" | ||
1315 | + } | ||
1303 | if row, ok := changeableRows[v.TargetUser.UserId]; ok { | 1316 | if row, ok := changeableRows[v.TargetUser.UserId]; ok { |
1304 | for k, v := range row { | 1317 | for k, v := range row { |
1305 | m[k] = v | 1318 | m[k] = v |
-
请 注册 或 登录 后发表评论