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