wupengfei
2025-10-31 819e86bb37d0802d500fe6bc52343abda31c3315
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',
@@ -137,11 +165,11 @@
    },
    children: [
      {
        path: '/EmploymentManageList',
        name: 'EmploymentManageList',
        path: '/TaskManageList',
        name: 'TaskManageList',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/EmploymentManage/EmploymentManage.vue'),
        component: () => import('@/views/EmploymentManage/TaskManageList.vue'),
        meta: {
          rank: 10021,
          title: '任务管理',
@@ -215,6 +243,19 @@
          icon: 'home',
        },
      },
      {
        path: '/CheckReceiveTaskDetail/:id',
        name: 'CheckReceiveTaskDetail',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/EmploymentManage/CheckReceiveTaskDetail.vue'),
        meta: {
          rank: 10031,
          title: '验收详情',
          // rootMenu: true,
          icon: 'home',
        },
      },
    ],
  },
  {
@@ -244,14 +285,14 @@
        },
      },
      {
        path: '/ServiceChargeSettle/:id',
        name: 'ServiceChargeSettle',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/ServiceChargeManage/ServiceChargeSettle.vue'),
        path: '/BalanceManage',
        name: 'BalanceManage',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/ServiceChargeManage/BalanceManage.vue'),
        meta: {
          rank: 10042,
          title: '结算',
          title: '余额管理',
          // rootMenu: true,
          icon: 'home',
        },
@@ -271,6 +312,62 @@
      },
    ],
  },
  // {
  //   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',
  //   component: Layout,
  //   hidden: false,
  //   alwaysShow: true,
  //   meta: {
  //     rank: 10060,
  //     title: '提现管理',
  //     rootMenu: true,
  //     icon: 'home',
  //   },
  //   children: [
  //     {
  //       path: '/WithdrawManageList',
  //       name: 'WithdrawManageList',
  //       hidden: false,
  //       alwaysShow: true,
  //       component: () => import('@/views/WithdrawManage/WithdrawManageList.vue'),
  //       meta: {
  //         rank: 10061,
  //         title: '提现管理',
  //         // rootMenu: true,
  //         icon: 'home',
  //       },
  //     },
  //   ],
  // },
  {
    path: '/FinanceManage',
    redirect: 'noRedirect',
@@ -278,7 +375,7 @@
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10050,
      rank: 10070,
      title: '财务管理',
      rootMenu: true,
      icon: 'home',
@@ -291,8 +388,63 @@
        alwaysShow: true,
        component: () => import('@/views/FinanceManage/FinanceManage.vue'),
        meta: {
          rank: 10051,
          rank: 10071,
          title: '财务管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
      // {
      //   path: '/EnterpriseBalanceManage',
      //   name: 'EnterpriseBalanceManage',
      //   hidden: false,
      //   alwaysShow: true,
      //   component: () => import('@/views/FinanceManage/EnterpriseBalanceManage.vue'),
      //   meta: {
      //     rank: 10072,
      //     title: '企业余额管理',
      //     // rootMenu: true,
      //     icon: 'home',
      //   },
      // },
      // {
      //   path: '/EnterpriseBalanceManageDetail/:id',
      //   name: 'EnterpriseBalanceManageDetail',
      //   hidden: true,
      //   alwaysShow: false,
      //   component: () => import('@/views/FinanceManage/EnterpriseBalanceManageDetail.vue'),
      //   meta: {
      //     rank: 10073,
      //     title: '详情',
      //     // rootMenu: true,
      //     icon: 'home',
      //   },
      // },
    ],
  },
  {
    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',
        },
@@ -310,6 +462,28 @@
    },
  },
  {
    path: '/SignMiddleware/:code',
    name: 'SignMiddleware',
    alias: '/sg/:code',
    hidden: true,
    component: () => import('@/views/SignMiddleware/SignMiddleware.vue'),
    meta: {
      title: '签约',
      rank: 102,
    },
  },
  {
    path: '/SignU/:code',
    name: 'SignU',
    alias: '/sgu/:code',
    hidden: true,
    component: () => import('@/views/SignMiddleware/SignU.vue'),
    meta: {
      title: '签约',
      rank: 102,
    },
  },
  {
    path: '/Error',
    component: ErrorLayout,
    redirect: '/Error/401',