Selaa lähdekoodia

基础信息维护

chenrui  2 vuotta sitten
vanhempi
commit
19984512ca

+ 53 - 13
src/router/routes/routes-file-three.ts

@@ -3,21 +3,61 @@ import Layout from "@/layout";
 const HomeRoutes = {
   path: "/BasicsData",
   component: Layout,
+  name: "BasicsData",
+  redirect: "/BasicsData/airlineCompany",
+  //using el svg icon, the elSvgIcon first when at the same time using elSvgIcon and icon
+  meta: { title: "基础数据", elSvgIcon: "Fold" },
   children: [
     {
-      path: "/BasicsData",
-      name: "BasicsData",
-      component: () => import("@/views/BasicsData/index.vue"),
-      //using el svg icon, the elSvgIcon first when at the same time using elSvgIcon and icon
-      meta: { title: "航司信息维护", elSvgIcon: "Fold" },
-      children: [
-        {
-          path: "/BasicsData",
-          name: "BasicsData",
-          component: () =>
-            import("@/views/BasicsData/airlineCompany/index.vue"),
-        },
-      ],
+      path: "/BasicsData/airlineCompany",
+      name: "AirlineCompany",
+      meta: { title: "航司信息维护", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/BasicsData/airlineCompany/index.vue"),
+    },
+    {
+      path: "/BasicsData/airportCompany",
+      name: "AirportCompany",
+      meta: { title: "机场公司维护", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/BasicsData/airportCompany/index.vue"),
+    },
+    {
+      path: "/BasicsData/deployNode",
+      name: "DeployNode",
+      meta: { title: "节点信息维护", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/BasicsData/deployNode/index.vue"),
+    },
+    {
+      path: "/BasicsData/modelMaintenance",
+      name: "ModelMaintenance",
+      meta: { title: "机型维护", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/BasicsData/modelMaintenance/index.vue"),
+    },
+    {
+      path: "/BasicsData/containerMaintenance",
+      name: "ContainerMaintenance",
+      meta: { title: "容器维护", elSvgIcon: "Fold", icon: "table" },
+      component: () =>
+        import("@/views/BasicsData/containerMaintenance/index.vue"),
+    },
+    {
+      path: "/BasicsData/cargoInformation",
+      name: "CargoInformation",
+      meta: { title: "代货信息维护", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/BasicsData/cargoInformation/index.vue"),
+    },
+    {
+      path: "/BasicsData/specialCargoMaintenance",
+      name: "SpecialCargoMaintenance",
+      meta: { title: "特殊货物类型维护", elSvgIcon: "Fold", icon: "table" },
+      component: () =>
+        import("@/views/BasicsData/specialCargoMaintenance/index.vue"),
+    },
+    {
+      path: "/BasicsData/equipmentMaintenance",
+      name: "EquipmentMaintenance",
+      meta: { title: "设备维护", elSvgIcon: "Fold", icon: "table" },
+      component: () =>
+        import("@/views/BasicsData/equipmentMaintenance/index.vue"),
     },
   ],
 };

+ 28 - 0
src/views/BasicsData/airportCompany/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <div class="airportInfo">
+    <div class="wrap">
+      <DataTable :is-auth="true" :is-statuser="true">
+        <template #header>
+          <div class="status flex-wrap">
+            <div class="manageTitle">机场公司维护</div>
+          </div>
+        </template>
+      </DataTable>
+    </div>
+  </div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+import DataTable from "@/components/table2/index.vue";
+
+export default defineComponent({
+  components: {
+    DataTable,
+  },
+  setup() {},
+});
+</script>
+<style lang="scss" scoped>
+.airportInfo {
+}
+</style>

+ 28 - 0
src/views/BasicsData/cargoInformation/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <div class="airportInfo">
+    <div class="wrap">
+      <DataTable :is-auth="true" :is-statuser="true">
+        <template #header>
+          <div class="status flex-wrap">
+            <div class="manageTitle">代货信息维护</div>
+          </div>
+        </template>
+      </DataTable>
+    </div>
+  </div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+import DataTable from "@/components/table2/index.vue";
+
+export default defineComponent({
+  components: {
+    DataTable,
+  },
+  setup() {},
+});
+</script>
+<style lang="scss" scoped>
+.airportInfo {
+}
+</style>

+ 28 - 0
src/views/BasicsData/containerMaintenance/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <div class="airportInfo">
+    <div class="wrap">
+      <DataTable :is-auth="true" :is-statuser="true">
+        <template #header>
+          <div class="status flex-wrap">
+            <div class="manageTitle">容器维护</div>
+          </div>
+        </template>
+      </DataTable>
+    </div>
+  </div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+import DataTable from "@/components/table2/index.vue";
+
+export default defineComponent({
+  components: {
+    DataTable,
+  },
+  setup() {},
+});
+</script>
+<style lang="scss" scoped>
+.airportInfo {
+}
+</style>

+ 28 - 0
src/views/BasicsData/deployNode/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <div class="airportInfo">
+    <div class="wrap">
+      <DataTable :is-auth="true" :is-statuser="true">
+        <template #header>
+          <div class="status flex-wrap">
+            <div class="manageTitle">节点信息维护</div>
+          </div>
+        </template>
+      </DataTable>
+    </div>
+  </div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+import DataTable from "@/components/table2/index.vue";
+
+export default defineComponent({
+  components: {
+    DataTable,
+  },
+  setup() {},
+});
+</script>
+<style lang="scss" scoped>
+.airportInfo {
+}
+</style>

+ 28 - 0
src/views/BasicsData/equipmentMaintenance/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <div class="airportInfo">
+    <div class="wrap">
+      <DataTable :is-auth="true" :is-statuser="true">
+        <template #header>
+          <div class="status flex-wrap">
+            <div class="manageTitle">设备维护</div>
+          </div>
+        </template>
+      </DataTable>
+    </div>
+  </div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+import DataTable from "@/components/table2/index.vue";
+
+export default defineComponent({
+  components: {
+    DataTable,
+  },
+  setup() {},
+});
+</script>
+<style lang="scss" scoped>
+.airportInfo {
+}
+</style>

+ 28 - 0
src/views/BasicsData/modelMaintenance/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <div class="airportInfo">
+    <div class="wrap">
+      <DataTable :is-auth="true" :is-statuser="true">
+        <template #header>
+          <div class="status flex-wrap">
+            <div class="manageTitle">机型维护</div>
+          </div>
+        </template>
+      </DataTable>
+    </div>
+  </div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+import DataTable from "@/components/table2/index.vue";
+
+export default defineComponent({
+  components: {
+    DataTable,
+  },
+  setup() {},
+});
+</script>
+<style lang="scss" scoped>
+.airportInfo {
+}
+</style>

+ 28 - 0
src/views/BasicsData/specialCargoMaintenance/index.vue

@@ -0,0 +1,28 @@
+<template>
+  <div class="airportInfo">
+    <div class="wrap">
+      <DataTable :is-auth="true" :is-statuser="true">
+        <template #header>
+          <div class="status flex-wrap">
+            <div class="manageTitle">特殊货物类型维护</div>
+          </div>
+        </template>
+      </DataTable>
+    </div>
+  </div>
+</template>
+<script lang="ts">
+import { defineComponent } from "vue";
+import DataTable from "@/components/table2/index.vue";
+
+export default defineComponent({
+  components: {
+    DataTable,
+  },
+  setup() {},
+});
+</script>
+<style lang="scss" scoped>
+.airportInfo {
+}
+</style>