mencCofig.js 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. export const menuData = [
  2. {
  3. optionName: "档案信息",
  4. iconClassName: "el-icon-files",
  5. disabled: false, // 是否禁用
  6. childList: [
  7. {
  8. optionName: '企业信息',
  9. routerName: "firmInfo"
  10. },
  11. {
  12. optionName: '牧场信息',
  13. routerName: "pastureInfo"
  14. },
  15. {
  16. optionName: '栋舍信息',
  17. routerName: "areaInfo"
  18. },
  19. {
  20. optionName: '员工信息',
  21. routerName: "workerInfo"
  22. },
  23. {
  24. optionName: 'test',
  25. routerName: "test"
  26. }
  27. ]
  28. },
  29. {
  30. optionName: "智能养殖",
  31. iconClassName: "el-icon-files",
  32. disabled: false, // 是否禁用
  33. childList: [
  34. {
  35. optionName: '零散信息',
  36. routerName: "breed_info"
  37. },
  38. {
  39. optionName: '种羊等级分布',
  40. routerName: "sheepDistribute"
  41. },
  42. {
  43. optionName: '牧场存栏',
  44. routerName: "sheepLivestock"
  45. },
  46. {
  47. optionName: '消息提醒',
  48. routerName: "warn"
  49. },
  50. {
  51. optionName: '谱系',
  52. routerName: "genealogy"
  53. },
  54. {
  55. optionName: '种羊年龄分布',
  56. routerName: "warn"
  57. },
  58. {
  59. optionName: '羔羊分布',
  60. routerName: "warn"
  61. },
  62. {
  63. optionName: '羊粪价格',
  64. routerName: "test"
  65. },
  66. {
  67. optionName: '种羊销量',
  68. routerName: "test"
  69. },
  70. {
  71. optionName: '牧场销售',
  72. routerName: "test"
  73. },
  74. {
  75. optionName: '温度湿度',
  76. routerName: "test"
  77. }
  78. ]
  79. },
  80. {
  81. optionName: "屠宰管控",
  82. iconClassName: "el-icon-files",
  83. disabled: false, // 是否禁用
  84. childList: [
  85. {
  86. optionName: '主要信息',
  87. routerName: "workerInfo"
  88. },
  89. {
  90. optionName: '企业采购',
  91. routerName: "firmInfo"
  92. },
  93. {
  94. optionName: '检疫合格率',
  95. routerName: "pastureInfo"
  96. },
  97. {
  98. optionName: '成本比例',
  99. routerName: "areaInfo"
  100. },
  101. {
  102. optionName: '产品库存',
  103. routerName: "workerInfo"
  104. },
  105. {
  106. optionName: '死淘数量',
  107. routerName: "test"
  108. },
  109. {
  110. optionName: '排酸损耗',
  111. routerName: "test"
  112. },
  113. {
  114. optionName: '销售统计',
  115. routerName: "test"
  116. },
  117. {
  118. optionName: '在场批次',
  119. routerName: "test"
  120. }
  121. ]
  122. },
  123. {
  124. optionName: "产品管控",
  125. iconClassName: "el-icon-files",
  126. disabled: false, // 是否禁用
  127. childList: [
  128. {
  129. optionName: '主要信息',
  130. routerName: "workerInfo"
  131. },
  132. {
  133. optionName: '羊皮价格',
  134. routerName: "firmInfo"
  135. },
  136. {
  137. optionName: '羊血价格',
  138. routerName: "pastureInfo"
  139. },
  140. {
  141. optionName: '羊杂销售额',
  142. routerName: "areaInfo"
  143. },
  144. {
  145. optionName: '仓库使用率',
  146. routerName: "workerInfo"
  147. },
  148. {
  149. optionName: '产品库存',
  150. routerName: "test"
  151. },
  152. {
  153. optionName: '出售量排行',
  154. routerName: "test"
  155. },
  156. {
  157. optionName: '客户购买排行',
  158. routerName: "test"
  159. },
  160. {
  161. optionName: '历史出库量',
  162. routerName: "test"
  163. },
  164. {
  165. optionName: '历史入库量',
  166. routerName: "test"
  167. },
  168. {
  169. optionName: '出库申请记录',
  170. routerName: "test"
  171. },
  172. {
  173. optionName: '价格',
  174. routerName: "test"
  175. }
  176. ]
  177. },
  178. {
  179. optionName: "鲜肉储运",
  180. iconClassName: "el-icon-files",
  181. disabled: false, // 是否禁用
  182. childList: [
  183. {
  184. optionName: '主要信息',
  185. routerName: "workerInfo"
  186. },
  187. {
  188. optionName: '胴体销售价',
  189. routerName: "firmInfo"
  190. },
  191. {
  192. optionName: '胴体销售金额',
  193. routerName: "pastureInfo"
  194. },
  195. {
  196. optionName: '季度销售额',
  197. routerName: "areaInfo"
  198. },
  199. {
  200. optionName: '累计销售金额',
  201. routerName: "workerInfo"
  202. },
  203. {
  204. optionName: '运输任务',
  205. routerName: "test"
  206. },
  207. {
  208. optionName: '销售利润分析',
  209. routerName: "workerInfo"
  210. },
  211. {
  212. optionName: '产品销售分析',
  213. routerName: "workerInfo"
  214. },
  215. {
  216. optionName: '地区销量排行',
  217. routerName: "workerInfo"
  218. },
  219. {
  220. optionName: '种羊销售价格',
  221. routerName: "workerInfo"
  222. },
  223. {
  224. optionName: '生产追溯',
  225. routerName: "workerInfo"
  226. }
  227. ]
  228. },
  229. ]
  230. // export default {menuData}
  231. /* 菜单配置 描述 */
  232. const menuData描述 = [
  233. // 有子菜单 并且字菜单分组的
  234. {
  235. oneMenuName: "导航一", // 一级菜单名
  236. iconClassName: "aaa", // element-ui图标名
  237. childList: [ // 分组的
  238. {
  239. groupName: '组名一',
  240. list: [
  241. {
  242. optionName: '选项1',
  243. routerName: "home"
  244. },
  245. {}
  246. ],
  247. },
  248. {
  249. groupName: '组名二',
  250. list: [
  251. {
  252. optionName: '选项1',
  253. routerName: "home"
  254. },
  255. {}
  256. ],
  257. }
  258. ],
  259. },
  260. // 有子菜单 字菜单不分组的
  261. {
  262. oneMenuName: "导航二",
  263. iconClassName: "el-icon-menu",
  264. disabled: false, // 是否禁用
  265. childList: [ // 不分组的
  266. {
  267. optionName: '选项1',
  268. routerName: "home"
  269. },
  270. {}
  271. ]
  272. },
  273. // 无子菜单的
  274. {
  275. oneMenuName: "导航三",
  276. iconClassName: "el-icon-document",
  277. routerName: "home",
  278. disabled: false
  279. },
  280. "导航四"
  281. ]