123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525 |
- const INDEX = () => import('@/components/Index/index.vue')
- const Home = () => import('@/components/Home.vue')
- const homeData = () => import('@/components/HomeData.vue')
- const customManage = () => import(/* webpackChunkName: 'customManage' */ '@/components/customManage/manage.vue')
- const employee_bulk_messaging_log = () => import(/* webpackChunkName: 'employee_bulk_messaging_log' */ '@/components/customOperate/employee_bulk_messaging_log.vue')
- const chatGroup = () => import(/* webpackChunkName: 'chatGroup' */ '@/components/customOperate/chatGroup/index.vue')
- const groupList = () => import(/* webpackChunkName: 'groupList' */ '@/components/customOperate/chatGroup/groupList.vue')
- const customerFriendsCircle = () => import(/* webpackChunkName: 'customerFriendsCircle' */ '@/components/customOperate/friendsCircle/index.vue')
- const sideTool = () => import(/* webpackChunkName: 'sideTool' */ '@/components/customOperate/sideTool/index.vue')
- // const createMassMsg = () => import(/* webpackChunkName: 'createMassMsg' */ '@/components/customOperate/createMassMsg.vue')
- const blackList = () => import(/* webpackChunkName: 'blackList' */ '@/components/customManage/blackList.vue')
- const welcomeMsg = () => import(/* webpackChunkName: 'welcomeMsg' */ '@/components/customOperate/welcomeMsg.vue')
- const welcom_message = () => import(/* webpackChunkName: 'welcom_message' */ '@/components/customOperate/welcom_message.vue')
- const lostCustomer = () => import(/* webpackChunkName: 'lostCustomer' */ '@/components/customManage/lostCustomer.vue')
- const customerTransfer = () => import(/* webpackChunkName: 'customerTransfer' */ '@/components/customManage/customerTransfer.vue')
- const transferRecord = () => import(/* webpackChunkName: 'transferRecord' */ '@/components/customManage/transferRecord.vue')
- const authorityManage = () => import(/* webpackChunkName: 'authorityManage' */ '@/components/manage/authorityManage.vue')
- const memberManage = () => import(/* webpackChunkName: 'memberManage' */ '@/components/manage/memberManage.vue')
- const tagManage = () => import(/* webpackChunkName: 'tagManage' */ '@/components/manage/tagManage.vue')
- const customerWarning = () => import(/* webpackChunkName: 'customerWarning' */ '@/components/warningManage/customerWarning.vue')
- const warningListInstall = () => import(/* webpackChunkName: 'warningListInstall' */ '@/components/warningManage/warningListInstall.vue')
- const permissionManage = () => import(/* webpackChunkName: 'permissionManage' */ '@/components/manage/permissionManage.vue')
- const roleManage = () => import(/* webpackChunkName: 'roleManage' */ '@/components/manage/roleManage.vue')
- const menuManage = () => import(/* webpackChunkName: 'menuManage' */ '@/components/manage/menuManage.vue')
- const thePublic = () => import(/* webpackChunkName: 'thePublic' */ '@/components/dataBoard/thePublic.vue')
- const playletData = () => import(/* webpackChunkName: 'playletData' */ '@/components/dataBoard/playletData.vue')
- const operateDayRetrieve = () => import(/* webpackChunkName: 'operateDayRetrieve' */ '@/components/dataBoard/operateDayRetrieve.vue')
- const populariz = () => import(/* webpackChunkName: 'populariz' */ '@/components/dataBoard/populariz/index.vue')
- const throwPerson = () => import(/* webpackChunkName: 'throwPerson' */ '@/components/dataBoard/throwPerson/index.vue')
- const regRangeReport = () => import(/* webpackChunkName: 'regRangeReport' */ '@/components/dataBoard/regRangeReport.vue')
- const dramaManage = () => import(/* webpackChunkName: 'dramaManage' */ '@/components/dataBoard/dramaManage.vue')
- const charge = () => import(/* webpackChunkName: 'charge' */ '@/components/orderManage/charge.vue')
- const wxAccountList = () => import(/* webpackChunkName: 'wxAccountList' */ '@/components/dataBoard/wxAccount/list.vue')
- const thePublicTrend = () => import(/* webpackChunkName: 'thePublicTrend' */ '@/components/dataBoard/thePublicTrend.vue')
- const playletFansActTrend = () => import(/* webpackChunkName: 'playletFansActTrend' */ '@/components/dataBoard/playletFansActTrend.vue')
- const batchAddFriend = () => import(/* webpackChunkName: 'batchAddFriend' */ '@/components/marketingGuest/batchAddFriend/index.vue')
- const importRecord = () => import(/* webpackChunkName: 'importRecord' */ '@/components/marketingGuest/batchAddFriend/addFriend/importRecord.vue')
- const importRecordDetial = () => import(/* webpackChunkName: 'importRecordDetial' */ '@/components/marketingGuest/batchAddFriend/addFriend/importRecordDetial.vue')
- // const putOnwarning = () => import(/* webpackChunkName: 'putOnwarning' */ '@/components/dataBoard/putOnwarning/warningManage.vue')
- // const massMsgDetail = () => import(/* webpackChunkName: 'massMsgDetail' */ '@/components/customOperate/massMsgDetail/index.vue')
- const codeIndex = () => import(/* webpackChunkName: 'codeIndex' */ '@/components/channelCode/codeIndex.vue')
- const code_dataAnalyse = () => import(/* webpackChunkName: 'dataAnalyse' */ '@/components/channelCode/dataAnalyse.vue')
- const createChannelCode = () => import(/* webpackChunkName: 'createChannelCode' */ '@/components/channelCode/createChannelCode.vue')
- const radarIndex = () => import(/* webpackChunkName: 'radarIndex' */ '@/components/customOperate/sideTool/smartRadar/index.vue')
- const groupCodeIndex = () => import(/* webpackChunkName: 'groupCodeIndex' */ '@/components/groupCode/index.vue')
- const createGroupCode = () => import(/* webpackChunkName: 'createGroupCode' */ '@/components/groupCode/createGroupCode.vue')
- // name与菜单配置的页面路由一致
- // meta下isData:true为数据看板,否则为助手
- export var allRouter = [
- {
- path: '/',
- redirect: '/home',
- component: INDEX,
- children: [
- {
- path: 'home',
- name: 'home',
- component: Home,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '助手首页',
- }
- },
- {
- path: 'homeData',
- name: 'homeData',
- component: homeData,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '数据看板首页',
- isData: true
- }
- },
- {
- path: 'customManage',
- name: 'customManage',
- component: customManage,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '客户管理'
- }
- },
- {
- path: 'charge',
- name: 'charge',
- component: charge,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '充值订单管理'
- }
- },
- {
- path: 'batchAddFriend',
- name: 'batchAddFriend',
- component: batchAddFriend,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '批量加好友'
- }
- },
- {
- path: 'radarIndex',
- name: 'sideTool',
- component: radarIndex,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '智能雷达'
- }
- },
- {
- path: 'groupCodeIndex',
- name: 'groupCodeIndex',
- component: groupCodeIndex,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '渠道群活码'
- }
- },
- {
- path: 'createGroupCode',
- name: 'groupCodeIndex',
- component: createGroupCode,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '新建渠道群活码'
- }
- },
- {
- path: 'codeIndex',
- name: 'codeIndex',
- component: codeIndex,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '渠道活码'
- }
- },
- {
- path: 'dataAnalyse/:id',
- name: 'codeIndex',
- component: code_dataAnalyse,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '数据分析'
- }
- },
- {
- path: 'createChannelCode',
- name: 'codeIndex',
- component: createChannelCode,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '新建渠道活码'
- }
- },
- {
- path: 'importRecord',
- name: 'batchAddFriend',
- component: importRecord,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '导入记录'
- }
- },
- {
- path: 'importRecordDetial/:id',
- name: 'batchAddFriend',
- component: importRecordDetial,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '导入记录详情'
- }
- },
- //
- {
- path: 'blackList',
- name: 'blackList',
- component: blackList,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '黑名单'
- }
- },
- {
- path: 'lostCustomer',
- name: 'lostCustomer',
- component: lostCustomer,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '客户流失'
- }
- },
- {
- path: 'customerTransfer',
- name: 'customerTransfer',
- component: customerTransfer,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '客户迁移'
- }
- },
- {
- path: 'transferRecord/:type',
- name: 'customerTransfer',
- component: transferRecord,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '迁移记录'
- }
- },
- {
- path: 'customerFriendsCircle',
- name: 'customerFriendsCircle',
- component: customerFriendsCircle,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '客户朋友圈'
- }
- },
- {
- path: 'sideTool',
- name: 'sideTool',
- component: sideTool,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '侧边栏工具'
- }
- },
- {
- path: 'employee_bulk_messaging_log',
- name: 'employee_bulk_messaging_log',
- component: employee_bulk_messaging_log,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '员工群发记录'
- }
- },
- {
- path: 'chatGroup',
- name: 'chatGroup',
- component: chatGroup,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '客户群群发'
- }
- },
- {
- path: 'groupList',
- name: 'groupList',
- component: groupList,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '客户群管理'
- }
- },
- {
- path: 'welcomeMsg',
- name: 'welcomeMsg',
- component: welcomeMsg,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '客户欢迎语'
- }
- },
- {
- path: 'memberManage',
- name: 'memberManage',
- component: memberManage,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '成员管理'
- }
- },
- {
- path: 'welcom_message_create',
- name: 'welcomeMsg',
- component: welcom_message,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '创建欢迎语'
- }
- },
- {
- path: 'welcom_message_edit/:rule_id',
- name: 'welcomeMsg',
- component: welcom_message,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '编辑欢迎语'
- }
- },
- // {
- // path: 'createMassMsg',
- // name: 'createMassMsg',
- // component: createMassMsg,
- // meta: {
- // keepAlive: false,
- // isLogin: true,
- // title: '新建群发'
- // }
- // },
- // {
- // path: 'massMsg/:rule_id',
- // name: 'createMassMsg',
- // component: createMassMsg,
- // meta: {
- // keepAlive: false,
- // isLogin: true,
- // title: '群发详情'
- // }
- // },
- {
- path: 'authorityManage',
- name: 'authorityManage',
- component: authorityManage,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '授权管理'
- }
- },
- {
- path: 'tagManage',
- name: 'tagManage',
- component: tagManage,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '标签管理'
- }
- },
- {
- path: 'customerWarning',
- name: 'customerWarning',
- component: customerWarning,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '企微客服预警'
- }
- },
- {
- path: 'warningListInstall',
- name: 'warningListInstall',
- component: warningListInstall,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '预警名单设置'
- }
- },
- {
- path: 'permissionManage',
- name: 'permissionManage',
- component: permissionManage,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '权限管理',
- }
- },
- {
- path: 'roleManage',
- name: 'roleManage',
- component: roleManage,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '角色管理',
- }
- },
- {
- path: 'menuManage',
- name: 'menuManage',
- component: menuManage,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '菜单管理',
- }
- },
- {
- path: 'thePublic',
- name: 'thePublic',
- component: thePublic,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '公众号数据',
- isData: true
- }
- },
- {
- path: 'thePublicTrend',
- name: 'thePublicTrend',
- component: thePublicTrend,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '公众号数据趋势',
- isData: true
- }
- },
- {
- path: 'playletFansActTrend',
- name: 'playletFansActTrend',
- component: playletFansActTrend,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '短剧粉丝激活趋势',
- isData: true
- }
- },
- {
- path: 'playletData',
- name: 'playletData',
- component: playletData,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '短剧数据',
- isData: true
- }
- },
- {
- path: 'operateDayRetrieve',
- name: 'operateDayRetrieve',
- component: operateDayRetrieve,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '运营数据',
- isData: true
- }
- },
- {
- path: 'populariz',
- name: 'populariz',
- component: populariz,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '推广数据',
- isData: true
- }
- },
- {
- path: 'throwPerson',
- name: 'throwPerson',
- component: throwPerson,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '投手数据',
- isData: true
- }
- },
- {
- path: 'regRangeReport',
- name: 'regRangeReport',
- component: regRangeReport,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '数据循环统计',
- isData: true
- }
- },
- {
- path: 'dramaManage',
- name: 'dramaManage',
- component: dramaManage,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '剧集管理',
- isData: true
- }
- },
- {
- path: 'wxAccountList',
- name: 'wxAccountList',
- component: wxAccountList,
- meta: {
- keepAlive: false,
- isLogin: true,
- title: '公众号授权',
- isData: true
- }
- },
- ]
- }
- ]
|