|
@@ -836,6 +836,11 @@ func (this *EdbClassifyController) ItemsV3() {
|
|
|
item.Button = button
|
|
|
|
|
|
if existItems, ok := rootTwoChildMap[item.ClassifyId]; ok {
|
|
|
+ for _, existItem := range existItems {
|
|
|
+ button := data.GetPredictEdbOpButton(this.SysUser, v.SysUserId)
|
|
|
+ button.AddButton = false //不管有没有权限,指标都是没有添加按钮的
|
|
|
+ existItem.Button = button
|
|
|
+ }
|
|
|
item.Children = existItems
|
|
|
} else {
|
|
|
items := make([]*data_manage.EdbClassifyItems, 0)
|