xlb-main-login
Version:
``` yarn install ```
352 lines (351 loc) • 10.9 kB
JavaScript
import Basic from '@/layouts/Basic'
import Panel from '@/layouts/components/Panel'
// 首页
export default {
name: 'home',
path: '/home',
component: Basic,
redirect: '/home/graph',
children: [
{
path: '/home/graph',
name: 'home-graph',
redirect: '/home/graph/homereport',
component: Panel,
meta: {
title: '数据概览',
icon: require('@/common/static/images/sshujufenxired.svg'),
unIcon: require('@/common/static/images/sshujufenxigray.svg'),
},
children: [
{
path: '/home/graph/homereport',
name: 'home-graph-homereport',
component: () => import('@/views/home/graph/HomeReport'),
meta: {
title: '数据概览',
enable: false,
routeEnable: false,
},
},
{
path: '/home/hometheory',
hidden: true,
component: () => import('@/components/hometheory/hometheory'),
},
],
},
{
path: '/home/catin',
name: 'home-catin',
redirect: '/home/catin',
component: Panel,
meta: {
title: '基础功能',
icon: require('@/common/static/images/sjichugongnengred.svg'),
unIcon: require('@/common/static/images/sjichugongnenggray.svg'),
},
children: [
{
path: '/home/catin/wechatworktests',
name: 'home-catin-wechatworktests',
component: () => import('@/views/home/catin/WechatWorkTest'),
meta: {
title: '企业微信接入',
enable: false,
routeEnable: false,
},
},
{
path: '/home/catin/wechatemployessfirsttest',
name: 'home-catin-wechatemployessfirsttest',
hidden: true,
component: () => import('@/components/wechat/wechatemployessfirsttest'),
meta: {
title: '企业微信接入',
enable: false,
routeEnable: false,
},
},
{
path: '/home/catin/sessionArchiveAccess',
name: 'home-catin-sessionArchiveAccess',
component: () => import('@/views/home/catin/SessionArchiveAccess'),
meta: {
title: '会话存档接入',
enable: false,
routeEnable: false,
},
},
{
path: '/home/catin/wechatemployeess',
name: 'home-catin-wechatemployeess',
component: () => import('@/views/home/catin/WechatEmployees'),
meta: {
title: '成员管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/catin/wechatshopinfo',
name: 'home-catin-wechatshopinfo',
component: () => import('@/views/home/catin/WechatShopInfo'),
meta: {
title: '品牌设置',
enable: false,
routeEnable: false,
},
},
{
path: '/home/catin/wechatshopdetail',
name: 'home-catin-wechatshopdetail',
hidden: true,
component: () => import('@/components/wechat/wechatshopdetail'),
meta: {
title: '填写品牌',
enable: false,
routeEnable: false,
},
},
{
path: '/home/catin/wechatredpacketinfo',
name: 'home-catin-wechatredpacketinfo',
component: () => import('@/views/home/catin/WechatRedPacketInfo'),
meta: {
title: '资产管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/catin/wechatredpacketrecharge',
name: 'home-catin-wechatredpacketrecharge',
hidden: true,
component: () => import('@/components/wechat/wechatredpacketrecharge'),
meta: {
title: '资产管理充值',
enable: false,
routeEnable: false,
},
},
{
path: '/home/catin/wechatearningsdetail',
name: 'home-catin-wechatearningsdetail',
hidden: true,
component: () => import('@/components/wechat/wechatearningsdetail'),
meta: {
title: '资产管理提现',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/home/structure',
name: 'home-structure',
redirect: '/home/structure',
component: Panel,
meta: {
title: '组织架构',
icon: 'apartment',
},
children: [
{
path: '/home/structure/managementList',
name: 'home-structure-managementList',
component: () => import('@/views/weCom/jurisdiction/management/managementList'),
meta: {
title: '成员管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/structure/role',
name: 'home-structure-role',
component: () => import('@/views/home/rolement/roleList'),
meta: {
title: '角色管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/structure/account',
name: 'home-structure-account',
component: () => import('@/views/home/accountment/accountList'),
meta: {
title: '子账号管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/structure/accountAdd',
name: 'home-structure-accountAdd',
hidden: true,
component: () => import('@/views/home/accountment/accountAdd'),
meta: {
title: '子账号管理',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/home/service',
name: 'home-service',
redirect: '/home/service',
component: Panel,
meta: {
title: '我的服务',
icon: require('@/common/static/images/swodefuwured.svg'),
unIcon: require('@/common/static/images/swodefuwugray.svg'),
},
children: [
{
path: '/home/service/homeorders',
name: 'home-service-homeorders',
component: () => import('@/views/home/service/HomeOrders'),
meta: {
title: '订购产品',
enable: false,
routeEnable: false,
},
},
{
path: '/home/service/homemarket',
name: 'home-service-homemarket',
hidden: true,
component: () => import('@/components/homemarket/homemarket'),
meta: {
title: '订购产品详情',
enable: false,
routeEnable: false,
},
},
{
path: '/home/service/onlinepayment',
name: 'home-service-onlinepayment',
hidden: true,
component: () => import('@/components/homeorders/onlinePayment'),
meta: {
title: '订购产品详情',
enable: false,
routeEnable: false,
},
},
{
path: '/home/service/homeorderlist',
name: 'home-service-homeorderlist',
component: () => import('@/views/home/service/HomeOrderList'),
meta: {
title: '订购记录',
enable: false,
routeEnable: false,
},
},
{
path: '/home/service/invoicelist',
name: 'home-service-invoicelist',
component: () => import('@/components/invoicelist/invoicelist'),
meta: {
title: '发票管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/service/invoicedetails',
name: 'home-service-invoicedetails',
hidden: true,
component: () => import('@/components/invoicelist/invoicedetails'),
meta: {
title: '发票管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/service/appreciationdetails',
name: 'home-service-appreciationdetails',
hidden: true,
component: () => import('@/components/invoicelist/appreciationdetails'),
meta: {
title: '发票管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/service/appreciationlist',
name: 'home-service-appreciationlist',
hidden: true,
component: () => import('@/components/invoicelist/appreciationlist'),
meta: {
title: '发票管理',
enable: false,
routeEnable: false,
},
},
{
path: '/home/service/electroniclist',
name: 'home-service-electroniclist',
hidden: true,
component: () => import('@/components/invoicelist/electroniclist'),
meta: {
title: '发票管理',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/home/wechatmanual',
name: 'home-wechatmanual',
redirect: '/home/manual',
component: Panel,
meta: {
title: '服务文档',
icon: require('@/common/static/images/sfuwuwendangred.svg'),
unIcon: require('@/common/static/images/sfuwuwendanggray.svg'),
},
children: [
{
path: '/home/manual/wechatmanual',
name: 'home-manual-wechatmanual',
component: () => import('@/components/wechat/manual'),
meta: {
title: '使用手册',
enable: false,
routeEnable: false,
},
},
{
path: '/home/manual/homeversion',
name: 'home-manual-homeversion',
component: () => import('@/views/home/manual/HomeVersion'),
meta: {
title: '版本更新',
enable: false,
routeEnable: false,
},
},
{
path: '/home/manual/homeabouts',
name: 'home-manual-homeabouts',
component: () => import('@/views/home/manual/HomeAbouts'),
meta: {
title: '关于我们',
enable: false,
routeEnable: false,
},
},
],
},
],
}