From f24a583e2e1f1adaccde01f5419cfa009021f7a1 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 22 Apr 2026 22:19:53 +0000 Subject: [PATCH] Add beginning of cell detail page --- ts/route/config.ts | 7 + ts/view/Cell.vue | 345 +++++++++++++++++++++++++++++++++++++++++++++ ts/view/Dash.vue | 2 +- 3 files changed, 353 insertions(+), 1 deletion(-) create mode 100644 ts/view/Cell.vue diff --git a/ts/route/config.ts b/ts/route/config.ts index 70ca2825..32b9225b 100644 --- a/ts/route/config.ts +++ b/ts/route/config.ts @@ -4,6 +4,7 @@ import type { RouteRecordRaw } from "vue-router"; import { useSessionStore } from "@/store/session"; import Home from "@/view/Home.vue"; import Authenticated from "@/view/Authenticated.vue"; +import Cell from "@/view/Cell.vue"; import Communication from "@/view/Communication.vue"; import ConfigurationIntegration from "@/view/configuration/Integration.vue"; import ConfigurationIntegrationArcgis from "@/view/configuration/IntegrationArcgis.vue"; @@ -45,6 +46,12 @@ const routes: RouteRecordRaw[] = [ }, { children: [ + { + component: Cell, + name: "Cell", + path: "/_/cell/:cell", + props: true, + }, { path: "/_/communication", name: "Communication", diff --git a/ts/view/Cell.vue b/ts/view/Cell.vue new file mode 100644 index 00000000..7f85464f --- /dev/null +++ b/ts/view/Cell.vue @@ -0,0 +1,345 @@ + + + + diff --git a/ts/view/Dash.vue b/ts/view/Dash.vue index d3c222e8..d7671aa2 100644 --- a/ts/view/Dash.vue +++ b/ts/view/Dash.vue @@ -194,7 +194,7 @@ onMounted(async () => { console.log("syncs", syncs); }); function doClickMap(cell: string) { - router.push("/cell/" + cell); + router.push("/_/cell/" + cell); } function mapBounds(): Bounds | undefined { if (session.organization?.service_area) {