123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- export const menuData = [
- // {
- // optionName: "首页",
- // iconClassName: "el-icon-s-home",
- // routerName: "Index",
- // index: '-1',
- // disabled: false
- // },
- {
- optionName: "档案信息",
- iconClassName: "el-icon-setting",
- index: '0',
- disabled: false, // 是否禁用
- childList: [
- {
- optionName: '企业信息',
- index: '0-1',
- routerName: "firmInfo"
- },
- {
- optionName: '牧场信息',
- index: '0-2',
- routerName: "pastureInfo"
- },
- {
- optionName: '栋舍信息',
- index: '0-3',
- routerName: "areaInfo"
- },
- {
- optionName: '员工信息',
- index: '0-4',
- routerName: "workerInfo"
- }
- ]
- },
- {
- optionName: "繁殖管理",
- iconClassName: "el-icon-setting",
- index: '1',
- disabled: false, // 是否禁用
- childList: [
- {
- optionName: '种羊档案',
- index: '1-1',
- routerName: "seedSheepFile"
- },
- {
- optionName: '采精记录',
- index: '1-2',
- routerName: "collectSeedLog"
- },
- {
- optionName: '查情记录',
- index: '1-3',
- routerName: "matingSuccLog"
- },
- {
- optionName: '配种记录',
- index: '1-4',
- routerName: "matingLog"
- },
- {
- optionName: '妊检记录',
- index: '1-5',
- routerName: "pregnancyTestLog"
- },
- {
- optionName: '分娩记录',
- index: '1-6',
- routerName: "parturitionLog"
- },
- {
- optionName: '断奶记录',
- index: '1-7',
- routerName: "weaningLog"
- },
- {
- optionName: '离场记录',
- index: '1-8',
- routerName: "offFieldLog"
- },
- {
- optionName: '转舍记录',
- index: '1-9',
- routerName: "shiftFieldLog"
- },
- ]
- },
- {
- optionName: "防疫管理",
- iconClassName: "el-icon-s-flag",
- index: '2',
- disabled: false,
- childList: [
- {
- optionName: '免疫程序',
- index: '2-1',
- routerName: "immuneProce"
- },
- {
- optionName: '免疫计划',
- index: '2-2',
- routerName: "immunePlan"
- },
- {
- optionName: '免疫记录',
- index: '2-3',
- routerName: "immuneLog"
- },
- {
- optionName: '疾病记录',
- index: '2-4',
- routerName: "illnessLog"
- },
- // {
- // optionName: '羊杂登记',
- // index: '2-5',
- // routerName: "goatHasletLog"
- // },
-
- ]
- },
- {
- optionName: "生产管理",
- iconClassName: "el-icon-s-flag",
- index: '3',
- disabled: false,
- childList: [
- {
- optionName: '批次管理',
- index: '3-1',
- routerName: "batch"
- },
- {
- optionName: '生产预警',
- index: '3-2',
- routerName: "productionWarn"
- },
- {
- optionName: '调拨转舍',
- index: '3-3',
- routerName: "shiftField"
- },
- {
- optionName: '死淘管理',
- index: '3-4',
- routerName: "dieWeedOut"
- },
- {
- optionName: '耳标管理',
- index: '3-5',
- routerName: "earTag"
- },
- {
- optionName: '精细饲喂',
- index: '3-6',
- routerName: "carefulFeed"
- },
- {
- optionName: '检测报告',
- index: '3-7',
- routerName: "examiningReport"
- }
-
- ]
- },
- {
- optionName: "无害化管理",
- iconClassName: "el-icon-s-flag",
- index: '4',
- disabled: false,
- childList: [
- {
- optionName: '无害化确认',
- index: '4-1',
- routerName: "harmlessConfirm"
- },
- {
- optionName: '智能提醒',
- index: '4-2',
- routerName: "intelligentHint"
- },
- ]
- },
- {
- optionName: "物料管理",
- iconClassName: "el-icon-s-flag",
- index: '5',
- disabled: false,
- childList: [
- {
- optionName: '基础信息',
- index: '5-1',
- routerName: "basicsInfo"
- },
- {
- optionName: '物料入库',
- index: '5-2',
- routerName: "materialInStore"
- },
- {
- optionName: '物料出库',
- index: '5-3',
- routerName: "materialOutStore"
- },
- {
- optionName: '库存盘点',
- index: '5-4',
- routerName: "storeList"
- },
- ]
- },
- {
- optionName: "育种管理",
- iconClassName: "el-icon-s-flag",
- index: '6',
- disabled: false,
- childList: [
- {
- optionName: '等级评定',
- index: '6-1',
- routerName: "gradeAssess"
- }
- ]
- },
- {
- optionName: "设备管理",
- iconClassName: "el-icon-s-flag",
- index: '7',
- disabled: false,
- childList: [
- {
- optionName: '环境检测',
- index: '7-1',
- routerName: "environmentMonitoring"
- },
- {
- optionName: '视频监控',
- index: '7-2',
- routerName: "video"
- },
- {
- optionName: '设备故障',
- index: '7-3',
- routerName: "deviceFault"
- },
- ]
- },
- {
- 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
- },
- "导航四"
- ]
|