//系统管理路由表
import layout from '@/layout/index' //layout直接引用 其他使用路由懒加载
export const systemRouterList = [
  {
    path: '/systemConfig',
    component: layout,
    name: 'systemConfig',
    meta: {
      title: '系统管理',
      icon: 'icon_xtgl',
      iconH: 'ytglCenter'
    },
    children: [
      {
        path: '/jurisdiction',
        name: 'jurisdiction',
        meta: {
          title: '用户权限管理',
          icon: 'icon_xtgl'
        },
        children: [
          {
            path: '/systemConfig/role-list',
            name: 'systemConfig/role-list',
            component: () => import('@/views/systemConfig/role-list/index'),
            meta: {
              title: '角色管理',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/postManage',
            name: 'systemConfig/postManage',
            component: () => import('@/views/systemConfig/postManage/index'),
            meta: {
              title: '职务管理',
              icon: 'icon_gntb'
            }
          }
        ]
      },
      {
        path: '/systemConfig/Procedures',
        name: 'systemConfig/Procedures',
        component: () => import('@/views/systemConfig/Procedures/index'),
        meta: {
          title: '操作手册',
          icon: 'icon_gntb'
        }
        // children: [
        //   {
        //     path: '/systemConfig/Procedures',
        //     name: 'systemConfig/Procedures',
        //     component: () => import('@/views/systemConfig/Procedures/index'),
        //     meta: {
        //       title: '操作手册项',
        //       icon: 'icon_xtgl'
        //     }
        //   }
        // ]
      },
      {
        path: '/systemConfig/userGroup',
        name: 'systemConfig/userGroup',
        component: () => import('@/views/systemConfig/userGroup/index'),
        meta: {
          title: '用户组',
          icon: 'icon_gntb'
        }
      },
      {
        path: '/organization',
        name: 'organization',
        meta: {
          title: '组织机构权限',
          icon: 'icon_xtgl'
        },
        children: [
          {
            path: '/systemConfig/department-list',
            name: 'systemConfig/department-list',
            component: () => import('@/views/systemConfig/department-list/index'),
            meta: {
              title: '部门管理',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/user-list',
            name: 'systemConfig/user-list',
            component: () => import('@/views/systemConfig/user-list/index'),
            meta: {
              title: '用户管理',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/userty',
            name: 'systemConfig/userty',
            component: () => import('@/views/systemConfig/user-list/tyuser'),
            meta: {
              title: '停用账号',
              icon: 'icon_gntb'
            }
          }
        ]
      },
      // {
      //   path: "/systemSeting",
      //   name: "systemSeting",
      //   meta: {
      //     title: "系统设置",
      //     icon: "icon_xtgl"
      //   },
      //   children: [
      //     // {
      //     //   path: "/systemSeting/themeSeting",
      //     //   name: "systemSeting/themeSeting",
      //     //   // component: () => import("@/views/systemConfig/role-list/index"),
      //     //   meta: {
      //     //     title: "主题调整",
      //     //     icon: "icon_xtgl"
      //     //   }
      //     // },
      //     // {
      //     //   path: "/systemSeting/functionSeting",
      //     //   name: "systemSeting/functionSeting",
      //     //   // component: () => import("@/views/systemConfig/role-list/index"),
      //     //   meta: {
      //     //     title: "功能调整",
      //     //     icon: "icon_xtgl"
      //     //   }
      //     // }
      //   ]
      // },
      {
        path: '/configuration',
        name: 'configuration',
        meta: {
          title: '系统配置',
          icon: 'icon_xtgl'
        },
        children: [
          {
            path: '/large-screen-settings',
            name: 'large-screen-settings',
            meta: {
              title: '大屏模块配置',
              icon: 'icon_xtgl'
            },
            children: [
              {
                path: '/systemConfig/large-screen-settings',
                name: 'systemConfig/large-screen-settings',
                component: () => import('@/views/systemConfig/Large-screen-settings/index'),
                meta: {
                  title: '模块分组数据',
                  icon: 'icon_gntb'
                }
              },
              {
                path: '/systemConfig/moksj',
                name: 'systemConfig/moksj',
                component: () => import('@/views/systemConfig/Large-screen-settings/mksj.vue'),
                meta: {
                  title: '模块数据',
                  icon: 'icon_gntb'
                }
              }
            ]
            // Large- screen - settings
          },
          {
            path: '/user/systemConfig',
            name: 'user/systemConfig',
            component: () => import('@/views/systemConfig/system-config-list/index'),
            meta: {
              title: '系统参数配置',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/dict',
            name: 'systemConfig/dict',
            component: () => import('@/views/systemConfig/dict/index'),
            meta: {
              title: '字典列表',
              icon: 'article-ranking'
            }
          },
          {
            path: '/systemConfig/menu-list',
            name: 'systemConfig/menu-list',
            component: () => import('@/views/systemConfig/menu-list/index'),
            meta: {
              title: '菜单管理',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/system-version-list',
            name: 'systemConfig/system-version-list',
            component: () => import('@/views/systemConfig/system-version-list/index'),
            meta: {
              title: '系统版本管理',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/system-init-set',
            name: 'systemConfig/system-init-set',
            component: () => import('@/views/systemConfig/system-init-set/index'),
            meta: {
              title: '系统初始化设置',
              icon: 'icon_gntb'
            }
          }
        ]
      },
      {
        path: '/system/log',
        name: 'system/log',
        meta: {
          title: '日志',
          icon: 'icon_xtgl'
        },
        children: [
          {
            path: '/systemConfig/log-manage/operateLog',
            name: 'systemConfig/log-manage/operateLog',
            component: () => import('@/views/systemConfig/log-manage/operateLog/index'),
            meta: {
              title: '操作日志',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/log-manage/loginLog',
            name: 'systemConfig/log-manage/loginLog',
            component: () => import('@/views/systemConfig/log-manage/loginLog/index'),
            meta: {
              title: '登录日志',
              icon: 'icon_gntb'
            }
          }
        ]
      },
      {
        path: '/opera-maint',
        name: 'operaMaint',
        meta: {
          title: '运维管理',
          icon: 'icon_xtgl'
        },
        children: [
          {
            path: '/systemConfig/opera-maint/serve',
            name: 'systemConfig/opera-maint/serve',
            component: () => import('@/views/systemConfig/opera-maint/serve/index'),
            meta: {
              title: '服务监控',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/opera-maint/save',
            name: 'systemConfig/opera-maint/save',
            component: () => import('@/views/systemConfig/opera-maint/save/index'),
            meta: {
              title: '缓存监控',
              icon: 'icon_gntb'
            }
          },
          {
            path: '/systemConfig/opera-maint/online',
            name: 'systemConfig/opera-maint/online',
            component: () => import('@/views/systemConfig/opera-maint/online/index'),
            meta: {
              title: '在线用户',
              icon: 'icon_gntb'
            }
          }
        ]
      }
    ]
  }
]
