保存进度!

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
* @Date: 2022-12-14 15:12:46
* @LastEditors: Kane
* @LastEditTime: 2023-01-19 14:26:17
* @FilePath: \admin_system\src\App.vue
* @LastEditTime: 2023-02-03 18:53:11
* @FilePath: \IT工具综合平台\src\App.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
@ -20,10 +20,11 @@ import zhCn from "element-plus/lib/locale/lang/zh-cn";
export default {
name: "App",
data() {
return {
locale: zhCn, //
};
setup()
{
const locale = zhCn;
return { locale };
},
components: {
// HelloWorld,
@ -32,4 +33,5 @@ export default {
</script>
<style>
</style>

View File

@ -2,7 +2,7 @@
* @Author: Kane
* @Date: 2022-12-14 15:12:46
* @LastEditors: Kane
* @LastEditTime: 2023-02-03 15:47:58
* @LastEditTime: 2023-02-03 19:02:27
* @FilePath: \IT工具综合平台\src\router\index.js
* @Description: 定义应用路由配置
*
@ -86,48 +86,30 @@ const routes = [
],
},
{//信息管理
path: "/news",
name: "News",
path: "/privilege",
name: "Privilege",
meta: {
title: "信息管理",
icon: "edit",
title: "权限管理",
icon: "User",
},
children: [
{
path: "/staffInfo",
name: "StaffInfo",
path: "/user-manager",
name: "UserManager",
meta: {
title: "人员信息",
icon: "edit",
title: "用户管理",
icon: "User",
},
component: () => import("../views/info/StaffInfo.vue"),
component: () => import("../views/privilege/StaffInfo.vue"),
},
{
path: "/editStuffInfo",
name: "EditStaffInfo",
hidden: true,
path: "/privilege-manager",
name: "PrivilegeManager",
meta: {
title: "编辑人员信息",
},
component: () => import("../views/info/EditStaffInfo.vue"),
},
{
path: "/newsIndex",
name: "NewsIndex",
meta: {
title: "信息列表",
title: "权限管理",
icon: "edit",
},
component: () => import("../views/news/News.vue"),
},
{
path: "/newsedit",
name: "NewsEdit",
meta: {
title: "信息编辑",
icon: "edit",
},
component: () => import("../views/news/NewsEdit.vue"),
component: () => import("../views/privilege/PrivilegeManager.vue"),
},
],
component: () => import("../layout/Index.vue"),
@ -137,7 +119,7 @@ const routes = [
name: "NetworkManager",
meta: {
title: "网络管理",
icon: "User",
icon: "switch",
},
component: () => import("../layout/Index.vue"),
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
* @Date: 2023-02-02 22:19:12
* @LastEditors: Kane
* @LastEditTime: 2023-02-03 16:09:22
* @LastEditTime: 2023-02-03 18:49:39
* @FilePath: \IT工具综合平台\src\views\requirement\RequirementManager.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<div class="requirement_wrapper">
<!-- 查询框 -->
<div class="search-box">