From a50b7b6c660302e66cd61027d7745ae6db2c97a7 Mon Sep 17 00:00:00 2001
From: xiaowang <2161656029@qq.com>
Date: Sat, 5 Sep 2026 23:46:35 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=8E=E5=8F=B0=E9=BB=98?=
=?UTF-8?q?=E8=AE=A4=E5=AF=86=E7=A0=81=E7=AE=A1=E7=90=86=E5=85=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/config/admin-navigation.ts | 1 +
JC-Salon-Frontend/src/router/index.ts | 2 +-
.../src/views/admin/SystemSettingsView.vue | 95 +++++++++++++++++++
3 files changed, 97 insertions(+), 1 deletion(-)
create mode 100644 JC-Salon-Frontend/src/views/admin/SystemSettingsView.vue
diff --git a/JC-Salon-Frontend/src/config/admin-navigation.ts b/JC-Salon-Frontend/src/config/admin-navigation.ts
index fe8bbd10..32f2b0a4 100644
--- a/JC-Salon-Frontend/src/config/admin-navigation.ts
+++ b/JC-Salon-Frontend/src/config/admin-navigation.ts
@@ -26,6 +26,7 @@ export const adminNavigationItems: AdminNavigationItem[] = [
{ path: ADMIN_HOME_PATH, iconKey: 'home', label: '首页', permissionCode: '' },
{ path: '/admin/users', iconKey: 'user', label: '店长账号', permissionCode: 'user:view' },
{ path: '/admin/shops', iconKey: 'home', label: '店铺管理', permissionCode: 'shop:view' },
+ { path: '/admin/settings', iconKey: 'tool', label: '系统设置', permissionCode: 'messagehub:config:manage' },
{ path: '/admin/profile', iconKey: 'user', label: '个人设置', permissionCode: '' }
]
diff --git a/JC-Salon-Frontend/src/router/index.ts b/JC-Salon-Frontend/src/router/index.ts
index 4670683b..221dc1d0 100644
--- a/JC-Salon-Frontend/src/router/index.ts
+++ b/JC-Salon-Frontend/src/router/index.ts
@@ -10,7 +10,7 @@ import {
const pageNames = [
['', 'HomeView', 'admin', undefined],
['users', 'UsersView', 'admin-users', 'user:view'], ['shops', 'ShopsView', 'admin-shops', 'shop:view'],
- ['profile', 'ProfileView', 'admin-profile', undefined]
+ ['profile', 'ProfileView', 'admin-profile', undefined], ['settings', 'SystemSettingsView', 'admin-settings', 'messagehub:config:manage']
] as const
const routes = [
diff --git a/JC-Salon-Frontend/src/views/admin/SystemSettingsView.vue b/JC-Salon-Frontend/src/views/admin/SystemSettingsView.vue
new file mode 100644
index 00000000..396f9bc7
--- /dev/null
+++ b/JC-Salon-Frontend/src/views/admin/SystemSettingsView.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存默认密码
+
+
+
+
+
+
+
+