xingzai пре 3 година
родитељ
комит
d6b83b5b04
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      controllers/report.go

+ 1 - 3
controllers/report.go

@@ -1146,9 +1146,7 @@ func (this *ReportController) IsShow() {
 	if total > 0 {
 		resp.IsShow = true
 	}
-	if user.CompanyId > 1 {
-		resp.IsShowChart = true
-	}
+	resp.IsShowChart = true
 	resp.IsShowResearch = true
 	br.Ret = 200
 	br.Success = true