作者 tangxvhui

修正菜单异常

... ... @@ -268,6 +268,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri
} else if cntAll360 > 0 {
menu2_1.StatusName = "已完成"
}
menu2.Child = append(menu2.Child, menu2_1)
if cntAll360 > 0 {
menuList = append(menuList, menu2)
}
... ... @@ -289,6 +290,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri
} else if cntAllHrbp > 0 {
menu3_1.StatusName = "已完成"
}
menu3.Child = append(menu3.Child, menu3_1)
//hrbp 才有这个菜单
if isHrbp > 0 && cntAllHrbp > 0 {
menuList = append(menuList, menu3)
... ...