618 lines
34 KiB
TypeScript
618 lines
34 KiB
TypeScript
// 路由配置文件
|
|
export default [
|
|
{
|
|
path: '/',
|
|
component: '../layouts/BlankLayout',
|
|
routes: [
|
|
{
|
|
path: '/user',
|
|
component: '../layouts/UserLayout',
|
|
routes: [
|
|
{
|
|
path: '/user/login',
|
|
name: '用户登录',
|
|
component: './User/login',
|
|
},
|
|
{
|
|
path: '/user/register',
|
|
name: '用户注册',
|
|
component: './User/register',
|
|
},
|
|
{
|
|
path: '/user/forgetPassword',
|
|
name: '忘记密码',
|
|
component: './User/ForgetPassword',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: '/',
|
|
component: '../layouts/SecurityLayout',
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
component: '../layouts/BasicLayout',
|
|
authority: ['1000', '2000', '3000'],
|
|
routes: [
|
|
{
|
|
path: '/operatingMerchants',
|
|
name: 'operatingMerchants',
|
|
icon: 'AccountBookOutlined',
|
|
routes: [
|
|
{
|
|
path: 'MerchantInformation',
|
|
name: 'MerchantInformation',
|
|
component: './operatingMerchants/MerchantInformation/index'
|
|
},
|
|
]
|
|
},
|
|
{
|
|
path: '/travelMember',
|
|
name: 'travelMember',
|
|
icon: 'AccountBookOutlined',
|
|
routes: [
|
|
{
|
|
path: 'memberInfor',
|
|
name: 'memberInfor',
|
|
component: './travelMember/memberInfor/index'
|
|
},
|
|
{
|
|
path: 'PointsRuleConfig',
|
|
name: 'PointsRuleConfig',
|
|
component: './travelMember/PointsRuleConfig/index'
|
|
},
|
|
{
|
|
path: 'GrowthValueRuleConfig',
|
|
name: 'GrowthValueRuleConfig',
|
|
component: './travelMember/GrowthValueRuleConfig/index'
|
|
},
|
|
{
|
|
path: 'ConsumptionRecordSearch',
|
|
name: 'ConsumptionRecordSearch',
|
|
component: './travelMember/ConsumptionRecordSearch/index'
|
|
},
|
|
{
|
|
path: 'PointsRecordSearch',
|
|
name: 'PointsRecordSearch',
|
|
component: './travelMember/PointsRecordSearch/index'
|
|
},
|
|
{
|
|
path: 'GrowthValueRecordSearch',
|
|
name: 'GrowthValueRecordSearch',
|
|
component: './travelMember/GrowthValueRecordSearch/index'
|
|
},
|
|
{
|
|
path: 'MemberAddress',
|
|
name: 'MemberAddress',
|
|
component: './travelMember/MemberAddress/index'
|
|
},
|
|
// 失物招领申请
|
|
{
|
|
path: 'LostandFoundAPPliance',
|
|
name: 'LostandFoundAPPliance',
|
|
component: './travelMember/LostandFoundAPPliance/index'
|
|
},
|
|
// 失物招领审核
|
|
{
|
|
path: 'LostandFoundReview',
|
|
name: 'LostandFoundReview',
|
|
component: './travelMember/LostandFoundReview/index'
|
|
},
|
|
// 图库类型管理
|
|
{
|
|
path: 'LibraryTypeManager',
|
|
name: 'LibraryTypeManager',
|
|
component: './travelMember/LibraryTypeManager/index'
|
|
},
|
|
// 图库信息管理
|
|
{
|
|
path: 'LibraryInformationManager',
|
|
name: 'LibraryInformationManager',
|
|
component: './travelMember/LibraryInformationManager/index'
|
|
},
|
|
// 点餐类别管理
|
|
{
|
|
path: 'OrderCategoryManage',
|
|
name: 'OrderCategoryManage',
|
|
component: './travelMember/OrderCategoryManage/index'
|
|
},
|
|
// 点餐商品管理
|
|
{
|
|
path: 'OrderProductManage',
|
|
name: 'OrderProductManage',
|
|
component: './travelMember/OrderProductManage/index'
|
|
},
|
|
// 商家评价管理
|
|
{
|
|
path: 'MerchantEvaluationManage',
|
|
name: 'MerchantEvaluationManage',
|
|
component: './travelMember/MerchantEvaluationManage/index'
|
|
},
|
|
// 自营餐饮商品申请
|
|
{
|
|
path: 'SelfOperatedProductApplication',
|
|
name: 'SelfOperatedProductApplication',
|
|
component: './travelMember/SelfOperatedProductApplication/index'
|
|
},
|
|
// 自营餐饮商品审核
|
|
{
|
|
path: 'SelfOperatedProductReview',
|
|
name: 'SelfOperatedProductReview',
|
|
component: './travelMember/SelfOperatedProductReview/index'
|
|
},
|
|
// 合作商户商品申请
|
|
{
|
|
path: 'MerchantProductApplication',
|
|
name: 'MerchantProductApplication',
|
|
component: './travelMember/MerchantProductApplication/index'
|
|
},
|
|
// 合作商户商品审核
|
|
{
|
|
path: 'MerchantProductReview',
|
|
name: 'MerchantProductReview',
|
|
component: './travelMember/MerchantProductReview/index'
|
|
},
|
|
// 供货商户分类
|
|
{
|
|
path: 'SupplierClassification',
|
|
name: 'SupplierClassification',
|
|
component: './travelMember/SupplierClassification/index'
|
|
},
|
|
// 供货商户管理
|
|
{
|
|
path: 'SupplierMerchantManage',
|
|
name: 'SupplierMerchantManage',
|
|
component: './travelMember/SupplierMerchantManage/index'
|
|
},
|
|
// 商城品牌管理
|
|
{
|
|
path: 'MallBrandManage',
|
|
name: 'MallBrandManage',
|
|
component: './travelMember/MallBrandManage/index'
|
|
},
|
|
// 商城分类管理
|
|
{
|
|
path: 'MallClassificationManage',
|
|
name: 'MallClassificationManage',
|
|
component: './travelMember/MallClassificationManage/index'
|
|
},
|
|
// 商品规格管理
|
|
{
|
|
path: 'ProductSpecificationManage',
|
|
name: 'ProductSpecificationManage',
|
|
component: './travelMember/ProductSpecificationManage/index'
|
|
},
|
|
// 商品上架管理
|
|
{
|
|
path: 'ProductListingManagement',
|
|
name: 'ProductListingManagement',
|
|
component: './travelMember/ProductListingManagement/index'
|
|
},
|
|
// 商城商品查询
|
|
{
|
|
path: 'ShoppingMallProductSearch',
|
|
name: 'ShoppingMallProductSearch',
|
|
component: './travelMember/ShoppingMallProductSearch/index'
|
|
},
|
|
// 售后类型管理
|
|
{
|
|
path: 'AfterSalesTypeManage',
|
|
name: 'AfterSalesTypeManage',
|
|
component: './travelMember/AfterSalesTypeManage/index'
|
|
},
|
|
// 商城订单管理
|
|
{
|
|
path: 'MallOrderManage',
|
|
name: 'MallOrderManage',
|
|
component: './travelMember/MallOrderManage/index'
|
|
},
|
|
// 订单售后管理
|
|
{
|
|
path: 'OrderAfterSalesManage',
|
|
name: 'OrderAfterSalesManage',
|
|
component: './travelMember/OrderAfterSalesManage/index'
|
|
},
|
|
// 商城评价管理
|
|
{
|
|
path: 'MallEvaluationManage',
|
|
name: 'MallEvaluationManage',
|
|
component: './travelMember/MallEvaluationManage/index'
|
|
},
|
|
// 首页精选商家
|
|
{
|
|
path: 'HomeSelectedMerchants',
|
|
name: 'HomeSelectedMerchants',
|
|
component: './travelMember/HomeSelectedMerchants/index'
|
|
},
|
|
// 首页精选卡券
|
|
{
|
|
path: 'HomeSelectedCoupons',
|
|
name: 'HomeSelectedCoupons',
|
|
component: './travelMember/HomeSelectedCoupons/index'
|
|
},
|
|
// 首页精选商城
|
|
{
|
|
path: 'HomeSelectedMall',
|
|
name: 'HomeSelectedMall',
|
|
component: './travelMember/HomeSelectedMall/index'
|
|
},
|
|
// 预约点餐订单
|
|
{
|
|
path: 'BookingMealOrder',
|
|
name: 'BookingMealOrder',
|
|
component: './travelMember/BookingMealOrder/index'
|
|
},
|
|
// 点餐售后管理
|
|
{
|
|
path: 'AfterSalesManage',
|
|
name: 'AfterSalesManage',
|
|
component: './travelMember/AfterSalesManage/index'
|
|
},
|
|
// 预约订单汇总
|
|
{
|
|
path: 'SummaryOfReservation',
|
|
name: 'SummaryOfReservation',
|
|
component: './travelMember/SummaryOfReservation/index'
|
|
},
|
|
// 会员等级管理
|
|
{
|
|
path: 'MembershipLevelManage',
|
|
name: 'MembershipLevelManage',
|
|
component: './travelMember/MembershipLevelManage/index'
|
|
},
|
|
// 会员标签管理
|
|
{
|
|
path: 'MemberTagManage',
|
|
name: 'MemberTagManage',
|
|
component: './travelMember/MemberTagManage/index'
|
|
},
|
|
// 黑名单管理
|
|
{
|
|
path: 'BlacklistManage',
|
|
name: 'BlacklistManage',
|
|
component: './travelMember/BlacklistManage/index'
|
|
},
|
|
// 活动配置管理
|
|
{
|
|
path: 'ActivityConfigurationManage',
|
|
name: 'ActivityConfigurationManage',
|
|
component: './travelMember/ActivityConfigurationManage/index'
|
|
},
|
|
// 积分兑换商城
|
|
{
|
|
path: 'PointsExchangeMall',
|
|
name: 'PointsExchangeMall',
|
|
component: './travelMember/PointsExchangeMall/index'
|
|
},
|
|
// 新人入会奖励
|
|
{
|
|
path: 'NewcomerMembership',
|
|
name: 'NewcomerMembership',
|
|
component: './travelMember/NewcomerMembership/index'
|
|
},
|
|
// 节日生日权益
|
|
{
|
|
path: 'HolidayAndBirthdayBenefits',
|
|
name: 'HolidayAndBirthdayBenefits',
|
|
component: './travelMember/HolidayAndBirthdayBenefits/index'
|
|
},
|
|
// 消息推送配置
|
|
{
|
|
path: 'MessagePushConfiguration',
|
|
name: 'MessagePushConfiguration',
|
|
component: './travelMember/MessagePushConfiguration/index'
|
|
},
|
|
// 消息历史记录
|
|
{
|
|
path: 'MessageHistory',
|
|
name: 'MessageHistory',
|
|
component: './travelMember/MessageHistory/index'
|
|
},
|
|
// 注册留存分析
|
|
{
|
|
path: 'RegistrationRetentionAnalysis',
|
|
name: 'RegistrationRetentionAnalysis',
|
|
component: './travelMember/RegistrationRetentionAnalysis/index'
|
|
},
|
|
// 会员等级分布
|
|
{
|
|
path: 'MembershipLevelDistribution',
|
|
name: 'MembershipLevelDistribution',
|
|
component: './travelMember/MembershipLevelDistribution/index'
|
|
},
|
|
// 商户销售排行
|
|
{
|
|
path: 'MerchantSalesRanking',
|
|
name: 'MerchantSalesRanking',
|
|
component: './travelMember/MerchantSalesRanking/index'
|
|
},
|
|
// 商户评价汇总
|
|
{
|
|
path: 'SummaryofMerchantReviews',
|
|
name: 'SummaryofMerchantReviews',
|
|
component: './travelMember/SummaryofMerchantReviews/index'
|
|
},
|
|
// 热销滞销分析
|
|
{
|
|
path: 'AnalysisOfHotSellingButUnsoldProducts',
|
|
name: 'AnalysisOfHotSellingButUnsoldProducts',
|
|
component: './travelMember/AnalysisOfHotSellingButUnsoldProducts/index'
|
|
},
|
|
// 库存预警管理
|
|
{
|
|
path: 'InventoryWarningManagement',
|
|
name: 'InventoryWarningManagement',
|
|
component: './travelMember/InventoryWarningManagement/index'
|
|
},
|
|
// 首页广告
|
|
{
|
|
path: 'HomepageAds',
|
|
name: 'HomepageAds',
|
|
component: './travelMember/HomepageAds/index'
|
|
},
|
|
// 服务区详情
|
|
{
|
|
path: 'serverpartInfo',
|
|
name: 'serverpartInfo',
|
|
component: './travelMember/serverpartInfo/index'
|
|
},
|
|
// 景区信息配置
|
|
{
|
|
path: 'scenicSpotConfig',
|
|
name: 'scenicSpotConfig',
|
|
component: './travelMember/scenicSpotConfig/index'
|
|
},
|
|
// 交易台账
|
|
{
|
|
path: 'TradingLedger',
|
|
name: 'TradingLedger',
|
|
component: './travelMember/TradingLedger/index'
|
|
},
|
|
// 埋点配置
|
|
{
|
|
path: 'BuriedPointConfig',
|
|
name: 'BuriedPointConfig',
|
|
component: './travelMember/BuriedPointConfig/index'
|
|
},
|
|
// 会员类型统计
|
|
{
|
|
path: 'MembershipTypeStatistics',
|
|
name: 'MembershipTypeStatistics',
|
|
component: './travelMember/MembershipTypeStatistics/index'
|
|
},
|
|
// 会员等级统计
|
|
{
|
|
path: 'MembershipLevelStatistics',
|
|
name: 'MembershipLevelStatistics',
|
|
component: './travelMember/MembershipLevelStatistics/index'
|
|
},
|
|
// 会员汇总统计
|
|
{
|
|
path: 'MemberSummaryStatistics',
|
|
name: 'MemberSummaryStatistics',
|
|
component: './travelMember/MemberSummaryStatistics/index'
|
|
},
|
|
// 商城订单统计
|
|
{
|
|
path: 'MallSummaryStatistics',
|
|
name: 'MallSummaryStatistics',
|
|
component: './travelMember/MallSummaryStatistics/index'
|
|
},
|
|
// 供应商订单统计
|
|
{
|
|
path: 'SupplierOrderStatistics',
|
|
name: 'SupplierOrderStatistics',
|
|
component: './travelMember/SupplierOrderStatistics/index'
|
|
},
|
|
// 积分成长值汇总表
|
|
{
|
|
path: 'SummaryOfIntegralGrowthValue',
|
|
name: 'SummaryOfIntegralGrowthValue',
|
|
component: './travelMember/SummaryOfIntegralGrowthValue/index'
|
|
},
|
|
// 运营活动拉新统计
|
|
{
|
|
path: 'BusinessActivityStatistics',
|
|
name: 'BusinessActivityStatistics',
|
|
component: './travelMember/BusinessActivityStatistics/index'
|
|
},
|
|
// 活跃会员统计
|
|
{
|
|
path: 'ActiveMemberStatistics',
|
|
name: 'ActiveMemberStatistics',
|
|
component: './travelMember/ActiveMemberStatistics/index'
|
|
},
|
|
// 消费类型配置
|
|
{
|
|
path: 'ConsumptionTypeConfig',
|
|
name: 'ConsumptionTypeConfig',
|
|
component: './travelMember/ConsumptionTypeConfig/index'
|
|
},
|
|
// 操作类型配置
|
|
{
|
|
path: 'OperationTypeConfig',
|
|
name: 'OperationTypeConfig',
|
|
component: './travelMember/OperationTypeConfig/index'
|
|
},
|
|
// 商品预警规则设置
|
|
{
|
|
path: 'ProductWarningRuleSetting',
|
|
name: 'ProductWarningRuleSetting',
|
|
component: './travelMember/ProductWarningRuleSetting/index'
|
|
},
|
|
// 注册途径统计
|
|
{
|
|
path: 'RegistrationStatistics',
|
|
name: 'RegistrationStatistics',
|
|
component: './travelMember/RegistrationStatistics/index'
|
|
},
|
|
// 活动内容库管理
|
|
{
|
|
path: 'EventRegistration',
|
|
name: 'EventRegistration',
|
|
component: './travelMember/EventRegistration/index'
|
|
},
|
|
// 活动列表管理
|
|
{
|
|
path: 'activityList',
|
|
name: 'activityList',
|
|
component: './travelMember/activityList/index'
|
|
},
|
|
// 共享休息站管理
|
|
{
|
|
path: 'SharedRestStationManagement',
|
|
name: 'SharedRestStationManagement',
|
|
component: './travelMember/SharedRestStationManagement/index'
|
|
},
|
|
// 招商信息列表
|
|
{
|
|
path: 'InvestmentInformation',
|
|
name: 'InvestmentInformation',
|
|
component: './travelMember/InvestmentInformation/index'
|
|
},
|
|
]
|
|
},
|
|
{
|
|
path: '/CardInformation',
|
|
name: 'CardInformation',
|
|
icon: 'AccountBookOutlined',
|
|
routes: [
|
|
{
|
|
path: 'CardCouponApplicRules',
|
|
name: 'CardCouponApplicRules',
|
|
component: './CardInformation/CardCouponApplicRules/index'
|
|
},
|
|
{
|
|
path: 'CardVoucherCollection',
|
|
name: 'CardVoucherCollection',
|
|
component: './CardInformation/CardVoucherCollection/index'
|
|
},
|
|
{
|
|
path: 'CardVoucherSearch',
|
|
name: 'CardVoucherSearch',
|
|
component: './CardInformation/CardVoucherSearch/index'
|
|
},
|
|
{
|
|
path: 'CardVoucherRedemption',
|
|
name: 'CardVoucherRedemption',
|
|
component: './CardInformation/CardVoucherRedemption/index'
|
|
},
|
|
{
|
|
path: 'CardHaveCollection',
|
|
name: 'CardHaveCollection',
|
|
component: './CardInformation/CardHaveCollection/index'
|
|
},
|
|
|
|
// 新增卡券申请
|
|
{
|
|
path: 'NewCouponApplication',
|
|
name: 'NewCouponApplication',
|
|
component: './CardInformation/NewCouponApplication/index'
|
|
},
|
|
// 新增卡券审核
|
|
{
|
|
path: 'NewCouponReview',
|
|
name: 'NewCouponReview',
|
|
component: './CardInformation/NewCouponReview/index'
|
|
},
|
|
|
|
]
|
|
},
|
|
{
|
|
path: '/merchantManagement',
|
|
name: 'merchantManagement',
|
|
icon: 'UserOutlined',
|
|
hideInMenu: true,
|
|
routes: [
|
|
{
|
|
path: 'busniessproinst',
|
|
name: 'busniessproinst',
|
|
component: './merchantManagement/BusniessProInst/index',
|
|
},
|
|
{
|
|
path: 'examineBusniessproinst/examineAndApprove/:id',
|
|
name: 'examineAndApprove',
|
|
component: './merchantManagement/BusniessProInst/examineAndApprove',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: '/newDataAnalysis',
|
|
name: 'newDataAnalysis',
|
|
icon: 'ReadOutlined',
|
|
routes: [
|
|
{
|
|
path: 'borderServiceArea',
|
|
name: 'borderServiceArea',
|
|
component: './newDataAnalysis/borderServiceArea/index',
|
|
}
|
|
]
|
|
},
|
|
{
|
|
path: '/account',
|
|
name: 'account',
|
|
icon: 'UserOutlined',
|
|
hideInMenu: true,
|
|
routes: [
|
|
{
|
|
path: 'center',
|
|
name: 'center',
|
|
component: './account/center',
|
|
},
|
|
{
|
|
path: 'settings',
|
|
name: 'settings',
|
|
component: './account/setting',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: '/setting',
|
|
name: 'setting',
|
|
icon: 'setting',
|
|
routes: [
|
|
{
|
|
path: 'OperationLog',
|
|
name: 'OperationLog',
|
|
component: './Setting/OperationLog/index',
|
|
},
|
|
{
|
|
path: 'menu',
|
|
name: 'moduleCate',
|
|
component: './Setting/Module/index',
|
|
},
|
|
{
|
|
path: '/setting/roles',
|
|
name: 'roles',
|
|
component: './Setting/Roles/index',
|
|
},
|
|
{
|
|
path: '/setting/users',
|
|
name: 'users',
|
|
component: './Setting/Users/index',
|
|
},
|
|
]
|
|
},
|
|
{
|
|
component: './404',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
component: './404',
|
|
},
|
|
{
|
|
component: './500',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
component: './404',
|
|
},
|
|
{
|
|
component: './500',
|
|
},
|
|
];
|