xlb-main-login
Version:
``` yarn install ```
137 lines (135 loc) • 4.29 kB
JavaScript
import Basic from '@/layouts/Basic'
import Panel from '@/layouts/components/Panel'
export default {
path: '/analysis',
name: 'analysis',
redirect: '/analysis/data',
component: Basic,
meta: {
title: '数据分析',
},
children: [
{
path: '/analysis/data',
component: Panel,
name: 'analysis-data',
redirect: '/analysis/data/analysisdetail',
meta: {
title: '数据分析',
icon: require('@/common/static/images/sshouyegailan.svg'),
unIcon: require('@/common/static/images/sshouyegailangray.svg'),
},
children: [
{
path: '/analysis/data/analysisdetail',
name: 'analysis-data-analysisdetail',
component: () => import('@/components/homereport/homereportolds'),
meta: {
title: '数据分析',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/analysis/customer',
name: 'analysis-customer',
component: Panel,
redirect: '/analysis/customer/analysiswxwechat',
meta: {
title: '客户数增长',
icon: require('@/common/static/images/kehushuzengzanggray.svg'),
unIcon: require('@/common/static/images/kehushuzengzangred.svg'),
},
children: [
{
path: '/analysis/customer/analysiswxwechat',
name: 'analysis-customer-analysiswxwechat',
component: () => import('@/components/wechat/pandects'),
meta: {
title: '客户数增长',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/analysis/sales',
name: 'analysis-sales',
component: Panel,
redirect: '/analysis/sales/analysispandectwxwechat',
meta: {
title: '销售额增长',
icon: require('@/common/static/images/xiaoshouezengzangred.svg'),
unIcon: require('@/common/static/images/xiaoshouezengzanggray.svg'),
},
children: [
{
path: '/analysis/sales/analysispandectwxwechat',
name: 'analysis-sales-analysispandectwxwechat',
component: () => import('@/components/pandect/pandect'),
meta: {
title: '销售额增长',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/analysis/dashboard',
name: 'analysis-dashboard',
component: Panel,
redirect: '/analysis/dashboard/proportionOfLifeCycle',
meta: {
title: '客户仪表盘',
icon: require('@/common/static/images/yibiaopanred.svg'),
unIcon: require('@/common/static/images/yibiaopangray.svg'),
},
children: [
{
path: '/analysis/dashboard/proportionOfLifeCycle',
name: 'analysis-dashboard-proportionOfLifeCycle',
component: () => import('@/components/wechat/proportionOfLifeCycle'),
meta: {
title: '生命周期占比',
enable: false,
routeEnable: false,
},
},
{
path: '/analysis/dashboard/proportionOfLabels',
name: 'analysis-dashboard-proportionOfLabels',
component: () => import('@/components/wechat/proportionOfLabels'),
meta: {
title: '客户标签占比',
enable: false,
routeEnable: false,
},
},
{
path: '/analysis/dashboard/wechatanalysisUser',
name: 'analysis-dashboard-wechatanalysisUser',
component: () => import('@/components/wechat/wechatanalysisUser'),
meta: {
title: '客户沟通数据',
enable: false,
routeEnable: false,
},
},
{
path: '/analysis/dashboard/wechatanalysisGroup',
name: 'analysis-dashboard-wechatanalysisGroup',
component: () => import('@/components/wechat/wechatanalysisGroup'),
meta: {
title: '客户群聊数据',
enable: false,
routeEnable: false,
},
},
],
},
],
}