...
|
...
|
@@ -1611,9 +1611,10 @@ func (srv *SummaryEvaluationService) editEvaluationValue( |
|
|
if !ok {
|
|
|
continue
|
|
|
}
|
|
|
if evaluationItem.Required == domain.NodeRequiredYes && !isTemporary {
|
|
|
if !isTemporary {
|
|
|
// 评估项直接全部按必填项处理
|
|
|
if len(v.Value) == 0 {
|
|
|
return fmt.Errorf("%s-%s 是必填项", evaluationItem.Category, evaluationItem.Name)
|
|
|
return fmt.Errorf("%s-%s 未填写", evaluationItem.Category, evaluationItem.Name)
|
|
|
}
|
|
|
}
|
|
|
//填充评估填写值
|
...
|
...
|
|