From e95e9e402cd5eef5e5cc19b269e4033fe4abc5d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A8=8B=E8=95=8A?= <1669717659@qq.com>
Date: Fri, 25 Oct 2024 11:12:22 +0800
Subject: [PATCH] 10.22
---
vue/src/router/index.js | 11 +--
vue/src/views/Manage.vue | 104 -----------------------
vue/src/views/UserApproval.vue | 55 ------------
vue/src/views/{ => home}/AdminManage.vue | 0
vue/src/views/{ => home}/Home.vue | 0
vue/src/views/{ => home}/Menu.vue | 0
6 files changed, 6 insertions(+), 164 deletions(-)
delete mode 100644 vue/src/views/Manage.vue
delete mode 100644 vue/src/views/UserApproval.vue
rename vue/src/views/{ => home}/AdminManage.vue (100%)
rename vue/src/views/{ => home}/Home.vue (100%)
rename vue/src/views/{ => home}/Menu.vue (100%)
diff --git a/vue/src/router/index.js b/vue/src/router/index.js
index 7b2717e..4933072 100644
--- a/vue/src/router/index.js
+++ b/vue/src/router/index.js
@@ -18,31 +18,32 @@ const routes = [
{
path: '/menu',
name: 'Menu',
- component: () => import('@/views/Menu.vue'),
+ component: () => import('@/views/home/Menu.vue'),
redirect: '/home',
children: [
{
path: '/home',
name: 'Home',
- component: () => import('@/views/Home.vue'),
+ component: () => import('@/views/home/Home.vue'),
},
{
path:'/adminmanage',
name: 'AdminManage',
- component: () => import('@/views/AdminManage.vue'),
+ component: () => import('@/views/home/AdminManage.vue'),
},
]
},
{
path: '/manage',
name: 'Manage',
- component: () => import('@/views/Manage.vue'),
+ component: () => import('@/views/backstage/Manage.vue'),
children: [
{
path: '/userapproval',
name: 'UserApproval',
- component: () => import('@/views/UserApproval.vue')
+ component: () => import('@/views/backstage/UserApproval.vue')
},
+
]
},
];
diff --git a/vue/src/views/Manage.vue b/vue/src/views/Manage.vue
deleted file mode 100644
index a933fd4..0000000
--- a/vue/src/views/Manage.vue
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
-
-
-
欢迎来到后台管理系统
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vue/src/views/UserApproval.vue b/vue/src/views/UserApproval.vue
deleted file mode 100644
index 7f28530..0000000
--- a/vue/src/views/UserApproval.vue
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
用户审批页面
-
-
-
-
-
- 批准
- 拒绝
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vue/src/views/AdminManage.vue b/vue/src/views/home/AdminManage.vue
similarity index 100%
rename from vue/src/views/AdminManage.vue
rename to vue/src/views/home/AdminManage.vue
diff --git a/vue/src/views/Home.vue b/vue/src/views/home/Home.vue
similarity index 100%
rename from vue/src/views/Home.vue
rename to vue/src/views/home/Home.vue
diff --git a/vue/src/views/Menu.vue b/vue/src/views/home/Menu.vue
similarity index 100%
rename from vue/src/views/Menu.vue
rename to vue/src/views/home/Menu.vue