diff --git a/code/web/IT工具综合平台/src/App.vue b/code/web/IT工具综合平台/src/App.vue
index 64fe4bd..d023c5e 100644
--- a/code/web/IT工具综合平台/src/App.vue
+++ b/code/web/IT工具综合平台/src/App.vue
@@ -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 {
diff --git a/code/web/IT工具综合平台/src/router/index.js b/code/web/IT工具综合平台/src/router/index.js
index b959cba..db5eff2 100644
--- a/code/web/IT工具综合平台/src/router/index.js
+++ b/code/web/IT工具综合平台/src/router/index.js
@@ -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: [
diff --git a/code/web/IT工具综合平台/src/views/info/EditStaffInfo.vue b/code/web/IT工具综合平台/src/views/privilege/EditStaffInfo.vue
similarity index 100%
rename from code/web/IT工具综合平台/src/views/info/EditStaffInfo.vue
rename to code/web/IT工具综合平台/src/views/privilege/EditStaffInfo.vue
diff --git a/code/web/IT工具综合平台/src/views/privilege/PrivilegeManager.vue b/code/web/IT工具综合平台/src/views/privilege/PrivilegeManager.vue
new file mode 100644
index 0000000..eae5473
--- /dev/null
+++ b/code/web/IT工具综合平台/src/views/privilege/PrivilegeManager.vue
@@ -0,0 +1,27 @@
+
+
+ 权限管理
+
+
+
+
+
\ No newline at end of file
diff --git a/code/web/IT工具综合平台/src/views/info/StaffInfo.vue b/code/web/IT工具综合平台/src/views/privilege/StaffInfo.vue
similarity index 100%
rename from code/web/IT工具综合平台/src/views/info/StaffInfo.vue
rename to code/web/IT工具综合平台/src/views/privilege/StaffInfo.vue
diff --git a/code/web/IT工具综合平台/src/views/requirement/RequirementManager.vue b/code/web/IT工具综合平台/src/views/requirement/RequirementManager.vue
index f837561..9cb7749 100644
--- a/code/web/IT工具综合平台/src/views/requirement/RequirementManager.vue
+++ b/code/web/IT工具综合平台/src/views/requirement/RequirementManager.vue
@@ -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.
-->
-