zwxi 6 months ago
parent
commit
825b774d2f
1 changed files with 6 additions and 3 deletions
  1. 6 3
      controllers/data_manage/chart_classify.go

+ 6 - 3
controllers/data_manage/chart_classify.go

@@ -1119,9 +1119,12 @@ func (this *ChartClassifyController) ChartClassifyChartListV3() {
 
 	for k, item := range allNodes {
 		item.Button = data.GetChartOpButton(this.SysUser, item.SysUserId, item.HaveOperaAuth)
-		//item.Button.AddButton = false
-		//item.Button.OpButton = false
-		//item.Button.DeleteButton = false
+		if item.ChartInfoId > 0 {
+			item.Button.AddButton = false
+			item.Button.OpButton = false
+			item.Button.DeleteButton = false
+			item.Button.MoveButton = false
+		}
 		allNodes[k] = item
 	}