|
@@ -95,6 +95,11 @@ 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
|
|
|
|
+ br.Ret = 200
|
|
|
|
+ br.Success = true
|
|
|
|
+ br.Msg = "获取成功"
|
|
|
|
+ br.Data = resp
|
|
|
|
+ return
|
|
}
|
|
}
|
|
resp.HasPermission = hasPermission
|
|
resp.HasPermission = hasPermission
|
|
if hasPermission != 1 || !resp.IsShow {
|
|
if hasPermission != 1 || !resp.IsShow {
|