|
@@ -205,12 +205,14 @@ func (this *ChartPermissionAuthController) StrategyDetail() {
|
|
|
return
|
|
|
}
|
|
|
resp := new(models.ReportMappingHomeResp)
|
|
|
- if cf.ConfigValue == "1" || user.CompanyId == utils.HZ_COMPANY_ID {
|
|
|
- item := new(models.ReportMappingHome)
|
|
|
- item.CategoryId = utils.TIME_LINE_ID
|
|
|
- item.SubCategoryName = utils.TIME_LINE_NAME
|
|
|
- item.MatchTypeName = utils.TIME_LINE_NAME
|
|
|
- resp.List = append(resp.List, item)
|
|
|
+ if chartPermissionId != utils.GU_SHOU_ID {
|
|
|
+ if cf.ConfigValue == "1" || user.CompanyId == utils.HZ_COMPANY_ID {
|
|
|
+ item := new(models.ReportMappingHome)
|
|
|
+ item.CategoryId = utils.TIME_LINE_ID
|
|
|
+ item.SubCategoryName = utils.TIME_LINE_NAME
|
|
|
+ item.MatchTypeName = utils.TIME_LINE_NAME
|
|
|
+ resp.List = append(resp.List, item)
|
|
|
+ }
|
|
|
}
|
|
|
for _, v := range list {
|
|
|
resp.List = append(resp.List, v)
|