|
@@ -70,6 +70,14 @@ func (this *ReportSelectionController) Detail() {
|
|
|
br.ErrMsg = "获取失败 GetPermissionNameMap,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+ PermissionIcoMap, err := services.GetPermissionNameIcoMap()
|
|
|
+ if err != nil {
|
|
|
+ br.Msg = "获取失败"
|
|
|
+ br.ErrMsg = "获取失败 GetPermissionNameMap,Err:" + err.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
resp := new(models.ReportSelectionLetailResp)
|
|
|
//判断用户权限
|
|
|
hasPermission, err := services.GetUserhasPermission(user)
|
|
@@ -162,6 +170,7 @@ func (this *ReportSelectionController) Detail() {
|
|
|
item.BodyChartSummary = mapChartLog[v.PermissionName]
|
|
|
item.List = listSonLog
|
|
|
item.PermissionName = PermissionNameMap[v.ChartPermissionId]
|
|
|
+ item.IcoLink = PermissionIcoMap[v.ChartPermissionId]
|
|
|
items = append(items, item)
|
|
|
itemsSubject = append(itemsSubject, itemSubject)
|
|
|
//itemLogs = make([]*models.CygxReportSelectionLogDetail, 0)
|