zhangchuanxing 6 өдөр өмнө
parent
commit
a43db30b4a

+ 5 - 0
controllers/report_selection.go

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