Skip to content

[P2] dashboard: charts have no drill-down — manager dashboards are read-only wallpaper #1318

@xuyushun441-sys

Description

@xuyushun441-sys

来源:docs/PLATFORM_GAPS_FROM_TEMPLATES.md 第 37 条(P2)。

现象

Dashboard 图表没有 drill-down:点击柱 / 扇形 / 折线点不会跳到对应过滤的列表视图

效果:管理者看到「sentiment = angry 有 8 条」之后无法一键查看是哪 8 条 → 看板沦为只读壁纸。

复现

helpdesk Manager Overview:

  • 点 "Sentiment Distribution" 的 angry 扇形 → 啥都不发生

建议范围

M1:声明式 drill-down

  • chart widget 上 drillTo: { view: 'helpdesk_ticket.list', applyFilter: 'category' }
  • 点击时,平台自动把分类值带进过滤器跳转

M2:默认行为

  • 若 widget 未声明,默认跳到 <object>.list + 自动套用 categoryField 过滤

M3:与周期对比 #38 配合

  • 周期对比柱的 drill-down 可指定时间段

验收

关联

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions