zhengyiming
2025-11-28 a10ae7194ff768e59ed1b89704495002ba639dde
src/router/index.ts
@@ -95,223 +95,6 @@
      rootMenu: true,
    },
  },
  {
    path: '/SupplierManage',
    redirect: 'noRedirect',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10005,
      title: '供应商管理',
      rootMenu: true,
      icon: 'home',
    },
    children: [
      {
        path: '/SupplierManageList',
        name: 'SupplierManageList',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/SupplierManage/SupplierManageList.vue'),
        meta: {
          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',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10020,
      title: '用人管理',
      rootMenu: true,
      icon: 'home',
    },
    children: [
      {
        path: '/TaskManageList',
        name: 'TaskManageList',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/EmploymentManage/TaskManageList.vue'),
        meta: {
          rank: 10021,
          title: '任务管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/AddOrEditEmployment/:id?',
        name: 'AddOrEditEmployment',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/EmploymentManage/AddOrEditEmployment.vue'),
        meta: {
          rank: 10022,
          title: '发布编辑人员',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/EmploymentManageDetail/:id',
        name: 'EmploymentManageDetail',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/EmploymentManage/EmploymentManageDetail.vue'),
        meta: {
          rank: 10023,
          title: '人员管理详情',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/EmploymentSignList/:id',
        name: 'EmploymentSignList',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/EmploymentManage/EmploymentSignList.vue'),
        meta: {
          rank: 10024,
          title: '报名列表',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/EmploymentManageArrange/:id',
        name: 'EmploymentManageArrange',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/EmploymentManage/EmploymentManageArrange.vue'),
        meta: {
          rank: 10025,
          title: '人员安排',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/CheckManage',
        name: 'CheckManage',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/EmploymentManage/CheckManage.vue'),
        meta: {
          rank: 10030,
          title: '验收管理',
          // rootMenu: true,
          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',
        },
      },
    ],
  },
  {
    path: '/ServiceChargeManage',
    redirect: 'noRedirect',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10040,
      title: '服务费管理',
      rootMenu: true,
      icon: 'home',
    },
    children: [
      {
        path: '/ServiceChargeManageList',
        name: 'ServiceChargeManageList',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/ServiceChargeManage/ServiceChargeManage.vue'),
        meta: {
          rank: 10041,
          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',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/ServiceChargeManage/ServiceChargeDetail.vue'),
        meta: {
          rank: 10043,
          title: '详情',
          // rootMenu: true,
          icon: 'home',
        },
      },
    ],
  },
  // {
  //   path: '/AgreementManage',
  //   redirect: 'noRedirect',
@@ -368,89 +151,6 @@
  //     },
  //   ],
  // },
  {
    path: '/FinanceManage',
    redirect: 'noRedirect',
    component: Layout,
    hidden: false,
    alwaysShow: true,
    meta: {
      rank: 10070,
      title: '财务管理',
      rootMenu: true,
      icon: 'home',
    },
    children: [
      {
        path: '/FinanceManageList',
        name: 'FinanceManageList',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/FinanceManage/FinanceManage.vue'),
        meta: {
          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',
        },
      },
    ],
  },
  {
    path: '/Login',
    name: 'Login',