/*
 * @Descripttion: 
 * @version: 
 * @Author: 王三华
 * @Date: 2023-10-09 09:47:06
 */
import i18n from '@/util/i18n/index'
// 菜单信息
export const constantRoutes = [
  // 首页
  {
    path: '/pages/index/index',
    meta: { title: '首页' },
    name: 'index'
  },
  // 信息管理
  {
    path: '/information',
    meta: { title: '信息管理' },
    name: 'Information',
    children: [
      // 会员信息
      {
        path: '/pages/information/member',
        name: 'Member',
        meta: { title: '会员信息' },
      },
      {
        path: '/pages/information/bisiness/index',
        name: 'BasicBusiness',
        meta: { title: '办理业务' },
      },
      {
        path: '/pages/information/bisiness/reviewBusiness',
        name: 'ReviewBusiness',
        meta: { title: '审核业务' },
        hidden: true
      },
      {
        path: '/pages/information/order',
        name: 'OrderBusiness',
        meta: { title: '订单业务' },
      },
      
      {
        path: '/pages/information/realInfo',
        name: 'RealInfo',
        meta: { title: '真实信息' },
      },
    
      {
        path: '/pages/information/removeOrderList',
        name: 'removeOrderList',
        meta: { title: '撤单列表' },
      },
      {
        path: '/pages/information/operationRecord',
        name: 'operationRecord',
        meta: { title: '操作记录' },
      },
    ]
  },
   // 架构管理
   {
    path: '/architecture',
    meta: { title: '架构管理' },
    name: 'Framework',
    children: [
      
      {
        path: '/pages/architecture/architecture',
        name: 'Recommend',
        meta: { title: '推荐架构' },
      },
      {
        path: '/pages/architecture/resettlle',
        name: 'Arcgurecture',
        meta: { title: '安置架构' },
      },
    ]
  },
  // 结算中心
  {
    path: '/settlementCenter',
    meta: { title: '结算中心' },
    name: 'SettlementCenter',
    children: [
      // 业绩汇总
      {
        path: '/pages/settlementCenter/performanceTotal',
        name: 'performanceTotal',
        meta: { title: '业绩汇总' },
      },
      // 拨比列表
      {
        path: '/pages/settlementCenter/performanceList',
        name: 'performanceList',
        meta: { title: '拨比列表' },
      },
      // 奖金来源
      {
        path: '/pages/settlementCenter/sourceBonus',
        name: 'sourceBonus',
        meta: { title: '奖金来源' },
      },
      // 奖金汇总
      {
        path: '/pages/settlementCenter/totalBonus',
        name: 'totalBonus',
        meta: { title: '奖金汇总' },
      },
      // 奖金明细
      {
        path: '/pages/settlementCenter/bonusDetail',
        name: 'BonusDetail',
        meta: { title: '奖金明细' },
      },
      // 安置数据
      {
        path: '/pages/settlementCenter/placementData',
        name: 'placementData',
        meta: { title: '安置数据' },
      },
      // 推荐数据
      {
        path: '/pages/settlementCenter/recommendData',
        name: 'recommendData',
        meta: { title: '推荐数据' },
      },
    ]
  },
  // 财务管理
  {
    path: '/financial',
    meta: { title: '财务管理' },
    name: 'Financial',
    children: [
      // 充值
      {
        path: '/pages/financial/index',
        name: 'Chongzhi',
        meta: { title: '充值' },
      },
      // 充值明细 
      {
        path: '/pages/financial/rechargeDetail',
        name: 'RechargeDetail',
        meta: { title: '充值明细' },
      },
      // 提现明细 
      {
        path: '/pages/financial/cashDetails',
        name: 'CashDetails',
        meta: { title: '提现明细' },
      },
      // 消费明细 
      {
        path: '/pages/financial/consumptionDetails',
        name: 'ConsumptionDetails',
        meta: { title: '消费明细' },
      },
       // 转账明细 
       {
        path: '/pages/financial/transferDetails',
        name: 'TransferDetails',
        meta: { title: '转账明细' },
      },
      // 冻结明细 
      {
        path: '/pages/financial/freezeDetail',
        name: 'FreezeDetail',
        meta: { title: '冻结明细' },
      },
      // 钱包明细
      {
        path: '/pages/financial/walletDetails',
        name: 'WalletDetails',
        meta: { title: '钱包明细' }
      },
      // 钱包明细详情
      {
        path: '/pages/financial/walletDetailsPro',
        name: 'WalletDetailss',
        meta: { title: '钱包明细详情' },
      },
      //余额汇总
      {
        path: '/pages/financial/balanceSummary',
        name: 'BalanceSummary',
        meta: { title: '余额汇总' },
      },
      // 在线支付
      {
        path: '/pages/financial/onlinePayDetails',
        name: 'OnlinePayDetails',
        meta: { title: '在线支付明细' }
      },
      // 在线退款
      {
        path: '/pages/financial/onlineRefundDetails',
        name: 'OnlineRefundDetails',
        meta: { title: '在线退款明细' }
      },
      //  // 充值在线签呈 
      //  {
      //   path: '/pages/financial/czzxqc',
      //   name: 'Czzxqc',
      //   meta: { title: '充值' },
      // },
    ]
  },
  // 物流管理
  {
    path: '/logistics',
    meta: { title: '物流管理' },
    name: 'Logistics',
    children: [
      // 商品订单
      {
        path: '/pages/logistics/commodity/index',
        name: 'ProductOrders',
        meta: { title: '商品订单' },
      },
      //订单开票
      {
        path: '/pages/logistics/commodity/spInvoicing',
        name: 'SpInvoicing',
        meta: { title: '订单开票' },
      },
    ]
  },
  // 统计分析
  {
    path: '/statistics',
    meta: { title: '统计分析' },
    name: 'Statistics',
    children: [
      {
        path: '/pages/statistics/underDirectAdd',
        name: 'UnderDirectAdd',
        meta: { title: '伞下直推新增业绩' },
      },
      {
        path: '/pages/statistics/underPlacementPer',
        name: 'UnderPlacementPer',
        meta: { title: '伞下新增安置业绩' },
      }
    ]
  }
]