作者 Your Name

修改 输出显示

@@ -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