feat: draw card

This commit is contained in:
zzc
2026-01-19 18:05:36 +08:00
parent 693d9673b4
commit bff9a07ed4
11 changed files with 799 additions and 12 deletions

View File

@@ -48,6 +48,61 @@ export const asyncRoutes = [
},
],
},
{
path: '/spring',
component: Layout,
redirect: 'noRedirect',
name: 'SpringMini',
meta: { title: '新春祝福', icon: 'gift', permissions: ['admin'] },
children: [
{
path: 'fortune',
component: EmptyLayout,
alwaysShow: true,
redirect: 'noRedirect',
name: 'Fortune',
meta: {
title: '抽签',
icon: 'clover',
permissions: ['admin'],
},
children: [
{
path: 'card',
name: 'card',
component: () => import('@/views/spring/fortune/card/index'),
meta: { title: '抽签卡片' },
},
],
},
{
path: 'user',
component: EmptyLayout,
alwaysShow: true,
redirect: 'noRedirect',
name: 'User',
meta: {
title: '用户',
icon: 'user',
permissions: ['admin'],
},
children: [
{
path: 'user',
name: 'User',
component: () => import('@/views/spring/user/user/index'),
meta: { title: '用户' },
},
{
path: 'userChat',
name: 'UserChat',
component: () => import('@/views/spring/user/device/index'),
meta: { title: '设备' },
},
],
},
],
},
{
path: '/maomaotou',
component: Layout,
@@ -411,6 +466,21 @@ export const asyncRoutes = [
component: () => import('@/views/personnelManagement/roleManagement/index'),
meta: { title: '角色管理' },
},
],
},
{
path: '/systemManagement',
component: Layout,
redirect: 'noRedirect',
name: 'SystemManagement',
meta: { title: '系统', icon: 'users-cog', permissions: ['admin'] },
children: [
{
path: 'deviceManagement',
name: 'DeviceManagement',
component: () => import('@/views/systemManagement/device/index'),
meta: { title: '设备管理' },
},
{
path: 'accessLogManagement',
name: 'AccessLogManagement',
@@ -423,12 +493,6 @@ export const asyncRoutes = [
component: () => import('@/views/personnelManagement/uploadedFileManagement/index'),
meta: { title: '已上传文件' },
},
// {
// path: 'menuManagement',
// name: 'MenuManagement',
// component: () => import('@/views/personnelManagement/menuManagement/index'),
// meta: { title: '菜单管理', badge: 'New' },
// },
],
},
// {