保存进度!
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-01-04 11:05:44
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-01-23 17:10:55
 | 
			
		||||
 * @LastEditTime: 2023-01-25 14:55:14
 | 
			
		||||
 * @FilePath: \admin_system\src\layout\Index.vue
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
@@ -58,6 +58,9 @@ export default {
 | 
			
		||||
  /* width: 175px; */
 | 
			
		||||
  background-color: #223142;
 | 
			
		||||
  overflow-x: hidden;
 | 
			
		||||
  height: calc(100vh - 50px);
 | 
			
		||||
  max-height: calc(100vh - 50px);
 | 
			
		||||
  min-height: calc(100vh - 50px);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#layout-header {
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-01-04 11:30:33
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-01-09 15:24:55
 | 
			
		||||
 * @LastEditTime: 2023-01-25 15:11:23
 | 
			
		||||
 * @FilePath: \admin_system\src\layout\components\Aside.vue
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
@@ -26,12 +26,12 @@
 | 
			
		||||
                    <!-- 不是一个子路由时,有可能没有子路由,或者是多个子路由 -->
 | 
			
		||||
                    <el-sub-menu v-if="route.children && route.children.length" :index="route.path">
 | 
			
		||||
                        <template #title>
 | 
			
		||||
                            <component :is="route.children[0].meta.icon" class="icons"></component>
 | 
			
		||||
                            <component :is="route.meta.icon" class="icons"></component>
 | 
			
		||||
                            <span>{{ route.meta && route.meta.title }}</span>
 | 
			
		||||
                        </template>
 | 
			
		||||
                        <template v-for="child in route.children" :key="child.path">
 | 
			
		||||
                            <el-menu-item v-if="!child.hidden" :index="child.path">
 | 
			
		||||
                                <component :is="route.children[0].meta.icon" class="icons"></component>
 | 
			
		||||
                                <component :is="child.meta.icon" class="icons"></component>
 | 
			
		||||
                                <template #title>{{ child.meta && child.meta.title }}</template>
 | 
			
		||||
                            </el-menu-item>
 | 
			
		||||
                        </template>
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2022-12-14 15:12:46
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-01-25 11:36:33
 | 
			
		||||
 * @LastEditTime: 2023-01-25 15:10:03
 | 
			
		||||
 * @FilePath: \admin_system\src\router\index.js
 | 
			
		||||
 * @Description: 定义应用路由配置
 | 
			
		||||
 * 
 | 
			
		||||
@@ -106,7 +106,7 @@ const routes = [
 | 
			
		||||
    name: "NetworkManager",
 | 
			
		||||
    meta: {
 | 
			
		||||
      title: "网络管理",
 | 
			
		||||
      icon: "Monitor",
 | 
			
		||||
      icon: "User",
 | 
			
		||||
    },
 | 
			
		||||
    component: () => import("../layout/Index.vue"),
 | 
			
		||||
    children: [
 | 
			
		||||
@@ -115,16 +115,25 @@ const routes = [
 | 
			
		||||
        name: "NetworkPointManager",
 | 
			
		||||
        meta: {
 | 
			
		||||
          title: "网络点管理",
 | 
			
		||||
          icon: "Document",
 | 
			
		||||
          icon: "Monitor",
 | 
			
		||||
        },
 | 
			
		||||
        component: () => import("../views/network/NetworkPoint.vue"),
 | 
			
		||||
        component: () => import("../views/network/NetworkPoint/NetworkPoint.vue"),
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        path: "/network-point-edit",
 | 
			
		||||
        name: "NetworkPointEdit",
 | 
			
		||||
        hidden: true,
 | 
			
		||||
        component: () => import("../views/network/EditNetworkPoint.vue"),
 | 
			
		||||
        component: () => import("../views/network/NetworkPoint/EditNetworkPoint.vue"),
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        path: "/switch-manager",
 | 
			
		||||
        name: "SwitchManager",
 | 
			
		||||
        meta: {
 | 
			
		||||
          title: "交换机管理",
 | 
			
		||||
          icon: "switch",
 | 
			
		||||
        },
 | 
			
		||||
        component: () => import("../views/network/switch/SwitchManager.vue"),
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
  },
 | 
			
		||||
];
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,27 @@
 | 
			
		||||
<!--
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-01-25 14:48:53
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-01-25 14:48:54
 | 
			
		||||
 * @FilePath: \admin_system\src\views\network\switch\SwitchManager.vue
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
-->
 | 
			
		||||
<template>
 | 
			
		||||
    交换机管理
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
export default {
 | 
			
		||||
    name: "switch-manager",
 | 
			
		||||
    data()
 | 
			
		||||
    {
 | 
			
		||||
        return {};
 | 
			
		||||
    },
 | 
			
		||||
};
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style scoped>
 | 
			
		||||
 | 
			
		||||
</style>
 | 
			
		||||
		Reference in New Issue
	
	Block a user