
export const menuData = [
    // 有子菜单 字菜单不分组的
    {
        optionName: "档案管理",
        iconClassName: "el-icon-setting",
        disabled: false, // 是否禁用
        childList: [
            {
                optionName: '企业信息',
                routerName: "aa"
            },
            {
                optionName: '牧场信息',
                routerName: "aa"
            },
            {
                optionName: '猪舍信息',
                routerName: "aa"
            },
            {
                optionName: '人员信息',
                routerName: "aa"
            }
            
        ]
    },
    
    {
        optionName: "群体管理",
        iconClassName: "el-icon-s-flag",
        disabled: false,
        childList: [ 
            {
                optionName: '群体档案',
                routerName: "GroupRecord"
            },
            {
                optionName: '健康分析',
                routerName: "aa"
            },
            {
                optionName: '转群记录',
                routerName: "aa"
            },
            {
                optionName: '群体盘点',
                routerName: "aa"
            }
        ]
    },
    // 无子菜单的
    {
        optionName: "个体管理",
        iconClassName: "el-icon-message",
        disabled: false,
        childList: [ 
            {
                optionName: '种猪档案',
                routerName: "aa"
            },
            {
                optionName: '个体追踪',
                routerName: "UnityTrace"
            }
            
            
        ]
    },
    {
        optionName: "系统配置",
        iconClassName: "el-icon-coordinate",
        disabled: false,
        childList: [ 
            {
                optionName: '设备配置',
                routerName: "aa"
            },
            {
                optionName: '软件设置',
                routerName: "aa"
            },
            {
                optionName: '角色设置',
                routerName: "aa"
            },
            {
                optionName: '权限管理',
                routerName: "aa"
            }
        ]
    },
    {
        optionName: "系统设置",
        iconClassName: "el-icon-monitor",
        disabled: false, // 是否禁用
        childList: [ 
            {
                optionName: '群体广播',
                routerName: "aa"
            },
            {
                optionName: '设备配置',
                routerName: "aa"
            },
            {
                optionName: '系统参数',
                routerName: "aa"
            },
            {
                optionName: '角色配置',
                routerName: "aa"
            },
            {
                optionName: '权限分配',
                routerName: "aa"
            }
        ]
    },
    {
        optionName: "开发用模板",
        iconClassName: "el-icon-menu",
        disabled: false, // 是否禁用
        childList: [ 
            {
                optionName: '模板 1',
                routerName: "aa"
            },
            {
                optionName: '普通表格',
                routerName: "ab"
            },
            {
                optionName: '模板 3',
                routerName: "ac"
            },
            {
                optionName: '模板 4',
                routerName: "ad"
            },
            {
                optionName: '模板 5',
                routerName: "ee"
            },
            {
                optionName: '模板 6',
                routerName: "af"
            }
            
        ]
    },
    
]

// export default {menuData}




/* 菜单配置 描述 */
const menuData描述 = [
    // 有子菜单 并且字菜单分组的
    {
        oneMenuName: "导航一", // 一级菜单名
        iconClassName: "aaa", // element-ui图标名
        childList: [ // 分组的
            {
                groupName: '组名一',
                list: [
                    {
                        optionName: '选项1',
                        routerName: "home"
                    },
                    {}
                ],
            },
            {
                groupName: '组名二',
                list: [
                    {
                        optionName: '选项1',
                        routerName: "home"
                    },
                    {}
                ],
            }
        ],
    },
    // 有子菜单 字菜单不分组的
    {
        oneMenuName: "导航二",
        iconClassName: "el-icon-menu",
        disabled: false, // 是否禁用
        childList: [ // 不分组的
            {
                optionName: '选项1',
                routerName: "home"
            },
            {}
        ]
    },
    // 无子菜单的
    {
        oneMenuName: "导航三",
        iconClassName: "el-icon-document",
        routerName: "home",
        disabled: false
    },
    
    "导航四"
]


