123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292 |
- export const menuData = [
- {
- optionName: "档案信息",
- iconClassName: "el-icon-files",
- disabled: false, // 是否禁用
- childList: [
- {
- optionName: '企业信息',
- routerName: "firmInfo"
- },
- {
- optionName: '牧场信息',
- routerName: "pastureInfo"
- },
- {
- optionName: '栋舍信息',
- routerName: "areaInfo"
- },
- {
- optionName: '员工信息',
- routerName: "workerInfo"
- },
- {
- optionName: 'test',
- routerName: "test"
- }
- ]
- },
- {
- optionName: "智能养殖",
- iconClassName: "el-icon-files",
- disabled: false, // 是否禁用
- childList: [
- {
- optionName: '零散信息',
- routerName: "breed_info"
- },
- {
- optionName: '种羊等级分布',
- routerName: "sheepDistribute"
- },
- {
- optionName: '牧场存栏',
- routerName: "sheepLivestock"
- },
- {
- optionName: '消息提醒',
- routerName: "warn"
- },
- {
- optionName: '谱系',
- routerName: "genealogy"
- },
- {
- optionName: '种羊年龄分布',
- routerName: "warn"
- },
- {
- optionName: '羔羊分布',
- routerName: "warn"
- },
- {
- optionName: '羊粪价格',
- routerName: "test"
- },
- {
- optionName: '种羊销量',
- routerName: "test"
- },
- {
- optionName: '牧场销售',
- routerName: "test"
- },
- {
- optionName: '温度湿度',
- routerName: "test"
- }
- ]
- },
- {
- optionName: "屠宰管控",
- iconClassName: "el-icon-files",
- disabled: false, // 是否禁用
- childList: [
- {
- optionName: '主要信息',
- routerName: "workerInfo"
- },
- {
- optionName: '企业采购',
- routerName: "firmInfo"
- },
- {
- optionName: '检疫合格率',
- routerName: "pastureInfo"
- },
- {
- optionName: '成本比例',
- routerName: "areaInfo"
- },
- {
- optionName: '产品库存',
- routerName: "workerInfo"
- },
- {
- optionName: '死淘数量',
- routerName: "test"
- },
- {
- optionName: '排酸损耗',
- routerName: "test"
- },
- {
- optionName: '销售统计',
- routerName: "test"
- },
- {
- optionName: '在场批次',
- routerName: "test"
- }
- ]
- },
- {
- optionName: "产品管控",
- iconClassName: "el-icon-files",
- disabled: false, // 是否禁用
- childList: [
- {
- optionName: '主要信息',
- routerName: "workerInfo"
- },
- {
- optionName: '羊皮价格',
- routerName: "firmInfo"
- },
- {
- optionName: '羊血价格',
- routerName: "pastureInfo"
- },
- {
- optionName: '羊杂销售额',
- routerName: "areaInfo"
- },
- {
- optionName: '仓库使用率',
- routerName: "workerInfo"
- },
- {
- optionName: '产品库存',
- routerName: "test"
- },
- {
- optionName: '出售量排行',
- routerName: "test"
- },
- {
- optionName: '客户购买排行',
- routerName: "test"
- },
- {
- optionName: '历史出库量',
- routerName: "test"
- },
- {
- optionName: '历史入库量',
- routerName: "test"
- },
- {
- optionName: '出库申请记录',
- routerName: "test"
- },
- {
- optionName: '价格',
- routerName: "test"
- }
- ]
- },
- {
- optionName: "鲜肉储运",
- iconClassName: "el-icon-files",
- disabled: false, // 是否禁用
- childList: [
- {
- optionName: '主要信息',
- routerName: "workerInfo"
- },
- {
- optionName: '胴体销售价',
- routerName: "firmInfo"
- },
- {
- optionName: '胴体销售金额',
- routerName: "pastureInfo"
- },
- {
- optionName: '季度销售额',
- routerName: "areaInfo"
- },
- {
- optionName: '累计销售金额',
- routerName: "workerInfo"
- },
- {
- optionName: '运输任务',
- routerName: "test"
- },
- {
- optionName: '销售利润分析',
- routerName: "workerInfo"
- },
- {
- optionName: '产品销售分析',
- routerName: "workerInfo"
- },
- {
- optionName: '地区销量排行',
- routerName: "workerInfo"
- },
- {
- optionName: '种羊销售价格',
- routerName: "workerInfo"
- },
- {
- optionName: '生产追溯',
- routerName: "workerInfo"
- }
- ]
- },
-
- ]
- // 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
- },
- "导航四"
- ]
|