|
@@ -32,7 +32,7 @@ func (this *BIDaShboardController) MyList() {
|
|
|
}()
|
|
|
|
|
|
// 获取我的看板列表
|
|
|
- privateCond := ` AND sys_admin_id = ? AND state IN (1,6) `
|
|
|
+ privateCond := ` AND sys_admin_id = ? `
|
|
|
privatePars := []interface{}{this.SysUser.AdminId}
|
|
|
privateList, err := bi_dashboard.GetBiDashboardList(privateCond, privatePars)
|
|
|
if err != nil {
|
|
@@ -601,7 +601,7 @@ func (this *BIDaShboardController) PublicList() {
|
|
|
br.ErrMsg = "查询失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
for _, c := range classifyList {
|
|
|
tmpItem := &bi_dashboard.RespPublicGroupListItem{
|
|
|
GroupId: int64(c.BiDashboardClassifyId),
|
|
@@ -628,16 +628,17 @@ func (this *BIDaShboardController) PublicList() {
|
|
|
AdminId: systemAdmin.AdminId,
|
|
|
DashboardList: make([]*bi_dashboard.BiDashboard, 0),
|
|
|
}
|
|
|
+ tmpItem.AdminList = append(tmpItem.AdminList, tmpRespGroupListItem)
|
|
|
|
|
|
for _, vv := range respGroupNameListItemList {
|
|
|
if vv.BiDashboardClassifyId == c.BiDashboardClassifyId {
|
|
|
tmpRespGroupListItem.DashboardList = append(tmpRespGroupListItem.DashboardList, vv)
|
|
|
tmpItem.Children = append(tmpItem.Children, tmpRespGroupListItem)
|
|
|
+ resp = append(resp, tmpItem)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- resp = append(resp, tmpItem)
|
|
|
}
|
|
|
|
|
|
br.Ret = 200
|