pyt
2 天以前 e1b782bbac430d8e01d43d5f610a46e4a29f661e
management/config/routes.ts
@@ -34,26 +34,141 @@
    ],
  },
  {
    name: '统计分析',
    path: '/statistics',
    component: './statistics/index',
    // access: '/system_setting/position_management',
  },
  {
    path: '/setting',
    layout: false,
    name:'系统设置',
    // layout: false,
    name: '系统设置',
    access: '/system_setting',
    routes: [
      {
        name: '职位管理',
        path: '/career',
        component: './setting/career',
        path: '/setting/career',
        component: './setting/career/index',
        access: '/system_setting/position_management',
      },
      {
        name: '角色管理',
        path: '/setting/role',
        component: './setting/role',
        access: '/system_setting/role_management',
      },
      {
        name: '人员管理',
        path: '/setting/user',
        component: './setting/user',
        access: '/system_setting/people_management',
      }
    ],
  },
  {
    path: '/work-order',
    layout: false,
    name:'工单事项管理',
    // layout: false,
    name: '工单事项管理',
    access: '/work_order_transaction_management',
    routes: [
      {
        name: '工单事项配置',
        path: '/configuration',
        component: './work-order-settimg/configuration',
        path: '/work-order/configuration',
        component: './work-order-setting/index',
        access: '/work_order_transaction_management/work_order_item_configuration',
      },
      {
        name: '问题类型管理',
        path: '/work-order/problemType',
        component: './work-order/problem-type/index',
        access: '/work_order_transaction_management/problem_type_management',
      },
      {
        name: 'banner管理',
        path: '/work-order/banner',
        component: './work-order/banner/index',
        access: '/work_order_transaction_management/banner_management',
      },
    ],
  },
  {
    path: '/party',
    // layout: false,
    name: '党员管理',
    access: '/party_member',
    routes: [
      {
        name: '党员管理',
        path: '/party/manage',
        component: './party/manage/index',
        access: '/party_member/list',
      },
      {
        name: '添加党员',
        path: '/party/manage/add',
        hideInMenu: true,
        component: './party/manage/components/addAndEdit',
        // access: '/work_order_transaction_management/problem_type_management',
      },
      {
        name: '党员审核',
        path: '/party/audit',
        component: './party/audit/index',
        access: '/party_member_audit/list',
      },
    ],
  },
  {
    path: '/message-notification',
    // layout: false,
    name: '消息通知',
    access: '/message_notification',
    routes: [
      {
        name: '消息通知',
        path: '/message-notification/list',
        component: './message-notification/index',
        access: '/message_notification',
      },
    ],
  },
  {
    path: '/appeal-management',
    // layout: false,
    name: '诉求管理',
    access: '/complaint',
    routes: [
      {
        name: '诉求管理',
        path: '/appeal-management/list',
        component: './appeal-management/index',
        access: '/complaint/list',
      },
      {
        name: '述求详情',
        path: '/appeal-management/detail',
        component: './appeal-management/detail',
        access: '/message_notification',
        hideInMenu: true,
      },
      {
        name: '问题驳回统计',
        path: '/appeal-management/statistics',
        component: './appeal-management/statistics',
        // access: '/complaint/statistics',
      },
    ],
  },
  {
    path: '/logManagement',
    name: '日志管理',
    // access: '/logManagement',
    routes: [
      {
        name: '日志记录',
        path: '/logManagement/list',
        component: './logManagement/index',
        // access: '/logManagement/list',
      },
    ],
  },