作者 tangxvhui

调整菜单输出

@@ -239,6 +239,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri @@ -239,6 +239,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri
239 } else { 239 } else {
240 menu1_1.StatusName = "未完成" 240 menu1_1.StatusName = "未完成"
241 } 241 }
  242 + menu1.Child = append(menu1.Child, menu1_1)
242 } 243 }
243 if len(myEvaluationSuper) > 0 { 244 if len(myEvaluationSuper) > 0 {
244 if myEvaluationSuper[0].CheckResult == domain.EvaluationCheckCompleted { 245 if myEvaluationSuper[0].CheckResult == domain.EvaluationCheckCompleted {
@@ -246,8 +247,9 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri @@ -246,8 +247,9 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri
246 } else { 247 } else {
247 menu1_2.StatusName = "未完成" 248 menu1_2.StatusName = "未完成"
248 } 249 }
  250 + menu1.Child = append(menu1.Child, menu1_2)
249 } 251 }
250 - menu1.Child = append(menu1.Child, menu1_1, menu1_2) 252 +
251 if len(selfEvaluation) > 0 { 253 if len(selfEvaluation) > 0 {
252 menuList = append(menuList, menu1) 254 menuList = append(menuList, menu1)
253 } 255 }