chore: 面包屑首项改为 OneOS数据中台
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
20
app.jsx
20
app.jsx
@@ -1,19 +1,19 @@
|
||||
// app.jsx — SPA router + responsive shell for 羚牛车辆数据中心
|
||||
// app.jsx — SPA router + responsive shell for OneOS数据中台
|
||||
// hash routes: #/, #/overview, #/detail, #/history, #/playback, #/alarm, #/inbox, #/esg, #/canvas
|
||||
|
||||
const ROUTES = [
|
||||
{ path: "overview", icon: "map", label: "实时地图", crumbs: ["羚牛车辆数据中心", "实时监控", "总览"], component: "ArtboardOverview" },
|
||||
{ path: "detail", icon: "car", label: "车辆详情", crumbs: ["羚牛车辆数据中心", "实时监控", "单车详情"], component: "ArtboardDetail" },
|
||||
{ path: "history", icon: "history", label: "历史查询", crumbs: ["羚牛车辆数据中心", "数据分析", "历史查询"], component: "ArtboardHistory" },
|
||||
{ path: "playback", icon: "route", label: "轨迹回放", crumbs: ["羚牛车辆数据中心", "数据分析", "轨迹回放"], component: "ArtboardPlayback" },
|
||||
{ path: "alarm", icon: "bell", label: "事件规则", crumbs: ["羚牛车辆数据中心", "事件中心", "规则编排"], component: "ArtboardAlarm" },
|
||||
{ path: "inbox", icon: "inbox", label: "通知中心", crumbs: ["羚牛车辆数据中心", "事件中心", "通知中心"], component: "ArtboardInbox" },
|
||||
{ path: "integration", icon: "plug", label: "数据接入监控", crumbs: ["羚牛车辆数据中心", "数据接入", "监控总览"], component: "ArtboardIntegration" },
|
||||
{ path: "overview", icon: "map", label: "实时地图", crumbs: ["OneOS数据中台", "实时监控", "总览"], component: "ArtboardOverview" },
|
||||
{ path: "detail", icon: "car", label: "车辆详情", crumbs: ["OneOS数据中台", "实时监控", "单车详情"], component: "ArtboardDetail" },
|
||||
{ path: "history", icon: "history", label: "历史查询", crumbs: ["OneOS数据中台", "数据分析", "历史查询"], component: "ArtboardHistory" },
|
||||
{ path: "playback", icon: "route", label: "轨迹回放", crumbs: ["OneOS数据中台", "数据分析", "轨迹回放"], component: "ArtboardPlayback" },
|
||||
{ path: "alarm", icon: "bell", label: "事件规则", crumbs: ["OneOS数据中台", "事件中心", "规则编排"], component: "ArtboardAlarm" },
|
||||
{ path: "inbox", icon: "inbox", label: "通知中心", crumbs: ["OneOS数据中台", "事件中心", "通知中心"], component: "ArtboardInbox" },
|
||||
{ path: "integration", icon: "plug", label: "数据接入监控", crumbs: ["OneOS数据中台", "数据接入", "监控总览"], component: "ArtboardIntegration" },
|
||||
];
|
||||
|
||||
const SUB_ROUTES = [
|
||||
{ path: "esg", icon: "chart", label: "ESG·碳减排", crumbs: ["羚牛车辆数据中心", "运营分析", "ESG驾驶舱"], component: "ArtboardESG" },
|
||||
{ path: "canvas", icon: "settings", label: "设计画板", crumbs: ["羚牛车辆数据中心", "设计画板"], component: "DesignCanvasMode" },
|
||||
{ path: "esg", icon: "chart", label: "ESG·碳减排", crumbs: ["OneOS数据中台", "运营分析", "ESG驾驶舱"], component: "ArtboardESG" },
|
||||
{ path: "canvas", icon: "settings", label: "设计画板", crumbs: ["OneOS数据中台", "设计画板"], component: "DesignCanvasMode" },
|
||||
];
|
||||
|
||||
const ALL_ROUTES = [...ROUTES, ...SUB_ROUTES];
|
||||
|
||||
Reference in New Issue
Block a user