zhengyiming
2 天以前 b42ca1e9ab197ce53828f4607610ae10f25965bb
src/router/index.ts
@@ -95,128 +95,62 @@
      rootMenu: true,
    },
  },
  {
    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: '/TaskManage',
        name: 'TaskManage',
        hidden: false,
        alwaysShow: true,
        component: () => import('@/views/EmploymentManage/TaskManage.vue'),
        meta: {
          rank: 10021,
          title: '任务管理',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/AddOrEditEmployment',
        name: 'AddOrEditEmployment',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/EmploymentManage/AddOrEditEmployment.vue'),
        meta: {
          rank: 10022,
          title: '发布编辑人员',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/EmploymentManageDetail',
        name: 'EmploymentManageDetail',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/EmploymentManage/EmploymentManageDetail.vue'),
        meta: {
          rank: 10023,
          title: '人员管理详情',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/EmploymentSignList',
        name: 'EmploymentSignList',
        hidden: true,
        alwaysShow: false,
        component: () => import('@/views/EmploymentManage/EmploymentSignList.vue'),
        meta: {
          rank: 10024,
          title: '报名列表',
          // rootMenu: true,
          icon: 'home',
        },
      },
      {
        path: '/EmploymentManageArrange',
        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: '/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: '/Login',
    name: 'Login',
@@ -228,6 +162,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',