const globalManageRoutes = [
  {
    name: 'globalConfiguration',
    path: '/global_configuration',
    meta: { title: '开发配置', icon: 'icon-shouye2', isNav: true },
    redirect: '/global_configuration/status_manage',
    component: resolve => require(['../../views/layout'], resolve),
    children: [
      {
        name: 'accounts',
        path: '/system_manage/global_configuration/accounts',
        meta: { title: '服务账户', isNav: true },
        component: resolve => require(['../../views/esb_service/accounts'], resolve)
      },
      {
        name: 'esbServiceConnector',
        path: '/system_manage/global_configuration/connector',
        meta: { title: '适配器', isNav: true },
        component: resolve => require(['../../views/esb_service/connector'], resolve)
      },
      {
        name: 'globalVariableConfiguration',
        path: '/system_manage/global_configuration/global_variable_configuration',
        meta: { title: '全局变量配置', isNav: true },
        component: resolve => require(['../../views/global_configuration/global_variable_configuration'], resolve)
      },
      {
        name: 'statusManage',
        path: '/system_manage/global_configuration/status_manage',
        meta: { title: '状态码', isNav: true },
        component: resolve => require(['../../views/esb_service/status_manage'], resolve)
      },
      {
        name: 'systemManageNavConfig',
        path: '/system_manage/public',
        meta: { title: '发布管理', isNav: true },
        component: resolve => require(['../../views/system_manage/pulicList'], resolve)
      },
      {
        name: 'systemManageBlackWhiteList',
        path: '/system_manage/blackWhiteList',
        meta: { title: '黑白名单', isNav: true },
        component: resolve => require(['../../views/system_manage/blackWhiteList'], resolve)
      },
      // {
      //   name: 'sqlBuilder',
      //   path: '/global_configuration/sql_builder',
      //   meta: { title: 'SQL构建器', isNav: true },
      //   component: resolve => require(['../../views/esb_service/sql_builder'], resolve)
      // },
      {
        name: 'transformSchema',
        path: '/system_manage/global_configuration/transform_schema',
        meta: { title: '生成Schema', isNav: true },
        component: resolve => require(['../../views/esb_service/transform_schema'], resolve)
      },
      {
        name: 'accounts',
        path: '/system_manage/global_configuration/accounts',
        meta: { title: '服务账户', isNav: true },
        component: resolve => require(['../../views/esb_service/accounts'], resolve)
      }
      // {
      //   name: 'systemManageNavConfig',
      //   path: '/system_manage/navConfig',
      //   meta: { title: '业务域标签树', isNav: true },
      //   component: resolve => require(['../../views/system_manage/navConfig'], resolve)
      // }
    ]
  }
]
export default globalManageRoutes
