123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- import Layout from '@/sheep/layouts/index.vue';
- import Content from '@/sheep/layouts/content.vue';
- export default {
- path: '/admin',
- name: 'admin',
- component: Layout,
- meta: {
- title: '后台管理',
- },
- children: [
- {
- path: 'profile',
- name: 'admin.profile',
- component: () => import('@/app/admin/views/index/profile/index.vue'),
- meta: {
- title: '个人信息',
- },
- },
- {
- path: 'auth',
- name: 'admin.auth',
- component: Content,
- meta: {
- title: '权限设置',
- },
- children: [
- {
- path: 'admin',
- name: 'admin.auth.admin',
- component: () => import('@/app/admin/views/auth/admin/index.vue'),
- meta: {
- title: '管理员',
- },
- },
- {
- path: 'role',
- name: 'admin.auth.role',
- component: () => import('@/app/admin/views/auth/role/index.vue'),
- meta: {
- title: '管理组',
- },
- },
- {
- path: 'access',
- name: 'admin.auth.access',
- component: () => import('@/app/admin/views/auth/access/index.vue'),
- meta: {
- title: '菜单权限',
- },
- },
- {
- path: 'adminlog',
- name: 'admin.auth.adminlog',
- component: () => import('@/app/admin/views/auth/adminLog/index.vue'),
- meta: {
- title: '操作记录',
- },
- },
- ],
- },
- {
- path: 'config',
- name: 'admin.config',
- component: Content,
- meta: {
- title: '系统设置',
- },
- children: [
- {
- path: 'basic',
- name: 'admin.config.basic',
- component: () => import('@/app/admin/views/config/basic.vue'),
- meta: {
- title: '系统信息',
- },
- },
- {
- path: 'easysms',
- name: 'admin.config.easysms',
- component: () => import('@/app/admin/views/config/easysms.vue'),
- meta: {
- title: '短信配置',
- },
- },
- ],
- },
- {
- path: 'notification',
- name: 'admin.notification',
- component: Content,
- meta: {
- title: '消息通知',
- },
- children: [
- {
- path: 'config',
- name: 'admin.notification.config',
- component: () => import('@/app/admin/views/notification/config/index.vue'),
- meta: {
- title: '消息配置',
- },
- },
- ],
- },
- {
- path: 'banner',
- name: 'admin.banner',
- component: () => import('@/app/admin/views/banner/index.vue'),
- meta: {
- title: '轮播图管理',
- icon: 'Picture',
- },
- },
- ],
- };
|