Files
integral-shop/backend-adminend/src/router/modules/user.js
scott 09946536aa feat: 添加积分日志页面
- 新增积分日志列表页面 src/views/user/integral/index.vue
- 新增积分相关 API src/api/integral.js
- 在路由中添加积分日志菜单
2026-03-20 10:56:53 +08:00

57 lines
1.7 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout';
const userRouter = {
path: '/user',
component: Layout,
redirect: '/user/index',
name: 'User',
meta: {
title: '用户',
icon: 'clipboard',
},
children: [
{
path: 'index',
component: () => import('@/views/user/list/index'),
name: 'UserIndex',
meta: { title: '用户管理', icon: '' },
},
{
path: 'grade',
component: () => import('@/views/user/grade/index'),
name: 'Grade',
meta: { title: '用户等级', icon: '' },
},
{
path: 'label',
component: () => import('@/views/user/group/index'),
name: 'Label',
meta: { title: '用户标签', icon: '' },
},
{
path: 'group',
component: () => import('@/views/user/group/index'),
name: 'Group',
meta: { title: '用户分组', icon: '' },
},
{
path: 'integral',
component: () => import('@/views/user/integral/index'),
name: 'IntegralLog',
meta: { title: '积分日志', icon: '', noCache: true },
},
],
};
export default userRouter;