wupengfei
2025-10-31 1a7e45eb20ccdb433df5b18e10aafbd34aad049a
src/router/index.ts
@@ -96,33 +96,61 @@
    },
  },
  {
    path: '/FlexJobManage',
    path: '/SupplierManage',
    redirect: 'noRedirect',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10010,
      title: '灵工管理',
      rank: 10005,
      title: '供应商管理',
      rootMenu: true,
      icon: 'home',
    },
    children: [
      {
        path: '/FlexJobManageList',
        name: 'FlexJobManageList',
        path: '/SupplierManageList',
        name: 'SupplierManageList',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/FlexJobManage/FlexJobManage.vue'),
        component: () => import('@/views/SupplierManage/SupplierManageList.vue'),
        meta: {
          rank: 10011,
          title: '灵工管理',
          rank: 10005,
          title: '供应商管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
    ],
  },
  // {
  //   path: '/FlexJobManage',
  //   redirect: 'noRedirect',
  //   component: Layout,
  //   hidden: false,
  //   alwaysShow: true,
  //   meta: {
  //     rank: 10010,
  //     title: '灵工管理',
  //     rootMenu: true,
  //     icon: 'home',
  //   },
  //   children: [
  //     {
  //       path: '/FlexJobManageList',
  //       name: 'FlexJobManageList',
  //       hidden: false,
  //       alwaysShow: true,
  //       component: () => import('@/views/FlexJobManage/FlexJobManage.vue'),
  //       meta: {
  //         rank: 10011,
  //         title: '灵工管理',
  //         // rootMenu: true,
  //         icon: 'home',
  //       },
  //     },
  //   ],
  // },
  {
    path: '/EmploymentManage',
    redirect: 'noRedirect',
@@ -256,19 +284,19 @@
          icon: 'home',
        },
      },
      {
        path: '/BalanceManage',
        name: 'BalanceManage',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/ServiceChargeManage/BalanceManage.vue'),
        meta: {
          rank: 10042,
          title: '余额管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
      // {
      //   path: '/BalanceManage',
      //   name: 'BalanceManage',
      //   hidden: false,
      //   alwaysShow: true,
      //   component: () => import('@/views/ServiceChargeManage/BalanceManage.vue'),
      //   meta: {
      //     rank: 10042,
      //     title: '余额管理',
      //     // rootMenu: true,
      //     icon: 'home',
      //   },
      // },
      {
        path: '/ServiceChargeDetail/:id',
        name: 'ServiceChargeDetail',
@@ -284,34 +312,34 @@
      },
    ],
  },
  {
    path: '/AgreementManage',
    redirect: 'noRedirect',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10050,
      title: '协议管理',
      rootMenu: true,
      icon: 'home',
    },
    children: [
      {
        path: '/AgreementManageList',
        name: 'AgreementManageList',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/AgreementManage/AgreementManageList.vue'),
        meta: {
          rank: 10051,
          title: '协议管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
    ],
  },
  // {
  //   path: '/AgreementManage',
  //   redirect: 'noRedirect',
  //   component: Layout,
  //   hidden: false,
  //   alwaysShow: true,
  //   meta: {
  //     rank: 10050,
  //     title: '协议管理',
  //     rootMenu: true,
  //     icon: 'home',
  //   },
  //   children: [
  //     {
  //       path: '/AgreementManageList',
  //       name: 'AgreementManageList',
  //       hidden: false,
  //       alwaysShow: true,
  //       component: () => import('@/views/AgreementManage/AgreementManageList.vue'),
  //       meta: {
  //         rank: 10051,
  //         title: '协议管理',
  //         // rootMenu: true,
  //         icon: 'home',
  //       },
  //     },
  //   ],
  // },
  // {
  //   path: '/WithdrawManage',
  //   redirect: 'noRedirect',
@@ -367,24 +395,24 @@
        },
      },
      // {
      //   path: '/BalanceManageList',
      //   name: 'BalanceManageList',
      //   path: '/EnterpriseBalanceManage',
      //   name: 'EnterpriseBalanceManage',
      //   hidden: false,
      //   alwaysShow: true,
      //   component: () => import('@/views/FinanceManage/BalanceManageList.vue'),
      //   component: () => import('@/views/FinanceManage/EnterpriseBalanceManage.vue'),
      //   meta: {
      //     rank: 10072,
      //     title: '余额管理',
      //     title: '企业余额管理',
      //     // rootMenu: true,
      //     icon: 'home',
      //   },
      // },
      // {
      //   path: '/BalanceManageDetail',
      //   name: 'BalanceManageDetail',
      //   path: '/EnterpriseBalanceManageDetail/:id',
      //   name: 'EnterpriseBalanceManageDetail',
      //   hidden: true,
      //   alwaysShow: false,
      //   component: () => import('@/views/FinanceManage/BalanceManageDetail.vue'),
      //   component: () => import('@/views/FinanceManage/EnterpriseBalanceManageDetail.vue'),
      //   meta: {
      //     rank: 10073,
      //     title: '详情',
@@ -394,6 +422,35 @@
      // },
    ],
  },
  {
    path: '/UserManage',
    redirect: 'noRedirect',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10100,
      title: '用户管理',
      rootMenu: true,
      icon: 'home',
    },
    children: [
      {
        path: '/UserManageList',
        name: 'UserManageList',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/UserManage/UserManageList.vue'),
        meta: {
          rank: 10101,
          title: '用户管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
    ],
  },
  {
    path: '/Login',
    name: 'Login',