...
|
...
|
@@ -1196,6 +1196,11 @@ func (srv StaffAssessServeice) StaffAssess360BeforeEdit(param *query.AssessInfoQ |
|
|
}
|
|
|
//360评估全部是选填项
|
|
|
for i := range result.AssessContent {
|
|
|
if len(result.AssessContent[i].Value) == 0 {
|
|
|
result.AssessContent[i].LevelValue = ""
|
|
|
result.AssessContent[i].ScoreValue = 0
|
|
|
result.AssessContent[i].ReteResult = ""
|
|
|
}
|
|
|
result.AssessContent[i].Required = domain.NodeRequiredNo
|
|
|
}
|
|
|
return result, nil
|
...
|
...
|
@@ -1209,6 +1214,11 @@ func (srv StaffAssessServeice) StaffAssessSuperBeforeEdit(param *query.AssessInf |
|
|
}
|
|
|
//上级评估全部是选填项
|
|
|
for i := range result.AssessContent {
|
|
|
if len(result.AssessContent[i].Value) == 0 {
|
|
|
result.AssessContent[i].LevelValue = ""
|
|
|
result.AssessContent[i].ScoreValue = 0
|
|
|
result.AssessContent[i].ReteResult = ""
|
|
|
}
|
|
|
result.AssessContent[i].Required = domain.NodeRequiredNo
|
|
|
}
|
|
|
return result, nil
|
...
|
...
|
|