feat(admin): 新增角色权限与客服群管理
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
import {
|
||||
AccountBookOutlined,
|
||||
BellOutlined,
|
||||
CustomerServiceOutlined,
|
||||
DashboardOutlined,
|
||||
FileDoneOutlined,
|
||||
LogoutOutlined,
|
||||
@@ -131,12 +132,19 @@ const allNavGroups: NavGroup[] = [
|
||||
icon: <BellOutlined />,
|
||||
children: [{ key: '/announcements', label: '公告管理', permission: 'announcement:view' }],
|
||||
},
|
||||
{
|
||||
key: 'support',
|
||||
label: '客服',
|
||||
icon: <CustomerServiceOutlined />,
|
||||
children: [{ key: '/chat-support-groups', label: '客服群组', permission: 'chat:manage' }],
|
||||
},
|
||||
{
|
||||
key: 'system',
|
||||
label: '系统',
|
||||
icon: <SettingOutlined />,
|
||||
children: [
|
||||
{ key: '/system-configs', label: '系统配置', permission: 'system_config:view' },
|
||||
{ key: '/roles', label: '角色权限', permission: 'role:manage' },
|
||||
{ key: '/payment-configs', label: '支付配置', permission: 'payment_config:list' },
|
||||
{ key: '/audit-logs', label: '审计日志', permission: 'audit_log:view' },
|
||||
],
|
||||
@@ -168,6 +176,11 @@ const sectionMeta: Record<string, { title: string; description: string }> = {
|
||||
'/distribution/sms': { title: '站点短信', description: '为分站配置独立短信签名、模板与密钥。' },
|
||||
'/distribution/invitation': { title: '邀请返利', description: '配置分站邀请好友的返利比例。' },
|
||||
'/announcements': { title: '公告管理', description: '维护主站与分站公告。' },
|
||||
'/roles': { title: '角色权限', description: '维护后台角色并分配资源级操作权限。' },
|
||||
'/chat-support-groups': {
|
||||
title: '客服群组',
|
||||
description: '维护客服群与坐席分配,支撑会话分流。',
|
||||
},
|
||||
'/system-configs': { title: '系统配置', description: '维护首页、发布、订单与支付配置。' },
|
||||
'/payment-configs': { title: '支付配置', description: '维护主站支付商户、渠道与回调参数。' },
|
||||
'/audit-logs': { title: '审计日志', description: '查看高风险操作与变更记录。' },
|
||||
|
||||
Reference in New Issue
Block a user