2023-03-20 09:27:51 +08:00

86 lines
2.3 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~2023 https://www.crmeb.com All rights reserved.
// +---------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
// +---------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +---------------------------------------------------------------------
import LayoutMain from '@/layout';
import setting from '@/setting'
let routePre = setting.routePre;
const meta = {
auth: true,
};
const pre = 'statistic_';
export default {
path: routePre+'/statistic',
name: 'statistic',
header: 'statistic',
redirect: {
name: `${pre}product`,
},
component: LayoutMain,
children: [
{
path: 'product',
name: `${pre}product`,
meta: {
// auth: ['setting-system-role'],
title: '商品统计',
},
component: () => import('@/pages/statistic/product/index'),
},
{
path: 'user',
name: `${pre}user`,
meta: {
// auth: ['setting-system-role'],
title: '用户统计',
},
component: () => import('@/pages/statistic/user/index'),
},
{
path: 'transaction',
name: `${pre}transaction`,
meta: {
// auth: ['setting-system-role'],
title: '交易统计',
},
component: () => import('@/pages/statistic/transaction/index'),
},
{
path: 'integral',
name: `${pre}integral`,
meta: {
// auth: ['setting-system-role'],
title: '积分统计',
},
component: () => import('@/pages/statistic/integral/index'),
},
{
path: 'order',
name: `${pre}order`,
meta: {
// auth: ['setting-system-role'],
title: '订单统计',
},
component: () => import('@/pages/statistic/order/index'),
},
{
path: 'balance',
name: `${pre}balance`,
meta: {
// auth: ['setting-system-role'],
title: '余额统计',
},
component: () => import('@/pages/statistic/balance/index'),
},
],
};