作者 tangxvhui

调整菜单输出

... ... @@ -239,6 +239,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri
} else {
menu1_1.StatusName = "未完成"
}
menu1.Child = append(menu1.Child, menu1_1)
}
if len(myEvaluationSuper) > 0 {
if myEvaluationSuper[0].CheckResult == domain.EvaluationCheckCompleted {
... ... @@ -246,8 +247,9 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri
} else {
menu1_2.StatusName = "未完成"
}
menu1.Child = append(menu1.Child, menu1_2)
}
menu1.Child = append(menu1.Child, menu1_1, menu1_2)
if len(selfEvaluation) > 0 {
menuList = append(menuList, menu1)
}
... ...