|
@@ -256,7 +256,9 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
|
@@ -256,7 +256,9 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
256
|
} else if cntAll360 > 0 {
|
256
|
} else if cntAll360 > 0 {
|
257
|
menu2_1.StatusName = "已完成"
|
257
|
menu2_1.StatusName = "已完成"
|
258
|
}
|
258
|
}
|
259
|
- menuList = append(menuList, menu2)
|
259
|
+ if cntAll360 > 0 {
|
|
|
260
|
+ menuList = append(menuList, menu2)
|
|
|
261
|
+ }
|
260
|
menu3 := adapter.MenuListAdapter{
|
262
|
menu3 := adapter.MenuListAdapter{
|
261
|
CycleId: 0,
|
263
|
CycleId: 0,
|
262
|
NodeName: "人资评估",
|
264
|
NodeName: "人资评估",
|
|
@@ -276,7 +278,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
|
@@ -276,7 +278,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
276
|
menu3_1.StatusName = "已完成"
|
278
|
menu3_1.StatusName = "已完成"
|
277
|
}
|
279
|
}
|
278
|
//hrbp 才有这个菜单
|
280
|
//hrbp 才有这个菜单
|
279
|
- if isHrbp > 0 {
|
281
|
+ if isHrbp > 0 && cntAllHrbp > 0 {
|
280
|
menuList = append(menuList, menu3)
|
282
|
menuList = append(menuList, menu3)
|
281
|
}
|
283
|
}
|
282
|
menu4 := adapter.MenuListAdapter{
|
284
|
menu4 := adapter.MenuListAdapter{
|
|
@@ -298,7 +300,9 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
|
@@ -298,7 +300,9 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
298
|
menu4_1.StatusName = "已完成"
|
300
|
menu4_1.StatusName = "已完成"
|
299
|
}
|
301
|
}
|
300
|
menu4.Child = append(menu4.Child, menu4_1)
|
302
|
menu4.Child = append(menu4.Child, menu4_1)
|
301
|
- menuList = append(menuList, menu4)
|
303
|
+ if cntAllSuper > 0 {
|
|
|
304
|
+ menuList = append(menuList, menu4)
|
|
|
305
|
+ }
|
302
|
result := map[string]interface{}{
|
306
|
result := map[string]interface{}{
|
303
|
"menus": menuList,
|
307
|
"menus": menuList,
|
304
|
}
|
308
|
}
|