|
@@ -960,17 +960,17 @@ func (this *ReportController) AuthorizedListReport() {
|
|
|
var list []*models.ReportList
|
|
|
|
|
|
// 没有输入信息,那就不展示
|
|
|
- if keyword == `` && classifyIdFirst <= 0 {
|
|
|
- page := paging.GetPaging(currentIndex, pageSize, 0)
|
|
|
- resp := new(models.ReportListResp)
|
|
|
- resp.Paging = page
|
|
|
- resp.List = list
|
|
|
- br.Ret = 200
|
|
|
- br.Success = true
|
|
|
- br.Msg = "获取成功"
|
|
|
- br.Data = resp
|
|
|
- return
|
|
|
- }
|
|
|
+ // if keyword == `` && classifyIdFirst <= 0 {
|
|
|
+ // page := paging.GetPaging(currentIndex, pageSize, 0)
|
|
|
+ // resp := new(models.ReportListResp)
|
|
|
+ // resp.Paging = page
|
|
|
+ // resp.List = list
|
|
|
+ // br.Ret = 200
|
|
|
+ // br.Success = true
|
|
|
+ // br.Msg = "获取成功"
|
|
|
+ // br.Data = resp
|
|
|
+ // return
|
|
|
+ // }
|
|
|
|
|
|
// 当前用户有权限的报告id列表
|
|
|
grantReportIdList := make([]int, 0)
|