...
|
...
|
@@ -1300,6 +1300,19 @@ func (srv StaffAssessServeice) ListExecutorInviteAssess(param *query.ListInviteU |
|
|
"endTime": v.EndTime.Local().Format("2006-01-02 15:04:05"),
|
|
|
"assessId": strconv.Itoa(v.Id),
|
|
|
}
|
|
|
switch v.Status {
|
|
|
case domain.StaffAssessCompleted:
|
|
|
m["status"] = "已经完成"
|
|
|
case domain.StaffAssessUncompleted:
|
|
|
m["status"] = "未完成"
|
|
|
}
|
|
|
|
|
|
switch v.Types {
|
|
|
case domain.AssessInviteDiffSuper:
|
|
|
m["typs"] = "不同上级同事"
|
|
|
case domain.AssessInviteSameSuper:
|
|
|
m["types"] = "相同上级同事"
|
|
|
}
|
|
|
if row, ok := changeableRows[v.TargetUser.UserId]; ok {
|
|
|
for k, v := range row {
|
|
|
m[k] = v
|
...
|
...
|
|