保存进度!

This commit is contained in:
Kane Wang 2023-02-03 19:04:51 +08:00
parent 6cda734793
commit 1787838b3a
6 changed files with 51 additions and 41 deletions

View File

@ -2,8 +2,8 @@
* @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-19 14:26:17 * @LastEditTime: 2023-02-03 18:53:11
* @FilePath: \admin_system\src\App.vue * @FilePath: \IT工具综合平台\src\App.vue
* @Description: * @Description:
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
@ -20,10 +20,11 @@ import zhCn from "element-plus/lib/locale/lang/zh-cn";
export default { export default {
name: "App", name: "App",
data() { setup()
return { {
locale: zhCn, // const locale = zhCn;
};
return { locale };
}, },
components: { components: {
// HelloWorld, // HelloWorld,
@ -32,4 +33,5 @@ export default {
</script> </script>
<style> <style>
</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-02-03 15:47:58 * @LastEditTime: 2023-02-03 19:02:27
* @FilePath: \IT工具综合平台\src\router\index.js * @FilePath: \IT工具综合平台\src\router\index.js
* @Description: 定义应用路由配置 * @Description: 定义应用路由配置
* *
@ -86,48 +86,30 @@ const routes = [
], ],
}, },
{//信息管理 {//信息管理
path: "/news", path: "/privilege",
name: "News", name: "Privilege",
meta: { meta: {
title: "信息管理", title: "权限管理",
icon: "edit", icon: "User",
}, },
children: [ children: [
{ {
path: "/staffInfo", path: "/user-manager",
name: "StaffInfo", name: "UserManager",
meta: { meta: {
title: "人员信息", title: "用户管理",
icon: "edit", icon: "User",
}, },
component: () => import("../views/info/StaffInfo.vue"), component: () => import("../views/privilege/StaffInfo.vue"),
}, },
{ {
path: "/editStuffInfo", path: "/privilege-manager",
name: "EditStaffInfo", name: "PrivilegeManager",
hidden: true,
meta: { meta: {
title: "编辑人员信息", title: "权限管理",
},
component: () => import("../views/info/EditStaffInfo.vue"),
},
{
path: "/newsIndex",
name: "NewsIndex",
meta: {
title: "信息列表",
icon: "edit", icon: "edit",
}, },
component: () => import("../views/news/News.vue"), component: () => import("../views/privilege/PrivilegeManager.vue"),
},
{
path: "/newsedit",
name: "NewsEdit",
meta: {
title: "信息编辑",
icon: "edit",
},
component: () => import("../views/news/NewsEdit.vue"),
}, },
], ],
component: () => import("../layout/Index.vue"), component: () => import("../layout/Index.vue"),
@ -137,7 +119,7 @@ const routes = [
name: "NetworkManager", name: "NetworkManager",
meta: { meta: {
title: "网络管理", title: "网络管理",
icon: "User", icon: "switch",
}, },
component: () => import("../layout/Index.vue"), component: () => import("../layout/Index.vue"),
children: [ children: [

View File

@ -0,0 +1,27 @@
<!--
* @Author: Kane
* @Date: 2023-02-03 18:54:38
* @LastEditors: Kane
* @LastEditTime: 2023-02-03 18:56:39
* @FilePath: \IT工具综合平台\src\views\privilege\PrivilegeManager.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
权限管理
</template>
<script>
export default {
name: "PrivilegeManager",
setup()
{
return {};
},
};
</script>
<style>
</style>

View File

@ -2,14 +2,13 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-02-02 22:19:12 * @Date: 2023-02-02 22:19:12
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-02-03 16:09:22 * @LastEditTime: 2023-02-03 18:49:39
* @FilePath: \IT工具综合平台\src\views\requirement\RequirementManager.vue * @FilePath: \IT工具综合平台\src\views\requirement\RequirementManager.vue
* @Description: * @Description:
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
--> -->
<template> <template>
<div class="requirement_wrapper"> <div class="requirement_wrapper">
<!-- 查询框 --> <!-- 查询框 -->
<div class="search-box"> <div class="search-box">