|
@@ -846,6 +846,7 @@ func (this *ReportController) AuthorizedListReport() {
|
|
|
classifyIdFirst, _ := this.GetInt("ClassifyIdFirst", 0)
|
|
|
classifyIdSecond, _ := this.GetInt("ClassifyIdSecond", 0)
|
|
|
classifyIdThird, _ := this.GetInt("ClassifyIdThird", 0)
|
|
|
+ state := this.GetString("State")
|
|
|
|
|
|
var startSize int
|
|
|
if pageSize <= 0 {
|
|
@@ -912,6 +913,10 @@ func (this *ReportController) AuthorizedListReport() {
|
|
|
orCondition := `AND ( (a.is_public_publish = ? AND a.state in (2,6)) or a.admin_id = ? `
|
|
|
pars = append(pars, 1, this.SysUser.AdminId)
|
|
|
|
|
|
+ if state != `` {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
// 当前用户有权限的报告id列表
|
|
|
num := len(grantReportIdList)
|
|
|
if num > 0 {
|