From 40434139565bc82f4ff7258790ca2828119b03df Mon Sep 17 00:00:00 2001 From: ywk <317226901@qq.com> Date: Tue, 8 Apr 2025 13:58:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(route):=20=E6=B3=A8=E9=87=8A=E9=83=A8?= =?UTF-8?q?=E5=88=86=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 743 ++++++++++++++++++++++---------------------- 1 file changed, 372 insertions(+), 371 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 8a99945..fb6df89 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -880,12 +880,13 @@ export const constantRoutes = [ component: () => import('@/views/settlementCenter/topPerformanceTotal/index'), meta: { title: '顶点奖金拨比汇总' }, hidden: true - }, { - path: 'lenTopPerformance', - name: 'LenTopPerformance', - component: () => import('@/views/settlementCenter/lenTopPerformance/index'), - meta: { title: '乐享顶点奖金拨比列表' } }, + // { + // path: 'lenTopPerformance', + // name: 'LenTopPerformance', + // component: () => import('@/views/settlementCenter/lenTopPerformance/index'), + // meta: { title: '乐享顶点奖金拨比列表' } + // }, { path: 'personalAllocation', name: 'PersonalAllocation', @@ -1494,13 +1495,13 @@ export const constantRoutes = [ component: () => import('@/views/financial/cashDetails/index'), meta: { title: '提现明细' } }, - { - path: 'jdToPay', - name: 'jdToPay', - component: () => import('@/views/financial/jdToPay/index'), - meta: { title: '京东代付' }, - hidden: true - }, + // { + // path: 'jdToPay', + // name: 'jdToPay', + // component: () => import('@/views/financial/jdToPay/index'), + // meta: { title: '京东代付' }, + // hidden: true + // }, { path: 'consumptionDetails', name: 'ConsumptionDetails', @@ -1606,13 +1607,13 @@ export const constantRoutes = [ } ] - }, - { - path: 'technologyTtansaction', - name: 'TechnologyTtansaction', - component: () => import('@/views/financial/technologyTtansaction/index'), - meta: { title: '生态科技舱交易流水' } } + // { + // path: 'technologyTtansaction', + // name: 'TechnologyTtansaction', + // component: () => import('@/views/financial/technologyTtansaction/index'), + // meta: { title: '生态科技舱交易流水' } + // } ] }, { @@ -2110,36 +2111,36 @@ export const constantRoutes = [ } ] }, - { - 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: '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', @@ -2208,22 +2209,22 @@ export const constantRoutes = [ // // ] // }, - { - 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: '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', @@ -2268,13 +2269,13 @@ export const constantRoutes = [ name: 'MemberControl', component: () => import('@/views/configManage/memberControl/index'), meta: { title: '会员控制' } - }, - { - path: 'serviceNumber', - name: 'ServiceNumber', - component: () => import('@/views/configManage/serviceNumber/index'), - meta: { title: '服务编号配置' } } + // { + // path: 'serviceNumber', + // name: 'ServiceNumber', + // component: () => import('@/views/configManage/serviceNumber/index'), + // meta: { title: '服务编号配置' } + // } ] }, @@ -2413,33 +2414,33 @@ export const constantRoutes = [ } ] }, - { - path: 'seaBean', - name: 'SeaBean', - component: ParentView, - children: [ - { - path: 'seaBeanList', - name: 'SeaBeanList', - component: () => import('@/views/marketing/seaBean/index'), - meta: { title: '海豆赠送' } - }, - { - path: 'addConsumptionInfo', - name: 'AddConsumptionInfo', - component: () => import('@/views/marketing/seaBean/addConsumptionInfo'), - meta: { title: '基本信息' }, - hidden: true - }, - { - path: 'seaBeanZxqc', - name: 'seaBeanZxqc', - component: () => import('@/views/marketing/seaBean/zxqc'), - meta: { title: '在线签呈' }, - hidden: true - } - ] - }, + // { + // path: 'seaBean', + // name: 'SeaBean', + // component: ParentView, + // children: [ + // { + // path: 'seaBeanList', + // name: 'SeaBeanList', + // component: () => import('@/views/marketing/seaBean/index'), + // meta: { title: '海豆赠送' } + // }, + // { + // path: 'addConsumptionInfo', + // name: 'AddConsumptionInfo', + // component: () => import('@/views/marketing/seaBean/addConsumptionInfo'), + // meta: { title: '基本信息' }, + // hidden: true + // }, + // { + // path: 'seaBeanZxqc', + // name: 'seaBeanZxqc', + // component: () => import('@/views/marketing/seaBean/zxqc'), + // meta: { title: '在线签呈' }, + // hidden: true + // } + // ] + // }, { path: 'plantCommonweal', name: 'PlantCommonweal', @@ -2527,19 +2528,19 @@ export const constantRoutes = [ } ] }, - { - path: 'targetPerformance', - name: 'TargetPerformance', - component: ParentView, - children: [ - { - path: 'targetPerformanceList', - name: 'TargetPerformanceList', - component: () => import('@/views/marketing/targetPerformance/index'), - meta: { title: '目标业绩' } - } - ] - }, + // { + // path: 'targetPerformance', + // name: 'TargetPerformance', + // component: ParentView, + // children: [ + // { + // path: 'targetPerformanceList', + // name: 'TargetPerformanceList', + // component: () => import('@/views/marketing/targetPerformance/index'), + // meta: { title: '目标业绩' } + // } + // ] + // }, { path: 'rechargeCard', name: 'RechargeCard', @@ -2567,19 +2568,19 @@ export const constantRoutes = [ } ] }, - { - path: 'redbao', - name: 'Redbao', - component: ParentView, - children: [ - { - path: 'redbaoList', - name: 'RedbaoList', - component: () => import('@/views/marketing/redbao/index'), - meta: { title: '红包配置' } - } - ] - }, + // { + // path: 'redbao', + // name: 'Redbao', + // component: ParentView, + // children: [ + // { + // path: 'redbaoList', + // name: 'RedbaoList', + // component: () => import('@/views/marketing/redbao/index'), + // meta: { title: '红包配置' } + // } + // ] + // }, { path: 'lottery', name: 'Lottery', @@ -2621,41 +2622,41 @@ export const constantRoutes = [ } ] }, - { - path: 'newcomerGift', - name: 'NewcomerGift', - component: ParentView, - redirect: 'newcomerGiftList/index', - children: [ - { - path: 'newcomerGiftList', - name: 'NewcomerGiftList', - component: () => import('@/views/marketing/newcomerGift/index'), - meta: { title: '新人礼包' } - }, - { - path: 'newgiftInfo', - name: 'NewgiftInfo', - component: () => import('@/views/marketing/newcomerGift/newgiftInfo'), - meta: { title: '基本信息' }, - hidden: true - }, - { - path: 'newgiftRules', - name: 'NewgiftRules', - component: () => import('@/views/marketing/newcomerGift/newgiftRules'), - meta: { title: '规则设置' }, - hidden: true - }, - { - path: 'newgiftZxqc', - name: 'NewgiftZxqc', - component: () => import('@/views/marketing/newcomerGift/newgiftZxqc'), - meta: { title: '在线签呈' }, - hidden: true - } - ] - }, + // { + // path: 'newcomerGift', + // name: 'NewcomerGift', + // component: ParentView, + // redirect: 'newcomerGiftList/index', + // children: [ + // { + // path: 'newcomerGiftList', + // name: 'NewcomerGiftList', + // component: () => import('@/views/marketing/newcomerGift/index'), + // meta: { title: '新人礼包' } + // }, + // { + // path: 'newgiftInfo', + // name: 'NewgiftInfo', + // component: () => import('@/views/marketing/newcomerGift/newgiftInfo'), + // meta: { title: '基本信息' }, + // hidden: true + // }, + // { + // path: 'newgiftRules', + // name: 'NewgiftRules', + // component: () => import('@/views/marketing/newcomerGift/newgiftRules'), + // meta: { title: '规则设置' }, + // hidden: true + // }, + // { + // path: 'newgiftZxqc', + // name: 'NewgiftZxqc', + // component: () => import('@/views/marketing/newcomerGift/newgiftZxqc'), + // meta: { title: '在线签呈' }, + // hidden: true + // } + // ] + // }, { path: 'festivalGifts', name: 'FestivalGifts', @@ -2696,107 +2697,107 @@ export const constantRoutes = [ } ] }, - { - 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: 'seabuckEquityGiftList', - name: 'SeabuckEquityGiftList', - component: ParentView, - children: [ - { - path: 'seabuckEquityGiftList', - name: 'SeabuckEquityGiftList', - component: () => import('@/views/marketing/seabuckEquityGift/index'), - meta: { title: '沙棘权益赠送' } - }, - { - path: 'addSeabuckEquityGift', - name: 'AddSeabuckEquityGift', - component: () => import('@/views/marketing/seabuckEquityGift/addSeabuckEquityGift'), - meta: { title: '基本信息' }, - hidden: true - }, - { - path: 'seabuckEquityGiftZxqc', - name: 'SeabuckEquityGiftZxqc', - component: () => import('@/views/marketing/seabuckEquityGift/seabuckEquityGiftZxqc'), - meta: { title: '在线签呈' }, - hidden: true - }, - { - path: 'seabuckEquityDirectUpdata', - name: 'SeabuckEquityDirectUpdata', - component: () => import('@/views/marketing/seabuckEquityGift/directUpdata'), - meta: { title: '在线签呈' }, - hidden: true - } - ] - }, - { - path: 'equitygiftData', - name: 'EquitygiftData', - component: ParentView, - children: [ - { - path: 'equitygiftDataList', - name: 'EquitygiftDataList', - component: () => import('@/views/marketing/equitygiftData/index'), - 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: 'seabuckEquityGiftList', + // name: 'SeabuckEquityGiftList', + // component: ParentView, + // children: [ + // { + // path: 'seabuckEquityGiftList', + // name: 'SeabuckEquityGiftList', + // component: () => import('@/views/marketing/seabuckEquityGift/index'), + // meta: { title: '沙棘权益赠送' } + // }, + // { + // path: 'addSeabuckEquityGift', + // name: 'AddSeabuckEquityGift', + // component: () => import('@/views/marketing/seabuckEquityGift/addSeabuckEquityGift'), + // meta: { title: '基本信息' }, + // hidden: true + // }, + // { + // path: 'seabuckEquityGiftZxqc', + // name: 'SeabuckEquityGiftZxqc', + // component: () => import('@/views/marketing/seabuckEquityGift/seabuckEquityGiftZxqc'), + // meta: { title: '在线签呈' }, + // hidden: true + // }, + // { + // path: 'seabuckEquityDirectUpdata', + // name: 'SeabuckEquityDirectUpdata', + // component: () => import('@/views/marketing/seabuckEquityGift/directUpdata'), + // 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', @@ -3259,30 +3260,30 @@ export const constantRoutes = [ } ] }, - { - 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: '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: 'areaConfigList', + // name: 'areaConfigList', + // component: () => import('@/views/system/areaConfig/index'), + // meta: { title: '区域配置' }, + // hidden: true - } - ] - }, + // } + // ] + // }, { path: 'translate', name: 'Translate', @@ -3503,99 +3504,99 @@ export const constantRoutes = [ ] }, - { - 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: '/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: '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: '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',