浏览代码

综合可视化

chenrui  2 年之前
父节点
当前提交
a4841863ba

+ 23 - 4
src/router/routes/routes-file-six.ts

@@ -1,13 +1,32 @@
 import Layout from "@/layout";
 
 const HomeRoutes = {
-  path: "/departureC",
+  path: "/baggageManagement",
   component: Layout,
-  name: "DepartureC",
-  // redirect: "/BasicsData/airlineCompany",
+  name: "baggageManagement",
+  redirect: "/baggageManagement/departureC",
   //using el svg icon, the elSvgIcon first when at the same time using elSvgIcon and icon
   meta: { title: "综合可视化", elSvgIcon: "Fold" },
-  children: [],
+  children: [
+    {
+      path: "/baggageManagement/departureC",
+      name: "DepartureC",
+      meta: { title: "出港相关", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/baggageManagement/departureC/index.vue"),
+    },
+    {
+      path: "/baggageManagement/arrival",
+      name: "Arrival",
+      meta: { title: "进港相关", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/baggageManagement/arrival/index.vue"),
+    },
+    {
+      path: "/baggageManagement/trackMap",
+      name: "TrackMap",
+      meta: { title: "轨迹地图", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/baggageManagement/trackMap/index.vue"),
+    },
+  ],
 };
 
 export default [HomeRoutes];

+ 11 - 0
src/views/baggageManagement/arrival/index.vue

@@ -0,0 +1,11 @@
+<template>
+  <div></div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+
+export default defineComponent({
+  setup() {},
+});
+</script>
+<style lang="scss" scoped></style>

+ 11 - 0
src/views/baggageManagement/departureC/index.vue

@@ -0,0 +1,11 @@
+<template>
+  <div></div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+
+export default defineComponent({
+  setup() {},
+});
+</script>
+<style lang="scss" scoped></style>

+ 5 - 0
src/views/baggageManagement/index.vue

@@ -0,0 +1,5 @@
+<template>
+  <div>
+    <router-view />
+  </div>
+</template>

+ 11 - 0
src/views/baggageManagement/trackMap/index.vue

@@ -0,0 +1,11 @@
+<template>
+  <div></div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+
+export default defineComponent({
+  setup() {},
+});
+</script>
+<style lang="scss" scoped></style>