/* * @Descripttion: * @version: * @Author: kBank * @Date: 2023-04-24 21:02:13 */ import Vue from 'vue' import Router from 'vue-router' import i18n from '@/assets/i18n/index' Vue.use(Router) import { tickets } from './module/tickets' /* Layout */ import Layout from '@/layout' import ParentView from '@/components/ParentView' /** * Note: sub-menu only appear when route children.length >= 1 * Detail see: https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html * * hidden: true if set true, item will not show in the sidebar(default is false) * alwaysShow: true if set true, will always show the root menu * if not set alwaysShow, when item has more than one children route, * it will becomes nested mode, otherwise not show the root menu * redirect: noRedirect if set noRedirect will no redirect in the breadcrumb * name:'router-name' the name is used by (must set!!!) * meta : { roles: ['admin','editor'] control the page roles (you can set multiple roles) title: 'title' the name show in sidebar and breadcrumb (recommend set) icon: 'svg-name'/'el-icon-x' the icon show in the sidebar breadcrumb: false if set false, the item will hidden in breadcrumb(default is true) activeMenu: '/example/list' if set path, the sidebar will highlight the path you set } */ /** * constantRoutes * a base page that does not have permission requirements * all roles can be accessed */ export const constantRoutes = [ { path: '/login', component: () => import('@/views/login/index'), meta: { title: '全球一体化系统管理平台' }, hidden: true }, { path: '/', component: Layout, redirect: '/summaryDashboard', name: 'index', // alwaysShow: true, meta: { title: '首页', icon: 'firstPage', icon1: 'firstPageSel' }, children: [ { path: 'dashboard', name: 'Dashboard', component: () => import('@/views/dashboard/index'), meta: { title: '首页', icon: 'firstPage', icon1: 'firstPageSel' } }, { path: 'summaryDashboard', name: 'SummaryDashboard', component: () => import('@/views/dashboard/dashboard'), meta: { title: '汇总', icon: 'dashboard' }, hidden: true }, { path: 'hasIndex', name: 'HasIndex', component: () => import('@/views/dashboard/hasIndex'), meta: { title: '已办', icon: 'dashboard' }, hidden: true }, { path: 'receiveIndex', name: 'ReceiveIndex', component: () => import('@/views/dashboard/receiveIndex'), meta: { title: '接收', icon: 'dashboard' }, hidden: true }, { path: 'goodsCheck', name: 'GoodsCheck', component: () => import('@/views/dashboard/goodsCheck'), meta: { title: '商品审核', icon: 'dashboard' }, hidden: true }, { path: 'productCheck', name: 'ProductCheck', component: () => import('@/views/dashboard/productCheck'), meta: { title: '产品审核', icon: 'dashboard' }, hidden: true }, { path: 'manageDetails', name: 'ManageDetails', component: () => import('@/views/dashboard/details'), meta: { title: '详情', icon: 'dashboard' }, hidden: true }, { path: 'userCentre', name: 'userCentre', component: () => import('@/views/dashboard/userCentre'), meta: { title: '个人中心', icon: 'dashboard' }, hidden: true } ] }, { path: '/information', component: Layout, name: 'Information', meta: { title: '信息管理', icon: 'info', icon1: 'infoSel' }, children: [ { path: 'member', name: 'Member', meta: { title: '会员信息' }, component: ParentView, redirect: 'member/index', children: [ { path: 'hyxx', name: 'Hyxx', component: () => import('@/views/information/member/index'), meta: { title: '会员信息' } } ] }, { path: 'realInfo', name: 'RealInfo', meta: { title: '真实信息' }, component: ParentView, redirect: 'realInfo/index', children: [ { path: 'realInfo', name: 'RealInfo', component: () => import('@/views/information/realInfo/index'), meta: { title: '真实信息' } } ] }, { path: 'business', name: 'Business', meta: { title: '办理业务' }, component: ParentView, redirect: 'business/index', alwaysShow: true, children: [ { path: 'jcyw', name: 'BasicBusiness', component: () => import('@/views/information/business/index'), meta: { title: '办理业务' } }, { path: 'ddyw', name: 'OrderBusiness', component: () => import('@/views/information/business/order'), meta: { title: '订单业务' }, hidden: true }, { path: 'shyw', name: 'ReviewBusiness', component: () => import('@/views/information/business/shyw'), meta: { title: '审核业务' }, hidden: true }, { path: 'zxqc', name: 'OnlineSubmission', component: () => import('@/views/information/business/zxqc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'czzxqc', name: 'RechargeOnlineSignature', component: () => import('@/views/information/business/czzxqc'), meta: { title: '充值在线签呈' }, hidden: true }, { path: 'djzxqc', name: 'FreezeOnlineSignature', component: () => import('@/views/information/business/djzxqc'), meta: { title: '冻结在线签呈' }, hidden: true }, { path: 'addressZxqc', name: 'AddressZxqc', component: () => import('@/views/information/business/addressZxqc'), meta: { title: '修改地址在线签呈' }, hidden: true }, { path: 'dhZxqc', name: 'DhZxqc', component: () => import('@/views/information/business/dhZxqc'), meta: { title: '调换货物在线签呈' }, hidden: true }, { path: 'tdZxqc', name: 'TdZxqc', component: () => import('@/views/information/business/tdZxqc'), meta: { title: '退单在线签呈' }, hidden: true }, { path: 'hbtdZxqc', name: 'HbtdZxqc', component: () => import('@/views/information/business/hbtdZxqc'), meta: { title: '合并退单在线签呈' }, hidden: true }, { path: 'cdZxqc', name: 'CdZxqc', component: () => import('@/views/information/business/cdZxqc'), meta: { title: '撤单在线签呈' }, hidden: true }, { path: 'ccZxqc', name: 'CcZxqc', component: () => import('@/views/information/business/ccZxqc'), meta: { title: '撤销产品在线签呈' }, hidden: true } ] }, { path: 'specialBusiness', name: 'SpecialBusiness', meta: { title: '特殊业务' }, component: ParentView, redirect: 'specialBusiness/emptyOrder/index', children: [ { path: 'emptyOrder', name: 'EmptyOrder', component: () => import('@/views/information/specialBusiness/emptyOrder/index'), meta: { title: '空单注册' } }, { path: 'creatList', name: 'CreatList', component: () => import('@/views/information/specialBusiness/emptyOrder/creatList'), meta: { title: '生成列表' } }, { path: 'dataList', name: 'DataList', component: () => import('@/views/information/specialBusiness/emptyOrder/dataList'), meta: { title: '报单数据' } }, { path: 'rigiestList', name: 'RigiestList', component: () => import('@/views/information/specialBusiness/emptyOrder/rigiestList'), meta: { title: '注册列表' } }, { path: 'positionBuild', name: 'PositionBuild', component: () => import('@/views/information/specialBusiness/emptyOrder/positionBuild'), meta: { title: '安置架构' } }, { path: 'recommendBuild', name: 'RecommendBuild', component: () => import('@/views/information/specialBusiness/emptyOrder/recommendBuild'), meta: { title: '推荐架构' } }, { path: 'kdZxqc', name: 'KdZxqc', component: () => import('@/views/information/specialBusiness/emptyOrder/kdZxqc'), meta: { title: '在线签呈' } }, // { // path: 'emptyOrder', // name: 'EmptyOrder', // component: () => import('@/views/information/specialBusiness/index'), // meta: { title: '空单注册' } // }, { path: 'blankRegistration', name: 'BlankRegistration', component: () => import('@/views/information/specialBusiness/blankRegistration'), meta: { title: '空单注册' } }, { path: 'modifyDirectpush', name: 'ModifyDirectpush', component: () => import('@/views/information/specialBusiness/modifyDirectpush'), meta: { title: '修改直推' }, hidden: true }, { path: 'modifyPlacement', name: 'ModifyPlacement', component: () => import('@/views/information/specialBusiness/modifyPlacement'), meta: { title: '修改安置' }, hidden: true }, { path: 'waterPv', name: 'WaterPv', component: () => import('@/views/information/specialBusiness/waterPv'), meta: { title: '注水业绩' }, hidden: true }, { path: 'modifyCode', name: 'ModifyCode', component: () => import('@/views/information/specialBusiness/modifyCode'), meta: { title: '修改编号' }, hidden: true }, { path: 'awardControl', name: 'AwardControl', component: () => import('@/views/information/specialBusiness/awardControl'), meta: { title: '真实奖衔控制' }, hidden: true }, { path: 'awardDetails', name: 'AwardDetails', component: () => import('@/views/information/specialBusiness/awardDetails'), meta: { title: '真实奖衔控制' }, hidden: true }, { path: 'awardZxqc', name: 'AwardZxqc', component: () => import('@/views/information/specialBusiness/awardZxqc'), meta: { title: '真实奖衔控制' }, hidden: true }, { path: 'modifySettleCountry', name: 'ModifySettleCountry', component: () => import('@/views/information/specialBusiness/modifySettleCountry'), meta: { title: '修改结算国家' }, hidden: true }, { path: 'policyMoney', name: 'PolicyMoney', component: () => import('@/views/information/policyMoney/index'), meta: { title: '政策币业务' }, hidden: true }, { path: 'bonusConfig', name: 'BonusConfig', component: () => import('@/views/information/bonusConfig/index'), meta: { title: '分红配置' }, hidden: true }, { path: 'policyMoneyDetails', name: 'policyMoneyDetails', component: () => import('@/views/information/policyMoney/policyMoneyDetails'), meta: { title: '政策币业务' }, hidden: true }, { path: 'policyQc', name: 'PolicyQc', component: () => import('@/views/information/policyMoney/PolicyQc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'delPolicyQc', name: 'DelPolicyQc', component: () => import('@/views/information/policyMoney/delPolicyQc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'specialZxqc', name: 'SpecialZxqc', component: () => import('@/views/information/specialBusiness/specialZxqc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'waterZxqc', name: 'WaterZxqc', component: () => import('@/views/information/specialBusiness/waterZxqc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'emptyZxqc', name: 'EmptyZxqc', component: () => import('@/views/information/specialBusiness/emptyZxqc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'accessCode', name: 'AccessCode', component: () => import('@/views/information/specialBusiness/accessCode'), meta: { title: '甩网配置' }, hidden: true }, { path: 'accessCodeDetails', name: 'AccessCodeDetails', component: () => import('@/views/information/specialBusiness/accessCodeDetails'), meta: { title: '甩网配置详情' }, hidden: true }, { path: 'kValue', name: 'KValue', component: () => import('@/views/configManage/kValue/index'), meta: { title: 'K值风控设置' } }, { path: 'memberSubsidyConfig', name: 'MemberSubsidyConfig', component: () => import('@/views/information/specialBusiness/memberSubsidyConfig/index'), meta: { title: '会员补贴配置' } }, { path: 'memberSubsidyConfigDetail', name: 'MemberSubsidyConfigDetail', component: () => import('@/views/information/specialBusiness/memberSubsidyConfig/detail'), meta: { title: '补贴明细' }, hidden: true }, { path: 'memberSubsidyConfigOrder', name: 'MemberSubsidyConfigOrder', component: () => import('@/views/information/specialBusiness/memberSubsidyConfig/order'), meta: { title: '补贴订单' }, hidden: true }, { path: 'memberRenewal', name: 'MemberRenewal', component: () => import('@/views/information/specialBusiness/memberRenewal/index'), meta: { title: '会员续约' } }, { path: 'deleteDeadLock', name: 'DeleteDeadLock', component: () => import('@/views/information/specialBusiness/deleteDeadLock/index'), meta: { title: '删除死点' } } ] }, { path: 'removeOrderList', name: 'removeOrderList', meta: { title: '撤单列表' }, component: () => import('@/views/information/removeOrderList/index') }, { path: 'operationRecord', name: 'operationRecord', meta: { title: '操作记录' }, component: ParentView, redirect: 'operationRecord/operationRecordList', children: [ { path: 'operationRecordList', name: 'operationRecordList', component: () => import('@/views/information/operationRecord/index'), meta: { title: '操作记录' } } ] }, { path: 'operationDetails', name: 'operationDetails', component: () => import('@/views/information/operationDetails/index'), meta: { title: '业务操作明细' } }, { path: 'businessLicense', name: 'BusinessLicense', meta: { title: '营业执照' }, component: ParentView, redirect: 'businessLicense/index', children: [ { path: 'businessLicense', name: 'BusinessLicense', component: () => import('@/views/information/businessLicense/index'), meta: { title: '营业执照' } }, { path: 'businessZxqc', name: 'BusinessZxqc', component: () => import('@/views/information/businessLicense/zxqc'), meta: { title: '在线签呈' } } ] } ] }, { path: '/framework', component: Layout, name: 'Framework', meta: { title: '架构管理', icon: 'jg', icon1: 'jgSel' }, children: [ { path: 'architecture', name: 'Arcgurecture', meta: { title: '安置架构' }, component: ParentView, redirect: 'architecture/index', children: [ { path: 'azjg', name: 'PlacementStructure', component: () => import('@/views/framework/architecture/index'), meta: { title: '安置架构' } }, { path: 'azjg2', name: 'PlacementStructure2', component: () => import('@/views/framework/architecture/azjg2'), hidden: true }, { path: 'azjg3', name: 'PlacementStructure3', component: () => import('@/views/framework/architecture/azjg3'), hidden: true }, { path: 'azjg4', name: 'PlacementStructure4', component: () => import('@/views/framework/architecture/azjg4'), hidden: true }, { path: 'azjg5', name: 'PlacementStructure5', component: () => import('@/views/framework/architecture/azjg5'), hidden: true } ] }, { path: 'recommend', name: 'Recommend', meta: { title: '推荐架构' }, component: ParentView, redirect: 'recommend/index', children: [ { path: 'tjjg', name: 'RecommendStructure', component: () => import('@/views/framework/recommend'), meta: { title: '推荐架构' } }, { path: 'tjjg2', name: 'RecommendStructure2', component: () => import('@/views/framework/recommend/tjjg2'), meta: { title: '推荐架构' }, hidden: true }, { path: 'tjjg3', name: 'RecommendStructure3', component: () => import('@/views/framework/recommend/tjjg3'), meta: { title: '推荐架构' }, hidden: true }, { path: 'tjjg4', name: 'RecommendStructure4', component: () => import('@/views/framework/recommend/tjjg4'), meta: { title: '推荐架构' }, hidden: true } ] } ] }, { path: '/settlementCenter', component: Layout, name: 'SettlementCenter', meta: { title: '结算中心', icon: 'js', icon1: 'jsSel' }, children: [ { path: 'bonusCount', name: 'bonusCount', component: () => import('@/views/settlementCenter/bonusCount/index'), meta: { title: '奖金计算' } }, { path: 'performanceTotal', name: 'performanceTotal', component: () => import('@/views/settlementCenter/performanceTotal/index'), meta: { title: '业绩汇总' } }, { path: 'performanceRatio', name: 'performanceRatio', component: () => import('@/views/settlementCenter/performanceRatio/index'), meta: { title: '奖金拨比' } }, { path: 'performanceChart', name: 'performanceChart', component: () => import('@/views/settlementCenter/performanceRatio/performanceChart'), meta: { title: '拨比图表' }, hidden: true }, { path: 'performanceList', name: 'performanceList', component: () => import('@/views/settlementCenter/performanceRatio/performanceList'), meta: { title: '拨比列表' }, hidden: true }, { path: 'topPerformance', name: 'TopPerformance', component: () => import('@/views/settlementCenter/topPerformance/index'), meta: { title: '零线系统拨比统计' }, hidden: true }, { path: 'topPerformanceTotal', name: 'TopPerformanceTotal', component: () => import('@/views/settlementCenter/topPerformanceTotal/index'), meta: { title: '顶点奖金拨比汇总' }, hidden: true }, // { // path: 'personalAllocation', // name: 'PersonalAllocation', // component: () => import('@/views/settlementCenter/performanceRatio/personalAllocation'), // meta: { title: '个人伞下拨比查询' } // }, { path: 'sourceBonus', name: 'sourceBonus', component: () => import('@/views/settlementCenter/sourceBonus/index'), meta: { title: '奖金来源' } }, { path: 'totalBonus', name: 'totalBonus', component: () => import('@/views/settlementCenter/totalBonus/index'), meta: { title: '奖金汇总' } }, { path: 'bonusDetail', name: 'BonusDetail', component: () => import('@/views/settlementCenter/bonusDetail/index'), meta: { title: '奖金明细' }, hidden: true }, { path: 'placementData', name: 'placementData', component: () => import('@/views/settlementCenter/placementData/index'), meta: { title: '安置数据' } }, { path: 'placementDatas', name: 'placementDatas', component: () => import('@/views/settlementCenter/placementData/placementDatas.vue'), meta: { title: '安置图表' }, hidden: true }, { path: 'recommendData', name: 'recommendData', component: () => import('@/views/settlementCenter/recommendData/index'), meta: { title: '推荐数据' } }, { path: 'bonus/expansionDelay', name: 'BonusExpansionDelay', component: () => import('@/views/settlementCenter/bonus/expansion-delay/index.vue'), meta: { title: '拓展延缓' } }, { path: 'recommendDatas', name: 'recommendDatas', component: () => import('@/views/settlementCenter/recommendData/recommendDatas.vue'), meta: { title: '安置图表' }, hidden: true } // { // path: 'findBonus', // name: 'FindBonus', // component: () => import('@/views/settlementCenter/findBonus/index'), // meta: { title: '奖金查询' }, // }, // { // path: 'foreNumber', // name: 'ForeNumber', // component: () => import('@/views/settlementCenter/foreNumber/index'), // meta: { title: '4-n配置' } // } ] }, { path: '/goodsManage', component: Layout, name: 'GoodsManage', meta: { title: '商品管理', icon: 'goods', icon1: 'goodsSel' }, children: [ { path: 'productRelease', name: 'ProductRelease', meta: { title: '产品发布' }, component: ParentView, redirect: 'productRelease/cpfb', children: [ { path: 'cpfb', name: 'Cpfb', component: () => import('@/views/goodsManage/productRelease/jcsz.vue'), meta: { title: '产品发布' } }, { path: 'productDetail', name: 'ProductDetail', component: () => import('@/views/goodsManage/productRelease/productDetail.vue'), // meta: { title: '产品列表'}, hidden: true } ] }, { path: 'productList', name: 'ProductList', component: () => import('@/views/goodsManage/productList/index'), meta: { title: '产品列表' } }, { path: 'goodsRelease', name: 'GoodsRelease', meta: { title: '商品发布' }, component: ParentView, redirect: 'goodsRelease/jcsz', children: [ { path: 'jcsz', name: 'Jcsz', component: () => import('@/views/goodsManage/goodsRelease/jcsz.vue'), meta: { title: '商品发布' } } ] }, { path: 'goodsList', name: 'GoodsList', meta: { title: '商品列表' }, component: ParentView, redirect: 'goodsList/index', children: [ { path: 'goodsList', name: 'GoodsList', component: () => import('@/views/goodsManage/goodsList/index.vue'), meta: { title: '商品列表' } }, { path: 'goodsEdit/jcsz', name: 'GoodsEdit', component: () => import('@/views/goodsManage/goodsList/goodsEdit/jcsz.vue'), meta: { title: '商品发布' }, hidden: true } ] }, { path: 'goodsClassify', name: 'GoodsClassify', meta: { title: '商品分类' }, component: ParentView, redirect: 'goodsClassify/spfl', children: [ { path: 'spflTree', name: 'SpflTree', component: () => import('@/views/goodsManage/goodsClassify/index.vue'), meta: { title: '商品分类' } // hidden: true } // { // path: 'spfl', // name: 'Spfl', // component: () => import('@/views/goodsManage/goodsClassify/spfl.vue'), // meta: { title: '商品分类' } // // hidden: true // }, // { // path: 'ejfl', // name: 'Ejfl', // component: () => import('@/views/goodsManage/goodsClassify/ejfl.vue'), // meta: { title: '二级分类' }, // hidden: true // } ] }, { path: 'skuRelease', name: 'skuRelease', meta: { title: '规格配置' }, component: ParentView, redirect: 'skuRelease/cpfl', children: [ { path: 'cpfl', name: 'cpfl', component: () => import('@/views/goodsManage/skuRelease/cpfl.vue'), meta: { title: '产品分类' }, hidden: true }, { path: 'ggpz', name: 'ggpz', component: () => import('@/views/goodsManage/skuRelease/ggpz.vue'), meta: { title: '规格配置' }, hidden: true }, { path: 'dwpz', name: 'dwpz', component: () => import('@/views/goodsManage/skuRelease/dwpz.vue'), meta: { title: '单位配置' }, hidden: true } ] }, { path: 'postageManage', name: 'PostageManage', meta: { title: '邮费配置' }, component: ParentView, redirect: 'postageManage/postList', children: [ { path: 'postList', name: 'PostList', component: () => import('@/views/goodsManage/postageManage/postList.vue'), meta: { title: '邮费配置' } } ] } ] }, { path: '/logistics', component: Layout, name: 'Logistics', meta: { title: '物流管理', icon: 'wl', icon1: 'wlSel' }, children: [ { path: 'commodity', name: 'Commodity', meta: { title: '商品订单' }, component: ParentView, redirect: 'commodity/index', children: [ { path: 'spdd', name: 'ProductOrders', component: () => import('@/views/logistics/commodity/index'), meta: { title: '商品订单' } }, { path: 'ckspdd', name: 'Ckspdd', component: () => import('@/views/logistics/commodity/ckspdd'), meta: { title: '查看商品订单' }, hidden: true } ] }, { path: 'delivery', name: 'Delivery', meta: { title: '发货清单' }, component: ParentView, redirect: 'delivery/index', children: [ { path: 'fhqd', name: 'ShippingList', component: () => import('@/views/logistics/delivery/index'), meta: { title: '发货清单' } }, { path: 'ztZxqc', name: 'ztZxqc', component: () => import('@/views/logistics/delivery/ztZxqc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'twoZxqc', name: 'twoZxqc', component: () => import('@/views/logistics/delivery/twoZxqc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'deductionZxqc', name: 'DeductionZxqc', component: () => import('@/views/logistics/delivery/deductionZxqc'), meta: { title: '在线签呈' }, hidden: true } ] }, { path: 'spInvoicing', name: 'SpInvoicing', meta: { title: '订单开票' }, component: ParentView, redirect: 'spInvoicing/index', children: [ { path: 'spInvoicing', name: 'SpInvoicing', component: () => import('@/views/logistics/spInvoicing/index'), meta: { title: '订单开票' } } ] }, { path: 'selfpick', name: 'Selfpick', meta: { title: '自提清单' }, component: ParentView, redirect: 'selfpick/index', children: [ { path: 'selfpick', name: 'Selfpick', component: () => import('@/views/logistics/selfpick/index'), meta: { title: '自提清单' } } ] } ] }, { path: '/announcement', component: Layout, name: 'Announcement', meta: { title: '公告管理', icon: 'gg', icon1: 'ggSel' }, children: [ { path: 'noticeList', name: 'Notice', component: () => import('@/views/announcement/noticeList/index'), meta: { title: '公告详情' } }, // { // path: 'email', // name: 'Emailed', // meta: { title: '站内信' }, // component: () => import('@/views/announcement/email/index') // }, { path: 'noticeList/admin', name: 'NoticeAdmin', component: () => import('@/views/announcement/noticeList/admin'), meta: { title: '后台公告' }, hidden: true }, // { // path: 'feedback', // name: 'Feedback', // component: () => import('@/views/announcement/feedback/index'), // meta: { title: '意见反馈' } // }, { path: 'noticeList/details', name: 'NoticeDetails', component: () => import('@/views/announcement/noticeList/details'), meta: { title: '发布公告' }, hidden: true }, // { // path: 'email/details', // name: 'emailDetails', // component: () => import('@/views/announcement/email/details'), // hidden: true // }, // { // path: 'feedback/detail', // name: 'feedbackDetail', // component: () => import('@/views/announcement/feedback/detail'), // meta: { title: '意见反馈' }, // hidden: true // }, // { // path: 'releaseAnnouncement', // name: 'ReleaseAnnouncement', // component: () => import('@/views/announcement/releaseAnnouncement/index'), // meta: { title: '发布公告' } // }, // { // path: 'onSiteConfig', // name: 'OnSiteConfig', // component: () => import('@/views/announcement/onSiteConfig/index'), // meta: { title: '站内信配置' } // }, { path: 'fbZxqc', name: 'FbZxqc', component: () => import('@/views/announcement/fbZxqc'), meta: { title: '在线签呈' }, hidden: true } ] }, { path: '/financial', component: Layout, name: 'Financial', meta: { title: '财务管理', icon: 'cw', icon1: 'cwSel' }, children: [ { path: 'recharge', name: 'Recharge', meta: { title: '财务管理' }, component: ParentView, redirect: 'recharge/index', children: [ { path: 'chongzhi', name: 'Chongzhi', component: () => import('@/views/financial/recharge/index'), meta: { title: '充值' }, hidden: true }, { path: 'dongjie', name: 'Dongjie', component: () => import('@/views/financial/recharge/dongjie'), meta: { title: '冻结' }, hidden: true } ] }, { path: 'rechargeDetail', name: 'RechargeDetail', meta: { title: '充值明细' }, component: ParentView, redirect: 'rechargeDetail/index', children: [ { path: 'czmx', name: 'RechargeDetail', component: () => import('@/views/financial/rechargeDetail/index'), meta: { title: '充值明细' } } ] }, { path: 'cashDetails', name: 'CashDetails', component: () => import('@/views/financial/cashDetails/index'), meta: { title: '提现明细' } }, // { // path: 'jdToPay', // name: 'jdToPay', // component: () => import('@/views/financial/jdToPay/index'), // meta: { title: '京东代付' }, // hidden: true // }, { path: 'consumptionDetails', name: 'ConsumptionDetails', component: () => import('@/views/financial/consumptionDetails/index'), meta: { title: '消费明细' } }, { path: 'freezeDetail', name: 'FreezeDetail', meta: { title: '冻结明细' }, component: ParentView, redirect: 'freezeDetail/index', children: [ { path: 'djmx', name: 'FreezeDetail', component: () => import('@/views/financial/freezeDetail/index'), meta: { title: '冻结明细' } } ] }, { path: 'transferDetails', name: 'TransferDetails', component: () => import('@/views/financial/transferDetails/index'), meta: { title: '转账明细' } }, { path: 'walletDetails/details', name: 'WalletDetailss', component: () => import('@/views/financial/walletDetails/details'), meta: { title: '钱包明细详情' }, hidden: true }, { path: 'walletDetails', name: 'WalletDetails', component: () => import('@/views/financial/walletDetails/index'), meta: { title: '钱包明细' } }, { path: 'onlinePayDetails', name: 'OnlinePayDetails', component: () => import('@/views/financial/onlinePayDetails/index'), meta: { title: '在线支付明细' } }, { path: 'onlineRefundDetails', name: 'OnlineRefundDetails', component: () => import('@/views/financial/onlineRefundDetails/index'), meta: { title: '在线退款明细' } }, { path: 'txzxqc', name: 'Txzxqc', component: () => import('@/views/financial/cashDetails/txzxqc'), meta: { title: '在线签呈' }, hidden: true }, { path: 'jdZxqc', name: 'JdZxqc', component: () => import('@/views/financial/jdToPay/jdZxqc'), meta: { title: '京东在线签呈' }, hidden: true }, { path: 'balanceSummary', name: 'BalanceSummary', meta: { title: '余额汇总' }, component: ParentView, redirect: 'balanceSummary/index', children: [ { path: 'balanceSummary', name: 'BalanceSummary', component: () => import('@/views/financial/balanceSummary/index'), meta: { title: '余额汇总' } }, { path: 'detailSummary', name: 'DetailSummary', component: () => import('@/views/financial/balanceSummary/detail'), meta: { title: '余额汇总详情' }, hidden: true } ] }, { path: 'balanceSummaryTotal', name: 'BalanceSummaryTotal', meta: { title: '余额汇总统计' }, component: ParentView, redirect: 'balanceSummaryTotal/index', children: [ { path: 'balanceSummaryTotal', name: 'BalanceSummaryTotal', component: () => import('@/views/financial/balanceSummaryTotal/index'), meta: { title: '余额汇总统计' } } ] } ] }, { path: '/configManage', component: Layout, name: 'ConfigManage', meta: { title: '配置管理', icon: 'pz', icon1: 'pzSel' }, children: [ { path: 'walletConfig', name: 'WalletConfig', meta: { title: '钱包配置' }, component: ParentView, redirect: 'walletConfig/bzpz', children: [ { path: 'bzpz', name: 'CurrencyConfiguration', component: () => import('@/views/configManage/walletConfig/bzpz'), meta: { title: '币种配置' }, hidden: true }, { path: 'xfpz', name: 'ConsumptionConfiguration', component: () => import('@/views/configManage/walletConfig/xfpz'), meta: { title: '消费配置' }, hidden: true }, { path: 'zzpz', name: 'TransferConfiguration', component: () => import('@/views/configManage/walletConfig/zzpz'), meta: { title: '转账配置' }, hidden: true }, { path: 'txpz', name: 'WithdrawalConfiguration', component: () => import('@/views/configManage/walletConfig/txpz'), meta: { title: '提现配置' }, hidden: true }, { path: 'txgs', name: 'WithdrawalTax', component: () => import('@/views/configManage/walletConfig/txgs'), meta: { title: '提现个税' }, hidden: true }, { path: 'txsxf', name: 'WithdrawalHandlingFee', component: () => import('@/views/configManage/walletConfig/txsxf'), meta: { title: '提现手续费' }, hidden: true }, { path: 'specialMoney', name: 'SpecialMoney', component: () => import('@/views/configManage/walletConfig/specialMoney'), meta: { title: '特殊消费' }, hidden: true } ] }, { path: 'level', name: 'Level', meta: { title: '级别配置' }, component: ParentView, redirect: 'level/index', children: [ { path: 'level', name: 'LevelPage', component: () => import('@/views/configManage/level/index'), meta: { title: '级别配置' } }, { path: 'jxpz', name: 'AwardAllocation', component: () => import('@/views/configManage/level/jxpz'), meta: { title: '奖衔配置' }, hidden: true }, { path: 'fgjc', name: 'PoorRepurchase', component: () => import('@/views/configManage/level/fgjc'), meta: { title: '复购级差' }, hidden: true } ] }, { path: 'paySet', name: 'paySet', component: () => import('@/views/configManage/paySet/index'), meta: { title: '支付配置' } }, { path: 'bonus', name: 'Bonus', meta: { title: '奖金配置' }, component: ParentView, redirect: 'bonus/index', children: [ { path: 'bonus', name: 'Bonus', component: () => import('@/views/configManage/bonus/index'), meta: { title: '奖金配置' } }, { path: 'ztpz', name: 'DirectPushConfiguration', component: () => import('@/views/configManage/bonus/ztpz'), meta: { title: '直推配置', icon: 'table' }, hidden: true }, { path: 'kzpz', name: 'ExtendedConfiguration', component: () => import('@/views/configManage/bonus/kzpz'), meta: { title: '扩展配置', icon: 'table' }, hidden: true }, { path: 'fdfh', name: 'CoachingDividends', component: () => import('@/views/configManage/bonus/fdfh'), meta: { title: '辅导分红', icon: 'table' }, hidden: true }, { path: 'areaRegionConfig', name: 'AreaRegionConfig', component: () => import('@/views/configManage/bonus/areaRegionConfig'), meta: { title: '收益区域配置', icon: 'table' }, hidden: true }, { path: 'fwbt', name: 'ServiceSubsidies', component: () => import('@/views/configManage/bonus/fwbt'), meta: { title: '服务补贴', icon: 'table' }, hidden: true }, { path: 'jjkx', name: 'BonusDeduction', component: () => import('@/views/configManage/bonus/jjkx'), meta: { title: '奖金扣项', icon: 'table' }, hidden: true }, { path: 'ydpz', name: 'CloudGenerationConfiguration', component: () => import('@/views/configManage/bonus/ydpz'), meta: { title: '云代配置' }, hidden: true }, { path: 'hqjf', name: 'GlobalPoints', component: () => import('@/views/configManage/bonus/hqjf'), meta: { title: '环球积分', icon: 'table' }, hidden: true }, { path: 'njjf', name: 'CarBonusPoints', component: () => import('@/views/configManage/bonus/njjf'), meta: { title: '车奖积分', icon: 'table' }, hidden: true } ] }, { path: 'affiliatedteam', name: 'Affiliatedteam', meta: { title: '隶属团队' }, component: ParentView, redirect: 'affiliatedteam/index', children: [ { path: 'lstd', name: 'Affiliatedteam', component: () => import('@/views/configManage/affiliatedteam/index'), meta: { title: '隶属团队' } } ] }, { path: 'systemconfiguration', name: 'Systemconfiguration', meta: { title: '体系配置' }, component: ParentView, redirect: 'systemconfiguration/index', children: [ { path: 'txpz', name: 'Systemconfiguration', component: () => import('@/views/configManage/systemconfiguration/index'), meta: { title: '体系配置' } } ] }, { path: 'dealSet', name: 'DealSet', meta: { title: '交易配置' }, component: ParentView, redirect: 'dealSet/index', children: [ { path: 'dealSetList', name: 'DealSetList', component: () => import('@/views/configManage/dealSet/index'), meta: { title: '交易配置' } }, { path: 'whiteList', name: 'WhiteList', component: () => import('@/views/configManage/dealSet/whiteList'), meta: { title: '白名单' } }, { path: 'transSet', name: 'TransSet', component: () => import('@/views/configManage/dealSet/transSet'), meta: { title: '交易配置' } }, { path: 'agreementWhitelist', name: 'AgreementWhitelist', component: () => import('@/views/configManage/dealSet/agreementWhitelist'), meta: { title: '续约白名单' } }, { path: 'transferWhite', name: 'TransferWhite', component: () => import('@/views/configManage/dealSet/transferWhite'), meta: { title: '转账账户白名单' } } ] }, // { // path: 'mailbox', // name: 'Mailbox', // meta: { title: '邮箱配置' }, // component: ParentView, // redirect: 'mailbox/index', // children: [ // { // path: 'mailbox', // name: 'Mailbox', // component: () => import('@/views/configManage/mailbox/index'), // meta: { title: '邮箱配置' } // } // ] // }, // { // path: 'special', // name: 'Special', // meta: { title: '特殊配置' }, // component: ParentView, // redirect: 'special/index', // hidden: true, // children: [ // { // path: 'special', // name: 'Special', // component: () => import('@/views/configManage/special/index'), // meta: { title: '特殊配置' } // } // ] // }, // { // path: 'active', // name: 'Active', // meta: { title: '活动配置' }, // component: ParentView, // redirect: 'active/index', // children: [ // { // path: 'active', // name: 'Active', // component: () => import('@/views/configManage/active/index'), // meta: { title: '活动配置' } // } // ] // }, { path: 'protocol', name: 'Protocol', meta: { title: '协议配置' }, component: ParentView, redirect: 'protocol/index', children: [ { path: 'protocol', name: 'Protocol', component: () => import('@/views/configManage/protocol/index'), meta: { title: '协议配置' } }, { path: 'xyxq', name: 'Xyxq', component: () => import('@/views/configManage/protocol/find'), meta: { title: '协议配置' }, hidden: true } ] }, // { // path: 'restricted', // name: 'Restricted', // meta: { title: '限购配置' }, // component: ParentView, // redirect: 'restricted/index', // children: [ // { // path: 'restricted', // name: 'Restricted', // component: () => import('@/views/configManage/restricted/index'), // meta: { title: '限购配置' } // } // ] // }, // { // path: 'barcode', // name: 'Barcode', // meta: { title: '追溯配置' }, // component: ParentView, // redirect: 'barcode/index', // children: [ // { // path: 'barcode', // name: 'Barcode', // component: () => import('@/views/configManage/barcode/index'), // meta: { title: '追溯配置' } // } // ] // }, { path: 'label', name: 'Label', meta: { title: '标签配置' }, component: ParentView, redirect: 'label/index', children: [ { path: 'label', name: 'Label', component: () => import('@/views/configManage/label/index'), meta: { title: '标签配置' } } ] }, { path: 'bank', name: 'Bank', meta: { title: '银行配置' }, component: ParentView, redirect: 'bank/index', children: [ { path: 'yhpz', name: 'Bank', component: () => import('@/views/configManage/bank/index'), meta: { title: '银行配置' } } ] }, { path: 'businesshandling', name: 'Businesshandling', meta: { title: '业务办理手续费' }, component: ParentView, redirect: 'businesshandling/index', children: [ { path: 'ywblsxf', name: 'Businesshandling', component: () => import('@/views/configManage/businesshandling/index'), meta: { title: '业务办理手续费' } } ] }, // { // path: 'storeConfiguration', // name: 'StoreConfiguration', // meta: { title: '店铺配置' }, // component: ParentView, // redirect: 'storeConfiguration/index', // children: [ // { // path: 'storeConfiguration', // name: 'StoreConfiguration', // component: () => import('@/views/configManage/storeConfiguration/index'), // meta: { title: '店铺配置' } // } // ] // }, // { // path: 'storeGradeConfiguration', // name: 'StoreGradeConfiguration', // meta: { title: '店铺等级配置' }, // component: ParentView, // redirect: 'storeGradeConfiguration/index', // children: [ // { // path: 'storeGradeConfiguration', // name: 'StoreGradeConfiguration', // component: () => import('@/views/configManage/storeGradeConfiguration/index'), // meta: { title: '店铺等级配置' } // } // ] // }, // { // path: 'lenjoyStore', // name: 'LenjoyStore', // meta: { title: i18n.t('乐享店铺') }, // component: ParentView, // redirect: 'lenjoyStore/index', // children: [ // { // path: 'lenjoyStore', // name: 'LenjoyStore', // component: () => import('@/views/configManage/lenjoyStore/index'), // meta: { title: i18n.t('乐享店铺') } // } // ] // }, // { // path: 'honorAdmin', // name: 'HonorAdmin', // meta: { title: '荣誉馆配置' }, // component: ParentView, // redirect: 'honorAdmin/index', // children: [ // { // path: 'honorAdmin', // name: 'HonorAdmin', // component: () => import('@/views/configManage/honorAdmin/index'), // meta: { title: '荣誉馆配置' } // } // ] // }, { path: 'barcodeConfiguration', name: 'BarcodeConfiguration', meta: { title: '追溯配置' }, component: ParentView, redirect: 'barcodeConfiguration/index', children: [ { path: 'tmpz', name: 'BarcodeConfiguration', component: () => import('@/views/configManage/barcodeConfiguration/index'), meta: { title: '追溯配置' } }, { path: 'details', name: 'Details', component: () => import('@/views/configManage/barcodeConfiguration/details'), meta: { title: '详情明细' }, hidden: true } ] }, { path: 'deliveryWay', name: 'DeliveryWay', meta: { title: '发货方式' }, component: ParentView, redirect: 'deliveryWay/index', children: [ { path: 'deliveryWay', name: 'DeliveryWay', component: () => import('@/views/configManage/deliveryWay/index'), meta: { title: '发货方式' } } ] }, // { // path: 'noticeConfig', // name: 'NoticeConfig', // meta: { title: '公告配置' }, // component: ParentView, // redirect: 'noticeConfig/index', // children: [ // { // path: 'noticeConfig', // name: 'NoticeConfig', // component: () => import('@/views/configManage/noticeConfig/index'), // meta: { title: '公告配置' } // }, // { // path: 'noticeBack', // name: 'NoticeBack', // component: () => import('@/views/configManage/noticeConfig/noticeBack'), // meta: { title: '后台公告' }, // hidden: true // }, // { // path: 'email', // name: 'Email', // component: () => import('@/views/configManage/noticeConfig/email'), // meta: { title: '站内信配置' }, // hidden: true // } // // ] // }, // { // path: 'registrationConfiguration', // name: 'RegistrationConfiguration', // meta: { title: '注册页面配置' }, // component: ParentView, // redirect: 'registrationConfiguration/index', // children: [ // { // path: 'zcympz', // name: 'Zcympz', // component: () => import('@/views/configManage/registrationConfiguration/index'), // meta: { title: '注册页面配置' } // } // ] // }, { path: 'advertisementBanner', name: 'advertisementBanner', meta: { title: '广告Banner' }, component: ParentView, redirect: 'advertisementBanner/index', children: [ { path: 'advertisementBanner', name: 'advertisementBanner', component: () => import('@/views/configManage/advertisementBanner/index'), meta: { title: '广告Banner' } } ] }, { path: 'memberRetailRegion', name: 'memberRetailRegion', meta: { title: i18n.t('收益区域配置') }, component: ParentView, redirect: 'memberRetailRegion/index', children: [ { path: 'memberRetailRegion', name: 'memberRetailRegion', component: () => import('@/views/configManage/memberRetailRegion/index'), meta: { title: i18n.t('收益区域配置') } } ] }, { path: 'freePostageAreas', name: 'FreePostageAreas', meta: { title: '免邮专区配置' }, component: ParentView, redirect: 'freePostageAreas/index', children: [ { path: 'freePostageAreas', name: 'FreePostageAreas', component: () => import('@/views/configManage/freePostageAreas/index'), meta: { title: '免邮专区配置' } } ] }, { path: 'memberControl', name: 'MemberControl', component: () => import('@/views/configManage/memberControl/index'), meta: { title: '会员控制' } } // { // path: 'serviceNumber', // name: 'ServiceNumber', // component: () => import('@/views/configManage/serviceNumber/index'), // meta: { title: '服务编号配置' } // } ] }, { path: '/marketing', component: Layout, name: 'Activity', meta: { title: '营销管理', icon: 'yx', icon1: 'yxSel' }, children: [ ...tickets, { path: 'giftGoods', name: 'GiftGoods', component: ParentView, children: [ { path: 'giftGoodsList', name: 'GiftGoodsList', component: () => import('@/views/marketing/giftGoods/index'), meta: { title: '商品赠送' } }, { path: 'addGiftGoodsInfo', name: 'AddGiftGoodsInfo', component: () => import('@/views/marketing/giftGoods/addGiftGoodsInfo'), meta: { title: '基本信息' }, hidden: true }, { path: 'setGiftGoodsInfo', name: 'SetGiftGoodsInfo', component: () => import('@/views/marketing/giftGoods/setGiftGoodsInfo'), meta: { title: '规则设置' }, hidden: true } ] }, { path: 'consumptionGift', name: 'ConsumptionGift', component: ParentView, children: [ { path: 'consumptionGiftList', name: 'ConsumptionGiftList', component: () => import('@/views/marketing/consumptionGift/index'), meta: { title: '消费赠送' } }, { path: 'addConsumptionInfo', name: 'AddConsumptionInfo', component: () => import('@/views/marketing/consumptionGift/addConsumptionInfo'), meta: { title: '基本信息' }, hidden: true }, { path: 'setConsumptionInfo', name: 'SetConsumptionInfo', component: () => import('@/views/marketing/consumptionGift/setConsumptionInfo'), meta: { title: '规则设置' }, hidden: true } ] }, { path: 'memberConsumptionGift', name: 'MemberConsumptionGift', component: ParentView, children: [ { path: 'memberConsumptionGiftList', name: 'MemberConsumptionGiftList', component: () => import('@/views/marketing/memberConsumptionGift/index'), meta: { title: i18n.t('会员消费赠送') } }, { path: 'memberAddConsumptionInfo', name: 'MemberAddConsumptionInfo', component: () => import('@/views/marketing/memberConsumptionGift/addConsumptionInfo'), meta: { title: '基本信息' }, hidden: true }, { path: 'memberSetConsumptionInfo', name: 'MemberSetConsumptionInfo', component: () => import('@/views/marketing/memberConsumptionGift/setConsumptionInfo'), meta: { title: '规则设置' }, hidden: true } ] }, { path: 'winningRecord', name: 'WinningRecord', component: ParentView, children: [ { path: 'winningRecordList', name: 'WinningRecordList', component: () => import('@/views/marketing/winningRecord/index'), meta: { title: '中奖记录' } } ] }, { path: 'lotteryDetails', name: 'LotteryDetails', component: ParentView, children: [ { path: 'lotteryDetailsList', name: 'LotteryDetailsList', component: () => import('@/views/marketing/lotteryDetails/index'), meta: { title: '抽奖明细' } } ] }, { path: 'lottery', name: 'Lottery', component: ParentView, children: [ { path: 'lotteryList', name: 'LotteryList', component: () => import('@/views/marketing/lottery/index'), meta: { title: '抽奖配置' } }, { path: 'lotteryInfo', name: 'LotteryInfo', component: () => import('@/views/marketing/lottery/lotteryInfo'), meta: { title: '基本信息' }, hidden: true }, { path: 'lotteryRules', name: 'LotteryRules', component: () => import('@/views/marketing/lottery/lotteryRules'), meta: { title: '规则设置' }, hidden: true }, { path: 'lotteryGiftSet', name: 'LotteryGiftSet', component: () => import('@/views/marketing/lottery/lotteryGiftSet'), meta: { title: '奖品设置' }, hidden: true } ] }, { path: 'rechargeCard', name: 'RechargeCard', component: ParentView, children: [ { path: 'rechargeCardList', name: 'RechargeCardList', component: () => import('@/views/marketing/rechargeCard/index'), meta: { title: '充值提货卡' } }, { path: 'addRechargeCard', name: 'addRechargeCard', component: () => import('@/views/marketing/rechargeCard/addRechargeCard'), meta: { title: '充值提货卡-添加' }, hidden: true }, { path: 'rechargeQc', name: 'rechargeQc', component: () => import('@/views/marketing/rechargeCard/rechargeQc'), meta: { title: '充值提货卡-添加' }, hidden: true } ] }, { path: 'directUpgrade', name: 'DirectUpgrade', component: ParentView, meta: { title: '直推升级' }, children: [ { path: 'directUpgradeList', name: 'DirectUpgradeList', component: () => import('@/views/marketing/directGifts/index'), meta: { title: '直推升级' } }, { path: 'addDirect', name: 'AddDirect', component: () => import('@/views/marketing/directGifts/addDirect'), meta: { title: '基本信息' }, hidden: true }, { path: 'directUpgradeRecordList', name: 'DirectUpgradeRecordList', component: () => import('@/views/marketing/directGifts/record'), meta: { title: '直推升级数据' } } ] }, { path: 'directRanking', name: 'DirectRanking', component: ParentView, meta: { title: '直推排行数据' }, children: [ { path: 'directRankingList', name: 'DirectRankingList', component: () => import('@/views/marketing/directRanking/index'), meta: { title: '直推人数排行数据' } }, { path: 'directAmountRankingList', name: 'DirectAmountRankingList', component: () => import('@/views/marketing/directRanking/amount'), meta: { title: '直推金额排行数据' }, hidden: true }, { path: 'directConfig', name: 'DirectConfig', component: () => import('@/views/marketing/directRanking/config'), meta: { title: '直推配置' }, hidden: true } ] }, { path: 'shoppingUpgrade', name: 'ShoppingUpgrade', component: ParentView, meta: { title: '加购升级' }, children: [ { path: 'shoppingUpgradeList', name: 'ShoppingUpgradeList', component: () => import('@/views/marketing/shoppingUpgrade/index'), meta: { title: '加购升级' } }, { path: 'updateInfo', name: 'updateInfo', component: () => import('@/views/marketing/shoppingUpgrade/updateInfo'), meta: { title: '基本信息' }, hidden: true }, { path: 'shoppingUpgradeRecordList', name: 'ShoppingUpgradeRecordList', component: () => import('@/views/marketing/shoppingUpgrade/record'), meta: { title: '加购升级记录' } } ] }, { path: 'declarationActivity', name: 'DeclarationActivity', component: ParentView, meta: { title: '报单赠送' }, children: [ { path: 'declarationActivityList', name: 'DeclarationActivityList', component: () => import('@/views/marketing/declarationActivity/index'), meta: { title: '报单赠送' } }, { path: 'updateInfo', name: 'updateInfo', component: () => import('@/views/marketing/declarationActivity/updateInfo'), meta: { title: '基本信息' }, hidden: true }, { path: 'declarationActivityRecordList', name: 'DeclarationActivityRecordList', component: () => import('@/views/marketing/declarationActivity/record'), meta: { title: '报单赠送记录' } }, { path: 'declarationActivitySummary', name: 'DeclarationActivitySummary', component: () => import('@/views/marketing/declarationActivity/summary'), meta: { title: '报单赠送统计' } } ] }, // { // path: 'benefitsGift', // name: 'BenefitsGift', // component: ParentView, // children: [ // { // path: 'benefitsGiftList', // name: 'BenefitsGiftList', // component: () => import('@/views/marketing/benefitsGift/index'), // meta: { title: '权益赠送' } // }, // { // path: 'addBenefitsGift', // name: 'AddBenefitsGift', // component: () => import('@/views/marketing/benefitsGift/addBenefitsGift'), // meta: { title: '基本信息' }, // hidden: true // }, // { // path: 'benefitsGiftZxqc', // name: 'BenefitsGiftZxqc', // component: () => import('@/views/marketing/benefitsGift/benefitsGiftZxqc'), // meta: { title: '在线签呈' }, // hidden: true // } // ] // }, // { // path: 'upgradeBenefitsGift', // name: 'UpgradeBenefitsGift', // component: ParentView, // children: [ // { // path: 'upgradeBenefitsGiftList', // name: 'UpgradeBenefitsGiftList', // component: () => import('@/views/marketing/upgradeBenefitGift/index'), // meta: { title: '升级权益赠送' } // }, // { // path: 'upgradAddBenefitsGift', // name: 'UpgradAddBenefitsGift', // component: () => import('@/views/marketing/upgradeBenefitGift/addBenefitsGift'), // meta: { title: '基本信息' }, // hidden: true // }, // { // path: 'upgradBenefitsGiftZxqc', // name: 'UpgradBenefitsGiftZxqc', // component: () => import('@/views/marketing/upgradeBenefitGift/benefitsGiftZxqc'), // meta: { title: '在线签呈' }, // hidden: true // } // ] // }, // { // path: 'equitygiftData', // name: 'EquitygiftData', // component: ParentView, // children: [ // { // path: 'equitygiftDataList', // name: 'EquitygiftDataList', // component: () => import('@/views/marketing/equitygiftData/index'), // meta: { title: '权益赠送数据' } // } // ] // }, { path: 'tourismAct', name: 'TourismAct', component: ParentView, children: [ { path: 'tourismActList', name: 'TourismActList', component: () => import('@/views/marketing/tourismAct/index'), meta: { title: '旅游活动' } }, { path: 'addTourismAct', name: 'AddTourismAct', component: () => import('@/views/marketing/tourismAct/addTourismAct'), meta: { title: '基本信息' }, hidden: true } ] }, { path: 'tourismData', name: 'TourismData', component: ParentView, children: [ { path: 'tourismDataList', name: 'TourismDataList', component: () => import('@/views/marketing/tourismData/index'), meta: { title: '旅游活动数据' } } ] } ] }, // 统计分析 { path: '/statistics', name: 'Statistics', meta: { title: '统计分析', icon: 'set', icon1: 'setSel' }, alwaysShow: true, component: Layout, children: [ { path: 'underPlacementPer', name: 'UnderPlacementPer', component: () => import('@/views/statistics/underPlacementPer'), meta: { title: '伞下新增安置业绩' } }, { path: 'underPlacementPerNew', name: 'UnderPlacementPerNew', component: () => import('@/views/statistics/underPlacementPerNew'), meta: { title: '伞下新増安置业绩(新)' } }, { path: 'underDirectAdd', name: 'UnderDirectAdd', component: () => import('@/views/statistics/underDirectAdd'), meta: { title: '伞下直推新增业绩' } }, { path: 'underDirectAddNew', name: 'UnderDirectAddNew', component: () => import('@/views/statistics/underDirectAddNew'), meta: { title: '伞下直推新増业绩(新)' } }, { path: 'underBalance', name: 'UnderBalance', component: () => import('@/views/statistics/underBalance'), meta: { title: '伞下账户余额' } }, { path: 'realPerAddAwards', name: 'RealPerAddAwards', component: () => import('@/views/statistics/realPerAddAwards'), meta: { title: '真实业绩新增奖衔' } }, { path: 'levelUpRecords', name: 'LevelUpRecords', component: () => import('@/views/statistics/level-up-records/index'), meta: { title: '会员升级记录' } }, { path: 'memberAssessmentRecords', name: 'MemberAssessmentRecords', component: () => import('@/views/statistics/member-assessment-records/index'), meta: { title: '会员考核记录' } }, { path: 'placementCheck', name: 'PlacementCheck', component: () => import('@/views/statistics/placementCheck'), meta: { title: '安置正反查' } }, { path: 'recommendedCheck', name: 'RecommendedCheck', component: () => import('@/views/statistics/recommendedCheck'), meta: { title: '推荐正反查' } }, { path: 'underDirectpush', name: 'UnderDirectpush', component: () => import('@/views/statistics/underDirectpush'), meta: { title: '伞下直推' } }, { path: 'productSaleStatistics', name: 'ProductSaleStatistics', component: () => import('@/views/statistics/productSaleStatistics'), meta: { title: '产品销售统计' } }, { path: 'productSaleStatisticsDetail', name: 'ProductSaleStatisticsDetail', component: () => import('@/views/statistics/productSaleStatisticsDetail'), meta: { title: '产品销售统计详情' }, hidden: true }, { path: 'reportSummary', name: 'ReportSummary', component: () => import('@/views/statistics/reportSummary'), meta: { title: '报单汇总' } }, { path: 'incomeDetail', name: 'IncomeDetail', component: () => import('@/views/statistics/incomeDetail'), meta: { title: '收入明细' } }, { path: 'memOrderStatistics', name: 'MemOrderStatistics', component: () => import('@/views/statistics/memOrderStatistics'), meta: { title: '会员订单分布统计' } }, { path: 'productDetailQuery', name: 'ProductDetailQuery', component: () => import('@/views/statistics/productDetailQuery'), meta: { title: '产品明细查询' } }, { path: 'umbrellaBloodline', name: 'UmbrellaBloodline', component: () => import('@/views/statistics/umbrellaBloodline'), meta: { title: '伞下血缘去重' } }, { path: 'umbrellaBloodlineNew', name: 'UmbrellaBloodlineNew', component: () => import('@/views/statistics/umbrellaBloodlineNew'), meta: { title: '伞下血缘去重(新)' } }, // { // path: 'lcDataReport', // name: 'LcDataReport', // component: () => import('@/views/statistics/lcDataReport'), // meta: { title: '数据报表' }, // }, { path: 'lcDataReport', name: 'LcDataReport', component: ParentView, children: [ { path: 'lcDataReport', name: 'LcDataReportList', component: () => import('@/views/statistics/lcDataReport/lcDataReport'), meta: { title: '数据报表' } }, { path: 'chPvInquiry', name: 'ChPvInquiry', component: () => import('@/views/statistics/lcDataReport/chPvInquiry'), meta: { title: '国内业绩查询' }, hidden: true }, { path: 'othPvInquiry', name: 'OthPvInquiry', component: () => import('@/views/statistics/lcDataReport/othPvInquiry'), meta: { title: '海外业绩汇总' }, hidden: true }, { path: 'newLc', name: 'NewLc', component: () => import('@/views/statistics/lcDataReport/newLc'), meta: { title: '新联创' }, hidden: true } ] }, { path: 'directDataQuery', name: 'directDataQuery', component: () => import('@/views/statistics/directDataQuery/index'), meta: { title: '直推数据查询' } }, { path: 'directOnlineSign', name: 'directOnlineSign', component: () => import('@/views/statistics/directDataQuery/onlineSign'), meta: { title: '直推数据签呈' } }, { path: 'memberAchieve', name: 'MemberAchieve', component: () => import('@/views/statistics/memberAchieve/index'), meta: { title: '会员业绩数据查询' } }, { path: 'placBlood', name: 'PlacBlood', component: () => import('@/views/statistics/placBlood/index'), meta: { title: '安置血缘查询' } }, { path: 'placBloodPb', name: 'PlacBloodPb', component: () => import('@/views/statistics/placBlood/placBloodPb'), meta: { title: '安置血缘查询' } }, { path: 'placBloodBb', name: 'PlacBloodBb', component: () => import('@/views/statistics/placBlood/placBloodBb'), meta: { title: '安置血缘查询' } }, { path: 'awardPromotion', name: 'AwardPromotion', component: () => import('@/views/statistics/awardPromotion'), meta: { title: '奖衔晋升查询' } }, { path: 'personalRepurchaseSta', name: 'PersonalRepurchaseSta', component: () => import('@/views/statistics/personalRepurchaseSta'), meta: { title: '个人复购统计' } }, { path: 'placementPVSta', name: 'PlacementPVSta', component: () => import('@/views/statistics/placementPVSta'), meta: { title: '安置业绩统计' } }, { path: 'underDirectProduct', name: 'UnderDirectProduct', component: ParentView, meta: { title: '伞下直推产品查询' }, children: [ { path: 'underDirectProductList', name: 'UnderDirectProductList', component: () => import('@/views/statistics/underDirectProduct/index'), meta: { title: '伞下直推产品查询' } }, { path: 'underDirectProductDetails', name: 'UnderDirectProductDetails', component: () => import('@/views/statistics/underDirectProduct/details'), meta: { title: '伞下直推产品明细' }, hidden: true }, { path: 'underDirectProductToTal', name: 'UnderDirectProductToTal', component: () => import('@/views/statistics/underDirectProduct/total'), meta: { title: '伞下直推产品汇总' }, hidden: true } ] }, { path: 'userConsumpionSta', name: 'UserConsumpionSta', component: () => import('@/views/statistics/userConsumpionSta'), meta: { title: '用户消费统计' } }, { path: 'comNewlyAddPV', name: 'ComNewlyAddPV', component: () => import('@/views/statistics/comNewlyAddPV'), meta: { title: '小区新增业绩统计' } }, { path: 'memberRegistered', name: 'MemberRegistered', component: () => import('@/views/statistics/memberRegistered'), meta: { title: '会员户籍数据查询' } }, { path: 'umbrellaWalletDetail', name: 'UmbrellaWalletDetail', component: () => import('@/views/statistics/umbrellaWalletDetail'), meta: { title: '伞下钱包明细' } }, { path: 'regionalPerformance', name: 'RegionalPerformance', component: () => import('@/views/statistics/regionalPerformance'), meta: { title: '地区业绩统计' } }, { path: 'goodsSaleTotal', name: 'GoodsSaleTotal', component: () => import('@/views/statistics/goodsSaleTotal'), meta: { title: '单品销量统计' } }, { path: 'systemPerformance', name: 'SegionalPerformance', component: () => import('@/views/statistics/systemPerformance'), meta: { title: '系统业绩统计' } }, { path: 'productSalesRanking', name: 'ProductSalesRanking', component: () => import('@/views/statistics/productSalesRanking/index'), meta: { title: '产品销量排行' } }, { path: 'goodsAllTotal', name: 'goodsAllTotal', component: () => import('@/views/statistics/goodsAllTotal/index'), meta: { title: '商品销售统计' } } ] }, { path: '/system', component: Layout, name: 'System', meta: { title: '系统配置', icon: 'xt', icon1: 'xtSel' }, children: [ { path: 'parameter', name: 'Parameter', meta: { title: '系统参数' }, component: ParentView, redirect: 'parameter/index', children: [ { path: 'xtcs', name: 'SystemParameter', component: () => import('@/views/system/parameter/index'), meta: { title: '系统参数' } }, { path: 'ysfs', name: 'ModeTransport', component: () => import('@/views/system/parameter/ysfs'), meta: { title: '运输方式' }, hidden: true }, { path: 'zfpz', name: 'PaymentConfiguration', component: () => import('@/views/system/parameter/zfpz'), meta: { title: '支付配置' }, hidden: true }, { path: 'yfpz', name: 'FreightAllocation', component: () => import('@/views/system/parameter/yfpz'), meta: { title: '运费配置' }, hidden: true }, { path: 'azjy', name: 'PlacementVerification', component: () => import('@/views/system/parameter/azjy'), meta: { title: '安置校验' }, hidden: true }, { path: 'cdsj', name: 'CancellationTime', component: () => import('@/views/system/parameter/cdsj'), meta: { title: '撤单日期' }, hidden: true }, { path: 'sjfs', name: 'UpgradeMethod', component: () => import('@/views/system/parameter/sjfs'), meta: { title: '升级方式' }, hidden: true }, { path: 'ztfs', name: 'DirectPushMethod', component: () => import('@/views/system/parameter/ztfs'), meta: { title: '直推方式' }, hidden: true } ] }, { path: 'division', name: 'Division', meta: { title: '行政区划' }, component: ParentView, redirect: 'division/index', children: [ { path: 'xzph', name: 'Division', component: () => import('@/views/system/division/index'), meta: { title: '行政区划' } } ] }, // { // path: 'ihgConfig', // name: 'ihgConfig', // meta: { title: '洲际配置' }, // component: ParentView, // redirect: 'ihgConfig/index', // children: [ // { // path: 'ihgConfigList', // name: 'ihgConfigList', // component: () => import('@/views/system/ihgConfig/index'), // meta: { title: '洲际配置' } // }, // { // path: 'areaConfigList', // name: 'areaConfigList', // component: () => import('@/views/system/areaConfig/index'), // meta: { title: '区域配置' }, // hidden: true // } // ] // }, { path: 'translate', name: 'Translate', meta: { title: '统一翻译' }, component: ParentView, redirect: 'translate/index', children: [ { path: 'tyfy', name: 'Translate', component: () => import('@/views/system/translate/index'), meta: { title: '统一翻译' } } ] }, { path: 'national', name: 'National', meta: { title: '国家配置' }, component: ParentView, redirect: 'national/index', children: [ { path: 'gjpz', name: 'National', component: () => import('@/views/system/national/index'), meta: { title: '国家配置' } } ] }, { path: 'exchangerate', name: 'Exchangerate', meta: { title: '汇率配置' }, component: ParentView, redirect: 'exchangerate/index', children: [ { path: 'hlpz', name: 'Exchangerate', component: () => import('@/views/system/exchangerate/index'), meta: { title: '汇率配置' } } ] }, { path: 'adminRole', name: 'adminRole', meta: { title: '系统管理员' }, component: () => import('@/views/system/adminRole/index') }, { path: 'limits', name: 'limits', meta: { title: '权限配置' }, component: ParentView, redirect: 'limits/index', children: [ { path: 'limitsList', name: 'limitsList', component: () => import('@/views/system/limits/index'), meta: { title: '权限配置' }, hidden: true }, { path: 'receptionRole', name: 'ReceptionRole', component: () => import('@/views/system/receptionRole/index'), meta: { title: '权限配置' } }, { path: 'addreception', name: 'Addreception', component: () => import('@/views/system/receptionRole/addreception'), meta: { title: '前台权限配置' }, hidden: true }, { path: 'addMenuRole', name: 'AaddMenuRole', component: () => import('@/views/system/addMenuRole/index'), meta: { title: '新增权限' }, hidden: true }, { path: 'fieldRole', name: 'FieldRole', component: () => import('@/views/system/addMenuRole/fieldRole.vue'), meta: { title: '字段权限控制' }, hidden: true } ] }, { path: 'role', name: 'role', meta: { title: '角色配置' }, component: () => import('@/views/system/role/index') }, { path: 'departmentRole', name: 'departmentRole', meta: { title: '部门配置' }, component: () => import('@/views/system/departmentRole/index') }, { path: 'menuRole', name: 'menuRole', meta: { title: '菜单管理' }, component: () => import('@/views/system/menuRole/index') }, { path: 'warehouseConfig', name: 'warehouseConfig', meta: { title: '仓库配置' }, component: () => import('@/views/system/warehouseConfig/index') }, // { // path: 'whiteList', // name: 'WhiteList', // meta: { title: '白名单' }, // component: ParentView, // redirect: 'whiteList/index', // children: [ // { // path: 'ipList', // name: 'IpList', // component: () => import('@/views/system/whiteList/index'), // meta: { title: '白名单' } // }, // // { // // path: 'ipList', // // name: 'IpList', // // component: () => import('@/views/system/whiteList/ipList'), // // meta: { title: 'IP名单' }, // // hidden: true // // }, // { // path: 'registrationList', // name: 'RegistrationList', // component: () => import('@/views/system/whiteList/registrationList'), // hidden: true, // meta: { title: '注册名单' } // }, // { // path: 'consumerList', // name: 'ConsumerList', // component: () => import('@/views/system/whiteList/consumerList'), // hidden: true, // meta: { title: '消费名单' } // }, // { // path: 'transferList', // name: 'TransferList', // component: () => import('@/views/system/whiteList/transferList'), // hidden: true, // meta: { title: '转账名单' } // }, // { // path: 'withdrawalList', // name: 'WithdrawalList', // component: () => import('@/views/system/whiteList/withdrawalList'), // hidden: true, // meta: { title: '提现名单' } // }, // { // path: 'businessList', // name: 'BusinessList', // component: () => import('@/views/system/whiteList/businessList'), // hidden: true, // meta: { title: '业务名单' } // }, // { // path: 'exemptionList', // name: 'ExemptionList', // component: () => import('@/views/system/whiteList/exemptionList'), // hidden: true, // meta: { title: '免考名单' } // }, // ] // }, { path: 'inventoryCompany', name: 'InventoryCompany', meta: { title: '库存公司' }, component: () => import('@/views/system/inventoryCompany/index') }, { path: 'supplierSet', name: 'supplierSet', meta: { title: '供应商管理' }, component: () => import('@/views/system/supplierSet/index') } ] }, // { // path: '/siteConfiguration', // name: 'SiteConfiguration', // meta: { title: '站点配置', icon: 'set', icon1: 'setSel' }, // component: Layout, // children: [ // { // path: 'fistBackground', // name: 'FistBackground', // component: () => import('@/views/siteConfiguration/fistBackground'), // meta: { title: '首页背景' } // }, // { // path: 'mission', // name: 'Mission', // component: () => import('@/views/siteConfiguration/mission'), // meta: { title: '企业使命' } // }, // { // path: 'companyNews', // name: 'CompanyNews', // component: () => import('@/views/siteConfiguration/companyNews'), // meta: { title: '公司新闻' } // }, // { // path: 'vrSpecial', // name: 'VrSpecial', // component: () => import('@/views/siteConfiguration/vrSpecial'), // meta: { title: 'VR专区' } // }, // { // path: 'bigThings', // name: 'BigThings', // component: () => import('@/views/siteConfiguration/bigThings'), // meta: { title: '荣誉资质' } // }, // { // path: 'bigThingsTwo', // name: 'BigThingsTwo', // component: () => import('@/views/siteConfiguration/bigThingsTwo'), // meta: { title: '发展历程' }, // hidden: true // }, // { // path: 'globalEvery', // name: 'GlobalEvery', // component: () => import('@/views/siteConfiguration/globalEvery'), // meta: { title: '全球分布' } // }, // { // path: 'advert', // name: 'Advert', // component: () => import('@/views/siteConfiguration/advert'), // meta: { title: '广告Banner' } // }, // { // path: 'goodsSet', // name: 'GoodsSet', // component: () => import('@/views/siteConfiguration/goodsSet'), // meta: { title: '商品配置' } // }, // { // path: 'missionDetails', // name: 'MissionDetails', // component: () => import('@/views/siteConfiguration/missionDetails'), // meta: { title: '企业使命详情' }, // hidden: true // }, // { // path: 'companyFeng', // name: 'companyFeng', // component: () => import('@/views/siteConfiguration/companyFeng'), // meta: { title: '公司风采' }, // hidden: true // }, // { // path: 'companyDetails', // name: 'companyDetails', // component: () => import('@/views/siteConfiguration/companyDetails'), // meta: { title: i18n.t('MN_F_T_202') }, // hidden: true // }, // { // path: 'goodsDetails', // name: 'GoodsDetails', // component: () => import('@/views/siteConfiguration/goodsDetails'), // meta: { title: i18n.t('MN_F_T_202') }, // hidden: true // } // ] // }, { path: '/selfService', name: 'SelfService', meta: { title: '自助服务', icon: 'set', icon1: 'setSel' }, component: Layout, children: [ { path: 'updateAdress', name: 'UpdateAdress', component: () => import('@/views/selfService/updateAdress/index'), meta: { title: '修改地址' } }, { path: 'addressZxqc', name: 'AddressZxqc', component: () => import('@/views/selfService/updateAdress/addressZxqc'), meta: { title: '自提清单' } }, { path: 'inventory', name: 'Inventory', component: () => import('@/views/selfService/inventory/index'), meta: { title: '自提清单' } }, { path: 'ztZxqc', name: 'ZtZxqc', component: () => import('@/views/selfService/inventory/ztZxqc'), meta: { title: '自提清单在线签呈' }, hidden: true }, { path: 'register', name: 'Register', component: () => import('@/views/selfService/register/index'), meta: { title: '户籍变更' } }, { path: 'hjbgQc', name: 'hjbgQc', component: () => import('@/views/selfService/register/hjbgQc'), meta: { title: '户籍变更签呈' }, hidden: true } ] }, // { // path: '/equipmentManage', // name: 'EquipmentManage', // meta: { title: '设备管理', icon: 'xt', icon1: 'xtSel' }, // component: Layout, // children: [ // { // path: 'devices', // name: 'Devices', // meta: { title: '设备列表' }, // component: ParentView, // redirect: 'devices/index', // children: [ // { // path: 'devices', // name: 'Devices', // component: () => import('@/views/equipmentManage/devices/index'), // meta: { title: '设备列表' } // }, // { // path: 'purchases', // name: 'Purchases', // component: () => import('@/views/equipmentManage/devices/purchases'), // meta: { title: '购买次数' }, // hidden: true // }, // { // path: 'devicesDetail', // name: 'DevicesDetail', // component: () => import('@/views/equipmentManage/devices/devicesDetail'), // meta: { title: '设备列表详情' }, // hidden: true // }, // { // path: 'purchaseDetail', // name: 'PurchaseDetail', // component: () => import('@/views/equipmentManage/devices/purchaseDetail'), // meta: { title: '购买次数详情' }, // hidden: true // }, // { // path: 'bindDevices', // name: 'BindDevices', // component: () => import('@/views/equipmentManage/devices/bindDevices'), // meta: { title: '设备绑定' }, // hidden: true // } // ] // }, // { // path: 'equipmentBanner', // name: 'EquipmentBanner', // meta: { title: 'Banner' }, // component: ParentView, // redirect: 'equipmentBanner/index', // children: [ // { // path: 'equipmentBanner', // name: 'EquipmentBanner', // component: () => import('@/views/equipmentManage/equipmentBanner/index'), // meta: { title: 'Banner' } // } // ] // }, // { // path: 'equipmentProduct', // name: 'EquipmentProduct', // meta: { title: '商品配置' }, // component: ParentView, // redirect: 'equipmentProduct/index', // children: [ // { // path: 'equipmentProduct', // name: 'EquipmentProduct', // component: () => import('@/views/equipmentManage/equipmentProduct/index'), // meta: { title: '商品配置' } // }, // { // path: 'addEquProduct', // name: 'AddEquProduct', // component: () => import('@/views/equipmentManage/equipmentProduct/addEquProduct'), // meta: { title: '添加商品配置' }, // hidden: true // } // ] // }, // { // path: 'equipmentPackage', // name: 'EquipmentPackage', // meta: { title: '套餐配置' }, // component: ParentView, // redirect: 'equipmentPackage/index', // children: [ // { // path: 'equipmentPackage', // name: 'EquipmentPackage', // component: () => import('@/views/equipmentManage/equipmentPackage/index'), // meta: { title: '套餐配置' } // }, // { // path: 'addPackage', // name: 'AddPackage', // component: () => import('@/views/equipmentManage/equipmentPackage/addPackage'), // meta: { title: '添加套餐配置' }, // hidden: true // } // ] // } // ] // }, { path: '/supplyChain', name: 'SupplyChain', meta: { title: '供应链', icon: 'xt', icon1: 'xtSel' }, component: Layout, children: [ { path: 'orderManage', name: 'OrderManage', meta: { title: '订单管理' }, component: ParentView, redirect: '/procureOrder/index', alwaysShow: true, children: [ { path: 'procureOrder', name: 'ProcureOrder', component: () => import('@/views/supplyChain/orderManage/procureOrder/index'), meta: { title: '采购订单' } }, { path: 'procureOrderDetails', name: 'procureOrderDetails', component: () => import('@/views/supplyChain/orderManage/procureOrder/details'), meta: { title: '采购订单详情' } }, { path: 'procureOrderZxqc', name: 'procureOrderZxqc', component: () => import('@/views/supplyChain/orderManage/procureOrder/onlineSign'), meta: { title: '采购订单在线签呈' } }, { path: 'inOrOut', name: 'InOrOut', component: () => import('@/views/supplyChain/orderManage/inOrOut/index'), meta: { title: '调拨订单' } }, { path: 'inOrOutDetails', name: 'inOrOutDetails', component: () => import('@/views/supplyChain/orderManage/inOrOut/details'), meta: { title: '调拨订单详情' } }, { path: 'inOrOutZxqc', name: 'inOrOutZxqc', component: () => import('@/views/supplyChain/orderManage/inOrOut/onlineSign'), meta: { title: '调拨订单在线签呈' } }, { path: 'businessUse', name: 'BusinessUse', component: () => import('@/views/supplyChain/inventoryManage/businessUse/index'), meta: { title: '业务领用' }, hidden: true }, { path: 'businessUseDetails', name: 'BusinessUseDetails', component: () => import('@/views/supplyChain/inventoryManage/businessUse/details'), meta: { title: '详情' }, hidden: true }, { path: 'businessUseOnline', name: 'BusinessUseOnline', component: () => import('@/views/supplyChain/inventoryManage/businessUse/onlineSign'), meta: { title: '在线签呈' }, hidden: true } ] }, { path: 'inventoryManage', name: 'InventoryManage', meta: { title: '库存管理' }, component: ParentView, alwaysShow: true, children: [ { path: 'procureIn', name: 'ProcureIn', component: () => import('@/views/supplyChain/inventoryManage/procureIn/index'), meta: { title: '采购入库' } }, { path: 'procureInDetails', name: 'procureInDetails', component: () => import('@/views/supplyChain/inventoryManage/procureIn/details'), meta: { title: '详情' } }, { path: 'procureInZxqc', name: 'procureInZxqc', component: () => import('@/views/supplyChain/inventoryManage/procureIn/onlineSign'), meta: { title: '采购入库在线签呈' } }, { path: 'saleOut', name: 'SaleOut', component: () => import('@/views/supplyChain/inventoryManage/saleOut/index'), meta: { title: '销售出库' } }, { path: 'procureBack', name: 'ProcureBack', component: () => import('@/views/supplyChain/inventoryManage/procureBack/index'), meta: { title: '采购退货单' } }, { path: 'procureBackZxqc', name: 'ProcureBackZxqc', component: () => import('@/views/supplyChain/inventoryManage/procureBack/onlineSign'), meta: { title: '采购退货单在线签呈' } }, { path: 'saleBack', name: 'SaleBack', component: () => import('@/views/supplyChain/inventoryManage/saleBack/index'), meta: { title: '销售退货单' } }, { path: 'saleBackZxqc', name: 'SaleBackZxqc', component: () => import('@/views/supplyChain/inventoryManage/saleBack/onlineSign'), meta: { title: '销售退货单在线签呈' } }, { path: 'inOutOut', name: 'InOutOut', component: () => import('@/views/supplyChain/inventoryManage/inOutOut/index'), meta: { title: '调拨出库' } }, { path: 'inOutOutDetails', name: 'inOutOutDetails', component: () => import('@/views/supplyChain/inventoryManage/inOutOut/details'), meta: { title: '详情' } }, { path: 'inOutOutZxqc', name: 'inOutOutZxqc', component: () => import('@/views/supplyChain/inventoryManage/inOutOut/onlineSign'), meta: { title: '调拨出库在线签呈' } }, { path: 'inOutIn', name: 'InOutIn', component: () => import('@/views/supplyChain/inventoryManage/inOutIn/index'), meta: { title: '调拨入库' } }, { path: 'inOutInDetails', name: 'inOutInDetails', component: () => import('@/views/supplyChain/inventoryManage/inOutIn/details'), meta: { title: '详情' } }, { path: 'inOutInZxqc', name: 'inOutInZxqc', component: () => import('@/views/supplyChain/inventoryManage/inOutIn/onlineSign'), meta: { title: '调拨入库在线签呈' } }, { path: 'inventoryCount', name: 'InventoryCount', component: () => import('@/views/supplyChain/inventoryManage/inventoryCount/index'), meta: { title: '库存盘点' } }, { path: 'inCountDetails', name: 'inCountDetails', component: () => import('@/views/supplyChain/inventoryManage/inventoryCount/details'), meta: { title: '库存盘点详情' } }, { path: 'inCountZxqc', name: 'inCountZxqc', component: () => import('@/views/supplyChain/inventoryManage/inventoryCount/onlineSign'), meta: { title: '库存盘点在线签呈' } }, { path: 'availableQuantity', name: 'AvailableQuantity', component: () => import('@/views/supplyChain/inventoryManage/availableQuantity/index'), meta: { title: '可用量' } }, { path: 'updateAvailableQuantity', name: 'UpdateAvailableQuantity', component: () => import('@/views/supplyChain/inventoryManage/availableQuantity/update'), meta: { title: '可用量' }, hidden: true }, { path: 'quantityOnhand', name: 'QuantityOnhand', component: () => import('@/views/supplyChain/inventoryManage/quantityOnhand/index'), meta: { title: '现存量' } }, { path: 'quantityOnhandDetail', name: 'QuantityOnhandDetail', component: () => import('@/views/supplyChain/inventoryManage/quantityOnhand/detail'), meta: { title: '现存量详情' }, hidden: true }, { path: 'otherWarehousing', name: 'OtherWarehousing', component: () => import('@/views/supplyChain/inventoryManage/otherWarehousing/index'), meta: { title: '其他入库' } }, { path: 'otherWarehousingadd', name: 'OtherWarehousingAdd', component: () => import('@/views/supplyChain/inventoryManage/otherWarehousing/addrow.vue'), meta: { title: '其他入库' }, hidden: true }, { path: 'otherWarehousingOnline', name: 'OtherWarehousingOnline', component: () => import('@/views/supplyChain/inventoryManage/otherWarehousing/onlineSign.vue'), meta: { title: '其他入库签呈' }, hidden: true }, { path: 'otherOutbound', name: 'OtherOutbound', component: () => import('@/views/supplyChain/inventoryManage/otherOutbound/index'), meta: { title: '其他出库' } }, { path: 'otherOutboundadd', name: 'OtherOutboundAdd', component: () => import('@/views/supplyChain/inventoryManage/otherOutbound/addrow.vue'), meta: { title: '其他出库' }, hidden: true }, { path: 'otherOutboundOnline', name: 'OtherOutboundOnline', component: () => import('@/views/supplyChain/inventoryManage/otherOutbound/onlineSign.vue'), meta: { title: '其他出库签呈' }, hidden: true }, { path: 'batchNumberManage', name: 'BatchNumberManage', component: () => import('@/views/supplyChain/inventoryManage/batchNumberManage/index'), meta: { title: '批次号管理' } }, { path: 'batchNumberManageAdd', name: 'BatchNumberManageAdd', component: () => import('@/views/supplyChain/inventoryManage/batchNumberManage/addRow'), meta: { title: '批次号管理' }, hidden: true } ] }, { path: 'supplyChainAnalysis', name: 'SupplyChainAnalysis', meta: { title: '统计分析' }, component: ParentView, redirect: '/supplyChainAnalysis/index', alwaysShow: true, children: [ { path: 'procureInAnalysis', name: 'ProcureInAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/procureInAnalysis/index'), meta: { title: '采购入库' } }, { path: 'inOutInAnalysis', name: 'InOutInAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/inOutInAnalysis/index'), meta: { title: '调拨入库' } }, { path: 'otherWarehousingAnalysis', name: 'OtherWarehousingAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/otherWarehousingAnalysis/index'), meta: { title: '其他入库' } }, { path: 'otherOutboundAnalysis', name: 'OtherOutboundAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/otherOutboundAnalysis/index'), meta: { title: '其他出库' } }, { path: 'saleOutAnalysis', name: 'SaleOutAnalysis', component: () => import('@/views/supplyChain/supplyChainAnalysis/saleOutAnalysis/index'), meta: { title: '销售出库' } }, { path: 'procureBackOrder', name: 'ProcureBackOrder', component: () => import('@/views/supplyChain/supplyChainAnalysis/procureBackOrder/index'), meta: { title: '采购退货' } }, { path: 'saleBackOrder', name: 'SaleBackOrder', component: () => import('@/views/supplyChain/supplyChainAnalysis/saleBackOrder/index'), meta: { title: '销售退货' } } ] }, { path: 'shippingLog', name: 'ShippingLog', component: () => import('@/views/supplyChain/shippingLog/index'), meta: { title: '发货日志' }, hidden: true } ] }, { path: '/supplierManaged', name: 'SupplierManaged', alwaysShow: true, meta: { title: '中台', icon: 'info', icon1: 'infoSel' }, component: Layout, children: [ { path: 'supplierManage', name: 'SupplierManage', meta: { title: '供应商管理' }, component: ParentView, alwaysShow: true, children: [ { path: 'supplierGoods', name: 'SupplierGoods', component: () => import('@/views/supplierManage/supplierGoods/index'), meta: { title: '供应商商品列表' } }, // { // path: 'supplierProduct', // name: 'SupplierProduct', // component: () => import('@/views/supplierManage/supplierProduct/index'), // meta: { title: '供应商产品统计' } // }, { path: 'supplierGoodsAdd', name: 'SupplierGoodsAdd', component: () => import('@/views/supplierManage/supplierGoods/supplierGoodsAdd'), meta: { title: '添加供应商商品' }, hidden: true }, { path: 'supplierGoodsZxqc', name: 'SupplierGoodsZxqc', component: () => import('@/views/supplierManage/supplierGoods/onlineSign'), meta: { title: '在线签呈' }, hidden: true }, { path: 'supplierApply', name: 'SupplierApply', component: () => import('@/views/supplierManage/supplierApply/index'), meta: { title: '供应商申请' } }, // { // path: 'supplierApplyZxqc', // name: 'SupplierApplyZxqc', // component: () => import('@/views/supplierManage/supplierApply/supplierApplyZxqc'), // meta: { title: '供应商申请在线签呈' } // }, { path: 'depositPayment', name: 'DepositPayment', component: () => import('@/views/supplierManage/depositPayment/index'), meta: { title: '保证金缴纳' } }, // { // path: 'depositPaymentZxqc', // name: 'DepositPaymentZxqc', // component: () => import('@/views/supplierManage/depositPayment/depositPaymentZxqc'), // meta: { title: '保证金缴纳在线签呈' } // }, { path: 'supplierOrderInquiry', name: 'SupplierOrderInquiry', component: () => import('@/views/supplierManage/supplierOrderInquiry/index'), meta: { title: '订单查询' } }, { path: 'supplierOrderSettlement', name: 'SupplierOrderSettlement', component: () => import('@/views/supplierManage/supplierOrderSettlement/index'), meta: { title: '订单结算' } }, { path: 'supplyPost', name: 'SupplyPost', component: () => import('@/views/supplierManage/supplyPost/index'), meta: { title: '供应商邮费配置' } } ] }, { path: 'supplierTotal', name: 'SupplierTotal', meta: { title: '供应商统计' }, component: ParentView, alwaysShow: true, children: [ { path: 'supplierProduct', name: 'SupplierProduct', component: () => import('@/views/supplierManage/supplierProduct/index'), meta: { title: '供应商产品统计' } } ] } ] }, { path: '/whole-network', name: 'WholeNetwork', component: Layout, meta: { title: '全网管理', icon: 'info', icon1: 'infoSel' }, children: [ { path: 'productManage', name: 'WholeNetworkProductManageList', component: () => import('@/views/wholeNetwork/productManage/index'), meta: { title: '全网产品管理' } }, { path: 'productManageSummary', name: 'WholeNetworkProductManageSummary', component: () => import('@/views/wholeNetwork/productManage/summary'), meta: { title: '全网产品统计' } }, { path: 'orderSyncFail', name: 'WholeNetworkOrderSyncFail', component: () => import('@/views/wholeNetwork/orderSyncFail/index'), meta: { title: '同步失败订单' } }, { path: 'productManageDetails', name: 'WholeNetworkProductManageDetails', component: () => import('@/views/wholeNetwork/productManage/details'), meta: { title: '全网产品管理详情' }, hidden: true } ] }, // 404 page must be placed at the end !!! { path: '*', redirect: '/404', hidden: true }, { path: '/404', component: () => import('@/views/404'), hidden: true }] const createRouter = () => new Router({ // mode: 'history', // require service support scrollBehavior: () => ({ y: 0 }), routes: constantRoutes }) const router = createRouter() // Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465 export function resetRouter() { const newRouter = createRouter() router.matcher = newRouter.matcher // reset router } export default router