/*
 * @Author: your name
 * @Date: 2022-01-06 13:45:09
 * @LastEditTime: 2022-02-28 21:32:55
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \Foshan4A3.0\src\router\routes\routes-file-two.js
 */
/*
 * @Author: your name
 * @Date: 2022-01-06 10:05:44
 * @LastEditTime: 2022-01-06 11:02:00
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue-admin-template\src\router\routes\routes-file-four.js
 */
import Layout from '@/layout'

const organizationRoutes = {
  path: '/jobs',
  component: Layout,
  meta: { roles: ['job_menu'], title: '职务管理' },
  children: [
    {
      path: '/jobs',
      name: 'Jobs',
      component: () => import('@/views/jobsManagement/list.vue'),
      meta: { title: '职务管理', roles: ['job_page'] }
    },
    {
      path: 'add',
      name: 'AuditAdd',
      component: () => import('@/views/jobsManagement/add.vue'),
      meta: { title: '新增职务' }
    },
    {
      path: 'edit',
      name: 'AuditEdit',
      component: () => import('@/views/jobsManagement/edit.vue'),
      meta: { title: '编辑职务' }
    }
  ]
}

export default [
  organizationRoutes
]
