
export const menuData = [
    // {
    //     optionName: "首页",
    //     iconClassName: "el-icon-s-home",
    //     routerName: "Index",
    //     index: '-1',
    //     disabled: false
    // },
    {
        optionName: "定点屠宰智能管控",
        iconClassName: "el-icon-s-flag",
        index: '1',
        disabled: false, // 是否禁用
        childList: [
            {
                optionName: '企业采购',
                index: '1-1',
                routerName: "firmBuy"
            },
            {
                optionName: '入待宰栏',
                index: '1-2',
                routerName: "inButcherHurdle"
            },
            {
                optionName: '上报检疫',
                index: '1-3',
                routerName: "reportQuarantine"
            },
            {
                optionName: '入宰登记',
                index: '1-4',
                routerName: "regisSlaughter"
            },
            {
                optionName: '宰后称重',
                index: '1-5',
                routerName: "slaughterWeight"
            },
            {
                optionName: '入库管理',
                index: '1-6',
                routerName: "inStore"
            },
            {
                optionName: '出仓管理',
                index: '1-7',
                routerName: "outStore"
            },

            {
                optionName: '分割加工',
                index: '1-8',
                routerName: "segmentation"
            },
            {
                optionName: '排酸损耗',
                index: '1-9',
                routerName: "drainageAcid"
            },
            {
                optionName: '分割批次',
                index: '1-10',
                routerName: "splitBatch"
            },
            {
                optionName: '成本核算',
                index: '1-11',
                routerName: "costAccounting"
            }
        ]
    },
    {
        optionName: "销售管理",
        iconClassName: "el-icon-s-custom",
        index: '2',
        disabled: false,
        childList: [
            {
                optionName: '客户管理',
                index: '2-1',
                routerName: "client"
            },
            {
                optionName: '价格管理',
                index: '2-2',
                routerName: "price"
            },
            {
                optionName: '销售统计',
                index: '2-3',
                routerName: "sellRegister"
            },
            {
                optionName: '屠宰直销',
                index: '2-4',
                routerName: "directSell"
            },
            {
                optionName: '胴体销售',
                index: '2-5',
                routerName: "carcassSell"
            },
            {
                optionName: '分割销售',
                index: '2-6',
                routerName: "splitSell"
            },
            {
                optionName: '其他销售',
                index: '2-7',
                routerName: "elseSell"
            },
        ]
    },
    {
        optionName: "产品制作智能监控",
        iconClassName: "el-icon-ice-cream-square",
        index: '3',
        disabled: false,
        childList: [
            {
                optionName: '产品档案',
                index: '3-1',
                routerName: "productInfo"
            },
            {
                optionName: '分割登记',
                index: '3-2',
                routerName: "splitLog"
            },
            {
                optionName: '羊皮登记',
                index: '3-3',
                routerName: "sheepskinLog"
            },
            {
                optionName: '羊血登记',
                index: '3-4',
                routerName: "goatBloodLog"
            },
            {
                optionName: '羊杂登记',
                index: '3-5',
                routerName: "goatHasletLog"
            },
            
        ]
    },

    {
        optionName: "鲜肉储运智能管控",
        iconClassName: "el-icon-shopping-cart-1",
        index: '4',
        disabled: false,
        childList: [
            {
                optionName: '配送管理',
                index: '4-2',
                routerName: "dispatching"
            },
            {
                optionName: '运输管理',
                index: '4-3',
                routerName: "transportation"
            },
            {
                optionName: '门店管理',
                index: '4-4',
                routerName: "shopStore"
            },
            {
                optionName: '产品追溯',
                index: '4-5',
                routerName: "productQuery"
            },
        ]
    },
    {
        optionName: "开发用模板",
        iconClassName: "el-icon-menu",
        index: '100',
        disabled: false, // 是否禁用
        childList: [
            {
                optionName: '模板 1',
                index: '100-1',
                routerName: "aa"
            },
            {
                optionName: '普通表格',
                index: '100-2',
                routerName: "ab"
            },
            {
                optionName: '模板 3',
                index: '100-3',
                routerName: "ac"
            },
            {
                optionName: '模板 4',
                index: '100-4',
                routerName: "ad"
            },
            {
                optionName: '模板 5',
                index: '100-5',
                routerName: "ee"
            },
            {
                optionName: '模板 6',
                index: '100-6',
                routerName: "af"
            }

        ]
    },

]

// export default {menuData}




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

    "导航四"
]


