diff --git a/app.jsx b/app.jsx index aedae2e..8b7a70d 100644 --- a/app.jsx +++ b/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]; diff --git a/artboards/integration.jsx b/artboards/integration.jsx index 1dd0395..71861b4 100644 --- a/artboards/integration.jsx +++ b/artboards/integration.jsx @@ -192,7 +192,7 @@ const ArtboardIntegration = () => {
{
{
{
{ ); }; -const Topbar = ({ crumbs = ["羚牛车辆数据中心", "实时监控"], kpis = [], showSearch = true }) => { +const Topbar = ({ crumbs = ["OneOS数据中台", "实时监控"], kpis = [], showSearch = true }) => { const ctx = (typeof window.useRoute === "function") ? window.useRoute() : null; const isMobile = ctx && ctx.isMobile; return (