UI Design System
build dev

仪表盘页

聚合指标、趋势、构成与快捷入口的看板页;P1 运营看板 / P2 工作台 / P3 单列,Widget 卡片 W1–W6
稳定已接入

概述

组件类型: 概览 / 工作台 / 运营看板

职责: 在控制台外壳内聚合指标、趋势、构成与快捷入口;只读为主,少量筛选与下钻 link。

与「卡片列表页」的区别: 卡片列表页的 Card 是 实体摘要(插件、租户等),用上/中/下三层与整卡进详情;本页的 Card 是 看板 Widget(指标、图表、进度条),用 W1–W6 样式编号,不套用三层语义。

页面布局选型

布局要点典型场景
P1页头 + W2 筛选条卡 + 分区标题 + 多段 Grid(指标 / 全宽图表 / 双列构成)Nexus 运营概览
P2页头 + 快捷入口 Grid(W5) + 可选 1 行指标Platform / 租户「工作台」
P3单列纵向堆叠 Widget,无多列指标带窄屏降级、极简首页

线框须标注 仪表盘 · P1 及所用 W* 卡片类型。

布局 P1 — 运营分析看板(默认)

规则说明
页头左:标题 + muted 副标题;右:实时摘要(secondary、等宽数字)+ 刷新(reload 数据源)
分区h4 段标题(可带当前筛选时间范围)
栅格指标区常用 columns: 4;构成区 columns: 2;图表 独占一行 全宽 Card
下钻Widget 内 link 按钮 跳列表/日志;线框注目标路由或「建设中」
DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Flex",
        "props": {
          "direction": "vertical",
          "gap": 16
        },
        "children": [
          {
            "type": "Flex",
            "props": {
              "justify": "space-between",
              "align": "center"
            },
            "children": [
              {
                "type": "Flex",
                "props": {
                  "direction": "vertical",
                  "gap": 4,
                  "align": "start"
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "仪表盘",
                      "size": "large",
                      "strong": true
                    }
                  },
                  {
                    "type": "Text",
                    "props": {
                      "text": "Nexus Console — 系统管理概览",
                      "size": "small",
                      "type": "secondary"
                    }
                  }
                ]
              },
              {
                "type": "Flex",
                "props": {
                  "gap": 8,
                  "align": "center"
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "实时 12 RPM · 3k TPM",
                      "size": "small",
                      "type": "secondary"
                    }
                  },
                  {
                    "type": "Button",
                    "props": {
                      "text": "刷新",
                      "icon": "refresh",
                      "size": "small"
                    }
                  }
                ]
              }
            ]
          },
          {
            "type": "Card",
            "children": [
              {
                "type": "Flex",
                "props": {
                  "align": "center",
                  "gap": 8
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "分析时间范围",
                      "className": "shrink-0"
                    }
                  },
                  {
                    "type": "DatePicker",
                    "props": {
                      "mode": "range",
                      "placeholder": "选择起止日期"
                    }
                  }
                ]
              }
            ]
          },
          {
            "type": "Text",
            "props": {
              "text": "核心概览 · 2026-09-22 — 2026-09-28",
              "strong": true
            }
          },
          {
            "type": "Grid",
            "props": {
              "columns": 4,
              "gap": 16
            },
            "children": [
              {
                "type": "Card",
                "children": [
                  {
                    "type": "Flex",
                    "props": {
                      "direction": "vertical",
                      "gap": 8
                    },
                    "children": [
                      {
                        "type": "Flex",
                        "props": {
                          "justify": "space-between",
                          "align": "center"
                        },
                        "children": [
                          {
                            "type": "Text",
                            "props": {
                              "text": "请求量",
                              "size": "small",
                              "type": "secondary"
                            }
                          },
                          {
                            "type": "Icon",
                            "props": {
                              "name": "chart-column",
                              "size": "sm"
                            }
                          }
                        ]
                      },
                      {
                        "type": "Statistic",
                        "props": {
                          "value": "1,234,567"
                        }
                      },
                      {
                        "type": "Text",
                        "props": {
                          "text": "12 位活跃客户端 · 98M Token",
                          "size": "small",
                          "type": "secondary"
                        }
                      }
                    ]
                  }
                ]
              },
              {
                "type": "Card",
                "children": [
                  {
                    "type": "Flex",
                    "props": {
                      "direction": "vertical",
                      "gap": 8
                    },
                    "children": [
                      {
                        "type": "Flex",
                        "props": {
                          "justify": "space-between",
                          "align": "center"
                        },
                        "children": [
                          {
                            "type": "Text",
                            "props": {
                              "text": "成功率",
                              "size": "small",
                              "type": "secondary"
                            }
                          },
                          {
                            "type": "Icon",
                            "props": {
                              "name": "circle-check",
                              "size": "sm"
                            }
                          }
                        ]
                      },
                      {
                        "type": "Statistic",
                        "props": {
                          "value": 99.92,
                          "suffix": "%"
                        }
                      },
                      {
                        "type": "Text",
                        "props": {
                          "text": "较上期 +2.1% ↑",
                          "size": "small",
                          "type": "secondary"
                        }
                      }
                    ]
                  }
                ]
              },
              {
                "type": "Card",
                "children": [
                  "..."
                ]
              },
              {
                "type": "Card",
                "children": [
                  "..."
                ]
              }
            ]
          },
          {
            "type": "Card",
            "props": {
              "title": "趋势分析"
            },
            "children": [
              {
                "type": "Flex",
                "props": {
                  "direction": "vertical",
                  "gap": 8
                },
                "children": [
                  {
                    "type": "Flex",
                    "props": {
                      "justify": "space-between",
                      "align": "center"
                    },
                    "children": [
                      {
                        "type": "Text",
                        "props": {
                          "text": "观察流量与消费趋势",
                          "size": "small",
                          "type": "secondary"
                        }
                      },
                      {
                        "type": "Segmented",
                        "props": {
                          "value": "req",
                          "options": [
                            {
                              "label": "请求",
                              "value": "req"
                            },
                            {
                              "label": "Token",
                              "value": "token"
                            },
                            {
                              "label": "费用",
                              "value": "cost"
                            },
                            {
                              "label": "延迟",
                              "value": "latency"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  {
                    "type": "AreaChart",
                    "props": {
                      "xKey": "date",
                      "yKeys": [
                        "requests",
                        "tokens"
                      ],
                      "height": 320,
                      "data": [
                        "..."
                      ]
                    }
                  }
                ]
              }
            ]
          },
          {
            "type": "Grid",
            "props": {
              "columns": 2,
              "gap": 16
            },
            "children": [
              {
                "type": "Card",
                "props": {
                  "title": "用量构成 · 模型"
                },
                "children": [
                  {
                    "type": "Flex",
                    "props": {
                      "direction": "vertical",
                      "gap": 8,
                      "align": "start"
                    },
                    "children": [
                      {
                        "type": "Text",
                        "props": {
                          "text": "按请求量分布,识别主要模型流量来源",
                          "size": "small",
                          "type": "secondary",
                          "className": "w-full"
                        }
                      },
                      {
                        "type": "Flex",
                        "props": {
                          "align": "center",
                          "gap": 8,
                          "className": "w-full"
                        },
                        "children": [
                          {
                            "type": "Text",
                            "props": {
                              "text": "gpt-4o",
                              "size": "small",
                              "style": {
                                "width": 110
                              }
                            }
                          },
                          {
                            "type": "Progress",
                            "props": {
                              "value": 42,
                              "style": {
                                "flex": 1
                              }
                            }
                          },
                          {
                            "type": "Text",
                            "props": {
                              "text": "42%",
                              "size": "small",
                              "style": {
                                "width": 40
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "Flex",
                        "props": {
                          "align": "center",
                          "gap": 8,
                          "className": "w-full"
                        },
                        "children": [
                          "..."
                        ]
                      },
                      {
                        "type": "Flex",
                        "props": {
                          "align": "center",
                          "gap": 8,
                          "className": "w-full"
                        },
                        "children": [
                          "..."
                        ]
                      },
                      {
                        "type": "Flex",
                        "props": {
                          "align": "center",
                          "gap": 8,
                          "className": "w-full"
                        },
                        "children": [
                          "..."
                        ]
                      },
                      {
                        "type": "Button",
                        "props": {
                          "text": "查看全部 →",
                          "variant": "link"
                        }
                      }
                    ]
                  }
                ]
              },
              {
                "type": "Card",
                "props": {
                  "title": "用量构成 · 客户端"
                },
                "children": [
                  "..."
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}

布局 P2 — 工作台 / 欢迎页

无全局时间筛选时可 省略 W2;指标行可选 0–1 行 W1。

DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Flex",
        "props": {
          "direction": "vertical",
          "gap": 16
        },
        "children": [
          {
            "type": "Text",
            "props": {
              "text": "上午好,管理员",
              "size": "large",
              "strong": true
            }
          },
          {
            "type": "Grid",
            "props": {
              "columns": 4,
              "gap": 16
            },
            "children": [
              {
                "type": "Card",
                "props": {
                  "hoverable": true,
                  "contentClassName": "flex flex-col items-center justify-center gap-2"
                },
                "children": [
                  {
                    "type": "Icon",
                    "props": {
                      "name": "building",
                      "size": "lg"
                    }
                  },
                  {
                    "type": "Text",
                    "props": {
                      "text": "租户管理"
                    }
                  }
                ]
              },
              {
                "type": "Card",
                "props": {
                  "hoverable": true,
                  "contentClassName": "flex flex-col items-center justify-center gap-2"
                },
                "children": [
                  {
                    "type": "Icon",
                    "props": {
                      "name": "user",
                      "size": "lg"
                    }
                  },
                  {
                    "type": "Text",
                    "props": {
                      "text": "用户管理"
                    }
                  }
                ]
              },
              {
                "type": "Card",
                "props": {
                  "hoverable": true,
                  "contentClassName": "flex flex-col items-center justify-center gap-2"
                },
                "children": [
                  "..."
                ]
              },
              {
                "type": "Card",
                "props": {
                  "hoverable": true,
                  "contentClassName": "flex flex-col items-center justify-center gap-2"
                },
                "children": [
                  "..."
                ]
              }
            ]
          },
          {
            "type": "Card",
            "props": {
              "title": "待办摘要"
            },
            "children": [
              {
                "type": "Flex",
                "props": {
                  "direction": "vertical",
                  "gap": 8
                },
                "children": [
                  {
                    "type": "Flex",
                    "props": {
                      "justify": "end"
                    },
                    "children": [
                      {
                        "type": "Button",
                        "props": {
                          "text": "查看全部 →",
                          "variant": "link"
                        }
                      }
                    ]
                  },
                  {
                    "type": "Table",
                    "props": {
                      "pagination": false,
                      "columns": [
                        {
                          "title": "事项",
                          "dataIndex": "item"
                        },
                        {
                          "title": "提交人",
                          "dataIndex": "submitter"
                        },
                        {
                          "title": "时间",
                          "dataIndex": "time"
                        },
                        {
                          "title": "状态",
                          "width": 100,
                          "align": "center",
                          "cell": {
                            "type": "Status",
                            "props": {
                              "status": "${row.statusType}",
                              "text": "${row.statusText}"
                            }
                          }
                        }
                      ],
                      "dataSource": [
                        "..."
                      ]
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}

布局 P3 — 单列堆叠

P1 在窄屏或极简产品时的降级形态:指标 Grid 降为 1 列、W3/W4 纵向排列,逻辑顺序与 P1 相同。

DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Flex",
        "props": {
          "direction": "vertical",
          "gap": 16
        },
        "children": [
          {
            "type": "Flex",
            "props": {
              "justify": "space-between",
              "align": "center"
            },
            "children": [
              "..."
            ]
          },
          {
            "type": "Card",
            "children": [
              "..."
            ]
          },
          {
            "type": "Text",
            "props": {
              "text": "核心概览 · 2026-09-22 — 2026-09-28",
              "strong": true
            }
          },
          {
            "type": "Grid",
            "props": {
              "columns": 1,
              "gap": 16
            },
            "children": [
              {
                "type": "Card",
                "children": [
                  "..."
                ]
              },
              {
                "type": "Card",
                "children": [
                  "..."
                ]
              }
            ]
          },
          {
            "type": "Card",
            "props": {
              "title": "趋势分析"
            },
            "children": [
              "..."
            ]
          },
          {
            "type": "Card",
            "props": {
              "title": "用量构成 · 模型"
            },
            "children": [
              "..."
            ]
          }
        ]
      }
    ]
  }
}

看板卡片样式(W1–W6)

Widget Card 统一外框为 Card 组件:白底、圆角、内边距;无「下层底栏背景」约定,除非 W5 刻意区分。

W1 — 指标卡(Statistic)

用途: KPI 单值 + 辅助说明或下钻 link。

元素规则
titleStatistic 标题,短文案
value主数字;可有 suffix(%、ms、货币符号)
icon右上装饰图标;不单独可点
脚注muted 说明 或 link 下钻(错误率、可靠性等)
对比可选第二行:较上期 +12%(涨跌色须 不仅靠颜色,带 ↑↓ 或文案)

线框标注:W1·指标、是否含 link 脚注。

DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Card",
        "props": {
          "style": {
            "width": 280
          }
        },
        "children": [
          {
            "type": "Flex",
            "props": {
              "direction": "vertical",
              "gap": 8
            },
            "children": [
              {
                "type": "Flex",
                "props": {
                  "justify": "space-between",
                  "align": "center"
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "请求量",
                      "size": "small",
                      "type": "secondary"
                    }
                  },
                  {
                    "type": "Icon",
                    "props": {
                      "name": "chart-column",
                      "size": "sm"
                    }
                  }
                ]
              },
              {
                "type": "Statistic",
                "props": {
                  "value": "1,234,567"
                }
              },
              {
                "type": "Text",
                "props": {
                  "text": "12 位活跃客户端 · 98M Token",
                  "size": "small",
                  "type": "secondary"
                }
              }
            ]
          }
        ]
      }
    ]
  }
}

W2 — 筛选 / 工具条卡(DatePicker / Segmented)

用途: 页级或段级筛选,不占图表区。

  • 控件:DatePicker range、Select、Segmented 等;变更触发 reload 关联 dataSource。
  • 筛选字段多时可引用「搜索列表页」的 F1 内联 形态,但仍包在 单张 W2 Card 内。
  • 线框 不要 把表格画进 W2;浮层筛选见搜索列表页 F2。
DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Card",
        "props": {
          "style": {
            "width": 520
          }
        },
        "children": [
          {
            "type": "Flex",
            "props": {
              "align": "center",
              "gap": 8
            },
            "children": [
              {
                "type": "Text",
                "props": {
                  "text": "分析时间范围",
                  "className": "shrink-0"
                }
              },
              {
                "type": "DatePicker",
                "props": {
                  "mode": "range",
                  "placeholder": "选择起止日期"
                }
              },
              {
                "type": "Segmented",
                "props": {
                  "options": [
                    {
                      "label": "今天",
                      "value": "today"
                    },
                    {
                      "label": "近 7 天",
                      "value": "7d"
                    },
                    {
                      "label": "近 30 天",
                      "value": "30d"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    ]
  }
}

W3 — 图表卡(Line / Area / Bar 图表)

用途: 单图或单表可视化容器。

  • 标题用 Card title;副说明用 muted 一行。
  • 工具栏与副标题 同一行 justify: space-between:Segmented / ToggleGroup / [导出]。
  • 图区固定最小高度;加载用骨架块,不闪 0 轴。
  • 空数据:图区内 Empty +「调整时间范围」。
DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Card",
        "props": {
          "title": "趋势分析"
        },
        "children": [
          {
            "type": "Flex",
            "props": {
              "direction": "vertical",
              "gap": 8
            },
            "children": [
              {
                "type": "Flex",
                "props": {
                  "justify": "space-between",
                  "align": "center"
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "观察流量与消费趋势",
                      "size": "small",
                      "type": "secondary"
                    }
                  },
                  {
                    "type": "Segmented",
                    "props": {
                      "value": "req",
                      "options": [
                        {
                          "label": "请求",
                          "value": "req"
                        },
                        {
                          "label": "Token",
                          "value": "token"
                        },
                        {
                          "label": "费用",
                          "value": "cost"
                        }
                      ]
                    }
                  }
                ]
              },
              {
                "type": "AreaChart",
                "props": {
                  "xKey": "date",
                  "yKeys": [
                    "requests",
                    "tokens"
                  ],
                  "height": 240,
                  "data": [
                    {
                      "date": "09-22",
                      "requests": 8200,
                      "tokens": 6900
                    },
                    {
                      "date": "09-23",
                      "requests": 9400,
                      "tokens": 8100
                    },
                    {
                      "date": "09-24",
                      "requests": 8800,
                      "tokens": 7600
                    },
                    {
                      "date": "09-25",
                      "requests": 11200,
                      "tokens": 9800
                    },
                    {
                      "date": "09-26",
                      "requests": 10500,
                      "tokens": 9000
                    },
                    {
                      "date": "09-27",
                      "requests": 6200,
                      "tokens": 5400
                    },
                    {
                      "date": "09-28",
                      "requests": 5800,
                      "tokens": 4900
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    ]
  }
}

W4 — 构成卡(Progress 行)

用途: Top N 占比、模型/客户端/租户分布。

列宽(线框语义)名称 ~110px · Progress flex · 百分比右对齐 ~40px
行数线框写明 Top 4 或「动态 N≤5」
底链单条 link「查看全部 → {列表页}」
DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Card",
        "props": {
          "title": "用量构成 · 模型",
          "style": {
            "width": 420
          }
        },
        "children": [
          {
            "type": "Flex",
            "props": {
              "direction": "vertical",
              "gap": 8,
              "align": "start"
            },
            "children": [
              {
                "type": "Text",
                "props": {
                  "text": "按请求量分布,识别主要模型流量来源",
                  "size": "small",
                  "type": "secondary",
                  "className": "w-full"
                }
              },
              {
                "type": "Flex",
                "props": {
                  "align": "center",
                  "gap": 8,
                  "className": "w-full"
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "gpt-4o",
                      "size": "small",
                      "style": {
                        "width": 110
                      }
                    }
                  },
                  {
                    "type": "Progress",
                    "props": {
                      "value": 42,
                      "style": {
                        "flex": 1
                      }
                    }
                  },
                  {
                    "type": "Text",
                    "props": {
                      "text": "42%",
                      "size": "small",
                      "style": {
                        "width": 40
                      }
                    }
                  }
                ]
              },
              {
                "type": "Flex",
                "props": {
                  "align": "center",
                  "gap": 8,
                  "className": "w-full"
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "claude-3",
                      "size": "small",
                      "style": {
                        "width": 110
                      }
                    }
                  },
                  {
                    "type": "Progress",
                    "props": {
                      "value": 28,
                      "style": {
                        "flex": 1
                      }
                    }
                  },
                  {
                    "type": "Text",
                    "props": {
                      "text": "28%",
                      "size": "small",
                      "style": {
                        "width": 40
                      }
                    }
                  }
                ]
              },
              {
                "type": "Flex",
                "props": {
                  "align": "center",
                  "gap": 8,
                  "className": "w-full"
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "doubao-pro",
                      "size": "small",
                      "style": {
                        "width": 110
                      }
                    }
                  },
                  {
                    "type": "Progress",
                    "props": {
                      "value": 18,
                      "style": {
                        "flex": 1
                      }
                    }
                  },
                  {
                    "type": "Text",
                    "props": {
                      "text": "18%",
                      "size": "small",
                      "style": {
                        "width": 40
                      }
                    }
                  }
                ]
              },
              {
                "type": "Flex",
                "props": {
                  "align": "center",
                  "gap": 8,
                  "className": "w-full"
                },
                "children": [
                  {
                    "type": "Text",
                    "props": {
                      "text": "其他",
                      "size": "small",
                      "style": {
                        "width": 110
                      }
                    }
                  },
                  {
                    "type": "Progress",
                    "props": {
                      "value": 12,
                      "style": {
                        "flex": 1
                      }
                    }
                  },
                  {
                    "type": "Text",
                    "props": {
                      "text": "12%",
                      "size": "small",
                      "style": {
                        "width": 40
                      }
                    }
                  }
                ]
              },
              {
                "type": "Button",
                "props": {
                  "text": "查看全部 →",
                  "variant": "link"
                }
              }
            ]
          }
        ]
      }
    ]
  }
}

W5 — 快捷入口卡(Card + Icon)

用途: 导航到高频模块;非实体列表卡。

规则说明
点击整卡 → 路由;无右上停用钮
网格列数同卡片列表页栅格约定(常用 2–4)
样式可 hover 描边/阴影;与 W1 勿混排同一 Grid 行(入口与指标分区)
DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Grid",
        "props": {
          "columns": 4,
          "gap": 16,
          "style": {
            "width": 560
          }
        },
        "children": [
          {
            "type": "Card",
            "props": {
              "hoverable": true,
              "contentClassName": "flex flex-col items-center justify-center gap-2"
            },
            "children": [
              {
                "type": "Icon",
                "props": {
                  "name": "building",
                  "size": "lg"
                }
              },
              {
                "type": "Text",
                "props": {
                  "text": "租户管理"
                }
              }
            ]
          },
          {
            "type": "Card",
            "props": {
              "hoverable": true,
              "contentClassName": "flex flex-col items-center justify-center gap-2"
            },
            "children": [
              {
                "type": "Icon",
                "props": {
                  "name": "user",
                  "size": "lg"
                }
              },
              {
                "type": "Text",
                "props": {
                  "text": "用户管理"
                }
              }
            ]
          },
          {
            "type": "Card",
            "props": {
              "hoverable": true,
              "contentClassName": "flex flex-col items-center justify-center gap-2"
            },
            "children": [
              {
                "type": "Icon",
                "props": {
                  "name": "plus",
                  "size": "lg"
                }
              },
              {
                "type": "Text",
                "props": {
                  "text": "邀请成员"
                }
              }
            ]
          },
          {
            "type": "Card",
            "props": {
              "hoverable": true,
              "contentClassName": "flex flex-col items-center justify-center gap-2"
            },
            "children": [
              {
                "type": "Icon",
                "props": {
                  "name": "file-text",
                  "size": "lg"
                }
              },
              {
                "type": "Text",
                "props": {
                  "text": "帮助文档"
                }
              }
            ]
          }
        ]
      }
    ]
  }
}

W6 — 列表摘要卡(Table)

用途: 看板内嵌 精简表格 或待办列表(≤5 行)。

  • 无分页或仅「查看更多」;完整列表仍用搜索列表页。
  • 操作列若有,用 link;危险操作仍走二次确认。
DSL 配置
{
  "body": {
    "type": "Page",
    "children": [
      {
        "type": "Card",
        "props": {
          "title": "待办摘要",
          "style": {
            "width": 560
          },
          "extra": [
            {
              "type": "Button",
              "props": {
                "text": "查看全部 →",
                "variant": "link"
              }
            }
          ]
        },
        "children": [
          {
            "type": "Table",
            "props": {
              "pagination": false,
              "columns": [
                {
                  "title": "事项",
                  "dataIndex": "item"
                },
                {
                  "title": "提交人",
                  "dataIndex": "submitter"
                },
                {
                  "title": "时间",
                  "dataIndex": "time"
                },
                {
                  "title": "状态",
                  "width": 100,
                  "align": "center",
                  "cell": {
                    "type": "Status",
                    "props": {
                      "status": "${row.statusType}",
                      "text": "${row.statusText}"
                    }
                  }
                }
              ],
              "dataSource": [
                {
                  "id": 1,
                  "item": "注册审批",
                  "submitter": "租户 · 云启科技",
                  "time": "2026-09-28 10:12",
                  "statusType": "processing",
                  "statusText": "待处理"
                },
                {
                  "id": 2,
                  "item": "权限申请",
                  "submitter": "张三",
                  "time": "2026-09-27 16:40",
                  "statusType": "warning",
                  "statusText": "待审批"
                },
                {
                  "id": 3,
                  "item": "续费提醒",
                  "submitter": "系统",
                  "time": "2026-09-26 09:00",
                  "statusType": "default",
                  "statusText": "提醒"
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

响应式栅格

区域宽屏中屏窄屏
W1 指标带4 列2 列1 列
W4 构成2 列并排1 列堆叠1 列
W5 快捷4 列2 列1–2 列

段内 gap 建议 16;W1 同行 等高(stretch),脚注行不足时仍保留最小高度或统一 min-height(线框可注)。

状态与异常

粒度表现
整页数据源失败:页顶 I-error·条带 + [重试](见「信息与文本卡片」);保留 W2 可改条件
单 WidgetCard 内 Skeleton / Spin;不拖死整页
部分字段Statistic 显示 — + tooltip 说明
无权限替换为 Empty「无查看权限」或隐藏该 Widget(PRD 须写清)

交互要点

1. 刷新: 页头刷新与 W2 变更均 reload 同一 dashboard 数据源(或分段数据源,须在 PRD 标明)。

2. 时间范围: 写入页状态 range;段标题可展示 start — end。

3. 图表切换: ToggleGroup 只切 展示指标,不必重复请求(或注明每次 reload)。

4. 下钻 link: 携带筛选参数(时间、失败态)跳转列表/日志。

5. 线框必标:P1/P2/P3、各 Card 的 W1–W6、指标 Grid 列数 / maxColumns、图表 类型与高度。

不宜画进仪表盘的结构

场景应使用的参考
插件/实体卡片网格卡片列表页 L1 + 上中下
全屏筛选 + 大表搜索列表页 S1/S2
编辑配置表单表单页 / 抽屉表单
登录后首屏纯表单登录/注册页
公告 / 帮助 / 活动说明 Card信息与文本卡片 T-markdown / T-html
配额、演示环境等提示信息与文本卡片 I-warning / I-info