wupengfei
2025-11-11 31343bb1d812bdf43a1b61b67be789507b790f5a
src/router/index.ts
@@ -96,6 +96,56 @@
    },
  },
  {
    path: '/CustomerManage',
    redirect: 'noRedirect',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10010,
      title: '客户管理',
      rootMenu: true,
      icon: 'home',
    },
    children: [
      {
        path: '/CustomerManage',
        name: 'CustomerManage',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/CustomerManage/CustomerManage.vue'),
        meta: {
          rank: 10011,
          title: '客户管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/AddOrEditCustomer/:id?',
        name: 'AddOrEditCustomer',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/CustomerManage/AddOrEditCustomer.vue'),
        meta: {
          rank: 10011,
          title: '新增客户',
        },
      },
      {
        path: '/CustomerDetail/:id',
        name: 'CustomerDetail',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/CustomerManage/CustomerDetail.vue'),
        meta: {
          rank: 10011,
          title: '客户详情',
        },
      },
    ],
  },
  {
    path: '/FlexJobManage',
    redirect: 'noRedirect',
    component: Layout,
@@ -117,6 +167,19 @@
        meta: {
          rank: 10011,
          title: '灵工管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/FlexJobContractManage',
        name: 'FlexJobContractManage',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/FlexJobManage/FlexJobContractManage.vue'),
        meta: {
          rank: 10012,
          title: '签约管理',
          // rootMenu: true,
          icon: 'home',
        },
@@ -361,7 +424,7 @@
        component: () => import('@/views/FinanceManage/FinanceManage.vue'),
        meta: {
          rank: 10071,
          title: '财务管理',
          title: '发放明细',
          // rootMenu: true,
          icon: 'home',
        },
@@ -392,6 +455,45 @@
          icon: 'home',
        },
      },
      {
        path: '/CustomerRechargeRecord/:id',
        name: 'CustomerRechargeRecord',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/FinanceManage/CustomerRechargeRecord.vue'),
        meta: {
          rank: 10074,
          title: '充值记录',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/AccountManage',
        name: 'AccountManage',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/FinanceManage/AccountManage.vue'),
        meta: {
          rank: 10075,
          title: '账户管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/CustomerRechargeManage',
        name: 'CustomerRechargeManage',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/FinanceManage/CustomerRechargeManage.vue'),
        meta: {
          rank: 10074,
          title: '客户充值管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
    ],
  },