增加网络管理模块。

This commit is contained in:
Kane 2023-01-25 11:37:24 +08:00
parent d5ba739ce5
commit d997be1cb2
5 changed files with 95 additions and 9 deletions

View File

@ -77,5 +77,6 @@ export default {
#layout-container-down { #layout-container-down {
height: calc(100vh - 50px); height: calc(100vh - 50px);
max-height: calc(100vh - 50px); max-height: calc(100vh - 50px);
min-height: calc(100vh - 50px);
} }
</style> </style>

View File

@ -2,14 +2,16 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-01-04 11:40:03 * @Date: 2023-01-04 11:40:03
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-01-06 12:54:17 * @LastEditTime: 2023-01-25 11:21:22
* @FilePath: \admin_system\src\layout\components\Main.vue * @FilePath: \admin_system\src\layout\components\Main.vue
* @Description: * @Description:
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
--> -->
<template> <template>
<div class="main-content">
<router-view /> <router-view />
</div>
</template> </template>
<script> <script>
@ -19,5 +21,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
.main-content {
min-height: calc(100vh -75px);
}
</style> </style>

View File

@ -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 00:31:59 * @LastEditTime: 2023-01-25 11:36:33
* @FilePath: \admin_system\src\router\index.js * @FilePath: \admin_system\src\router\index.js
* @Description: 定义应用路由配置 * @Description: 定义应用路由配置
* *
@ -102,13 +102,30 @@ const routes = [
component: () => import("../layout/Index.vue"), component: () => import("../layout/Index.vue"),
}, },
{ {
path: "/user", path: "/network",
name: "User", name: "NetworkManager",
meta: { meta: {
title: "人员管理", title: "网络管理",
icon: "edit", icon: "Monitor",
}, },
component: () => import("../layout/Index.vue"), component: () => import("../layout/Index.vue"),
children: [
{
path: "/network-point-manager",
name: "NetworkPointManager",
meta: {
title: "网络点管理",
icon: "Document",
},
component: () => import("../views/network/NetworkPoint.vue"),
},
{
path: "/network-point-edit",
name: "NetworkPointEdit",
hidden: true,
component: () => import("../views/network/EditNetworkPoint.vue"),
},
],
}, },
]; ];

View File

@ -0,0 +1,37 @@
<!--
* @Author: Kane
* @Date: 2023-01-25 11:26:11
* @LastEditors: Kane
* @LastEditTime: 2023-01-25 11:26:13
* @FilePath: \admin_system\src\views\network\NetworkPoint copy.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<!--
* @Author: Kane
* @Date: 2023-01-25 11:24:47
* @LastEditors: Kane
* @LastEditTime: 2023-01-25 11:24:48
* @FilePath: \admin_system\src\views\network\NetworkPoint.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<div>网络点位信息修改</div>
</template>
<script>
export default {
name: "network-point-editor",
data()
{
return {};
},
};
</script>
<style scoped>
</style>

View File

@ -0,0 +1,27 @@
<!--
* @Author: Kane
* @Date: 2023-01-25 11:24:47
* @LastEditors: Kane
* @LastEditTime: 2023-01-25 11:34:07
* @FilePath: \admin_system\src\views\network\NetworkPoint.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<div>网络点位管理</div>
</template>
<script>
export default {
name: "network-point-management",
data()
{
return {};
},
};
</script>
<style scoped>
</style>