Browse Source

no message

zhangchuanxing 5 days ago
parent
commit
487591c719
1 changed files with 2 additions and 0 deletions
  1. 2 0
      controllers/report_selection.go

+ 2 - 0
controllers/report_selection.go

@@ -95,6 +95,8 @@ func (this *ReportSelectionController) Detail() {
 	//未设置全部可见的只能给弘则内部查看
 	//未设置全部可见的只能给弘则内部查看
 	if detail.VisibleRange == 1 || user.CompanyId == utils.HZ_COMPANY_ID {
 	if detail.VisibleRange == 1 || user.CompanyId == utils.HZ_COMPANY_ID {
 		resp.IsShow = true
 		resp.IsShow = true
+	}
+	if !resp.IsShow {
 		br.Ret = 200
 		br.Ret = 200
 		br.Success = true
 		br.Success = true
 		br.Msg = "获取成功"
 		br.Msg = "获取成功"