/**
 * icon:菜单项图标
 * roles:标明当前菜单项在何种角色下可以显示，如果不写此选项，表示该菜单项完全公开，在任何角色下都显示
 */
const menuList = [
  {
    title: "首页",
    path: "/dashboard",
    icon: "home",
    roles:["admin","editor","guest","group-leader","company-manager"]
  },
  // {
  //   title: "情境管理",
  //   path: "/situationCreate/situationCreate",
  //   icon: "lock",
  //   roles:["admin","editor","guest","group-leader","company-manager"]
  // },
  {
    title: "人员管理",
    path: "/personnelManagement",
    icon: "lock",
    roles:["admin","editor","guest","group-leader","company-manager"],
    children: [
      {
        title: "权限维护",
        path: "/personnelManagement/permissionMaintenance/permissionMaintenance",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "人员信息",
        path: "/personnelManagement/personnelInformation/personnelInformation",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "人员与查核组",
        path: "/personnelManagement/personAndCheckGroup/personAndCheckGroup",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "人员与单位",
        path: "/personnelManagement/personAndGroup/personAndGroup",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
    ],
  },
  {
    title: "单位管理",
    path: "/groupManage",
    icon: "lock",
    children: [
      {
        title: "单位分类维护",
        path: "/groupManage/groupIdentity/groupIdentity",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "单位维护",
        path: "/groupManage/groupMana/groupMana",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "单位与单位分类",
        path: "/groupManage/groupIdentityAndGroup/groupIdentityAndGroup",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
    ],
  },
  {
    title: "查核条件管理",  
    path: "/conditionManage",
    icon: "appstore",
    roles:["admin","editor","guest","group-leader","company-manager"],
    children: [
      {
        title: "条件维护",
        path: "/conditionManage/condition",
        roles:["admin","editor","guest","group-leader","company-manager"]  //conditionAndGroupIdentity
      },
      {
        title: "条件和单位分类",
        path: "/conditionManage/conditionAndGroupIdentity/conditionAndGroupIdentity",
        roles:["admin","editor","guest","group-leader","company-manager"]  //conditionAndGroupIdentity
      }
    ],
  },
  {
    title: "查核要点管理",
    path: "/checkPointManage",
    icon: "area-chart",
    roles:["admin","editor","guest","group-leader","company-manager"],
    children: [
      {
        title: "要点维护",
        path: "/checkPointManage/pointManage/pointManage",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      // {
      //   title: "查核项管理",
      //   path: "/checkPointManage/checkItem/checkItem",
      //   roles:["admin","editor","guest","group-leader","company-manager"]
      // },
      {
        title: "要点与单位",
        path: "/checkPointManage/pointAndGroup/pointAndGroup",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "要点与查核项",
        path: "/checkPointManage/checkPointAndCheckItem/checkPointAndCheckItem",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "要点与查核组",
        path: "/checkPointManage/pointAndCheckGroup/pointAndCheckGroup",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "要点与条文条款",
        path: "/checkPointManage/pointAndProvisions/pointAndProvisions",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
    ],
  },
  {
    title: "查核组管理",
    path: "/checkGroupManage",
    icon: "cluster",
    roles:["admin","editor","guest","group-leader","company-manager"],
    children: [
      {
        title: "查核组维护",
        path: "/checkGroupManage/checkGroupManage",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "查核方式维护",
        path: "/checkGroupManage/checkTypeManage",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
    ],
  },
  {
    title: "查核项管理",
    path: "/checkItemManage",
    icon: "file-excel",
    roles:["admin","editor","guest","group-leader","company-manager"],
    children: [
      {
        title: "查核项管理",
        path: "/checkItemManage/checkItem/checkItem",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
      {
        title: "查核结果弹窗列表管理",
        path: "/checkItemManage/checkItemResultSelector/checkItemResultSelector",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
    ],
  },
  {
    title: "条文条款管理",
    path: "/provisionsManage",
    icon: "file-excel",
    roles:["admin","editor","guest","group-leader","company-manager"],
    children: [
      {
        title: "条文条款维护",
        path: "/provisionsManage/provisions",
        roles:["admin","editor","guest","group-leader","company-manager"]
      },
    ],
  },
];
export default menuList;
