routes.js 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. import Home from '../views/Home/Home.vue'
  2. /* 档案信息 */
  3. import firmInfo from '@/views/fileInfo/firmInfo.vue'
  4. import pastureInfo from '@/views/fileInfo/pastureInfo.vue'
  5. import areaInfo from '@/views/fileInfo/areaInfo.vue'
  6. import workerInfo from '@/views/fileInfo/workerInfo.vue'
  7. /* 繁殖管理 */
  8. import seedSheepFile from '@/views/breed/seedSheepFile.vue'
  9. import collectSeedLog from '@/views/breed/collectSeedLog.vue'
  10. import matingSuccLog from '@/views/breed/matingSuccLog.vue'
  11. import matingLog from '@/views/breed/matingLog.vue'
  12. import pregnancyTestLog from '@/views/breed/pregnancyTestLog.vue'
  13. import parturitionLog from '@/views/breed/parturitionLog.vue'
  14. import weaningLog from '@/views/breed/weaningLog.vue'
  15. import offFieldLog from '@/views/breed/offFieldLog.vue'
  16. import shiftFieldLog from '@/views/breed/shiftFieldLog.vue'
  17. /* 防疫管理 */
  18. import immuneProce from '@/views/antiepidemic/immuneProce.vue'
  19. import immunePlan from '@/views/antiepidemic/immunePlan.vue'
  20. import immuneLog from '@/views/antiepidemic/immuneLog.vue'
  21. import illnessLog from '@/views/antiepidemic/illnessLog.vue'
  22. /* 生产管理 */
  23. import batch from '@/views/production/batch.vue'
  24. import productionWarn from '@/views/production/productionWarn.vue'
  25. import shiftField from '@/views/production/shiftField.vue'
  26. import dieWeedOut from '@/views/production/dieWeedOut.vue'
  27. import earTag from '@/views/production/earTag.vue'
  28. import carefulFeed from '@/views/production/carefulFeed.vue'
  29. import examiningReport from '@/views/production/examiningReport.vue'
  30. /* 无害化管理 */
  31. import harmlessConfirm from '@/views/harmless/harmlessConfirm.vue'
  32. import intelligentHint from '@/views/harmless/intelligentHint.vue'
  33. /* 物料管理 */
  34. import basicsInfo from '@/views/material/basicsInfo.vue'
  35. import materialInStore from '@/views/material/materialInStore.vue'
  36. import materialOutStore from '@/views/material/materialOutStore.vue'
  37. import storeList from '@/views/material/storeList.vue'
  38. /* 育种管理 */
  39. import gradeAssess from '@/views/cultivateSeed/gradeAssess.vue'
  40. import virtualMating from '@/views/cultivateSeed/sub/virtualMating.vue'
  41. import clan from '@/views/cultivateSeed/sub/clan.vue'
  42. /* 设备管理 */
  43. import environmentMonitoring from '@/views/device/environmentMonitoring.vue'
  44. import video from '@/views/device/video.vue'
  45. import deviceFault from '@/views/device/deviceFault.vue'
  46. /* 统计分析 */
  47. import existSstatistic from '@/views/statisticAnalysis/existSstatistic.vue'
  48. import productData from '@/views/statisticAnalysis/productData.vue'
  49. /* 销售管理 */
  50. import sellLog from '@/views/sell/sellLog.vue'
  51. /* 模板 */
  52. import Aa from '../views/template/Aa.vue'
  53. import Ab from '../views/template/Ab.vue'
  54. import Ac from '../views/template/Ac.vue'
  55. import Ad from '../views/template/Ad.vue'
  56. import Ae from '../views/template/Ae.vue'
  57. import Af from '../views/template/Af.vue'
  58. export default [
  59. {
  60. path: '/home',
  61. component: Home,
  62. children: [
  63. /* 档案信息 */
  64. {
  65. path: 'firmInfo',
  66. name: 'firmInfo',
  67. component: firmInfo
  68. },
  69. {
  70. path: 'pastureInfo',
  71. name: 'pastureInfo',
  72. component: pastureInfo
  73. },
  74. {
  75. path: 'areaInfo',
  76. name: 'areaInfo',
  77. component: areaInfo
  78. },
  79. {
  80. path: 'workerInfo',
  81. name: 'workerInfo',
  82. component: workerInfo
  83. },
  84. /* 繁殖管理 */
  85. {
  86. path: 'seedSheepFile',
  87. name: 'seedSheepFile',
  88. component: seedSheepFile
  89. },
  90. {
  91. path: 'collectSeedLog',
  92. name: 'collectSeedLog',
  93. component: collectSeedLog
  94. },
  95. {
  96. path: 'matingSuccLog',
  97. name: 'matingSuccLog',
  98. component: matingSuccLog
  99. },
  100. {
  101. path: 'matingLog',
  102. name: 'matingLog',
  103. component: matingLog
  104. },
  105. {
  106. path: 'pregnancyTestLog',
  107. name: 'pregnancyTestLog',
  108. component: pregnancyTestLog
  109. },
  110. {
  111. path: 'parturitionLog',
  112. name: 'parturitionLog',
  113. component: parturitionLog
  114. },
  115. {
  116. path: 'weaningLog',
  117. name: 'weaningLog',
  118. component: weaningLog
  119. },
  120. {
  121. path: 'offFieldLog',
  122. name: 'offFieldLog',
  123. component: offFieldLog
  124. },
  125. {
  126. path: 'shiftFieldLog',
  127. name: 'shiftFieldLog',
  128. component: shiftFieldLog
  129. },
  130. /* 防疫管理 */
  131. {
  132. path: 'immuneProce',
  133. name: 'immuneProce',
  134. component: immuneProce
  135. },
  136. {
  137. path: 'immunePlan',
  138. name: 'immunePlan',
  139. component: immunePlan
  140. },
  141. {
  142. path: 'immuneLog',
  143. name: 'immuneLog',
  144. component: immuneLog
  145. },
  146. {
  147. path: 'illnessLog',
  148. name: 'illnessLog',
  149. component: illnessLog
  150. },
  151. /* 生产管理 */
  152. {
  153. path: 'batch',
  154. name: 'batch',
  155. component: batch
  156. },
  157. {
  158. path: 'productionWarn',
  159. name: 'productionWarn',
  160. component: productionWarn
  161. },
  162. {
  163. path: 'shiftField',
  164. name: 'shiftField',
  165. component: shiftField
  166. },
  167. {
  168. path: 'dieWeedOut',
  169. name: 'dieWeedOut',
  170. component: dieWeedOut
  171. },
  172. {
  173. path: 'earTag',
  174. name: 'earTag',
  175. component: earTag
  176. },
  177. {
  178. path: 'carefulFeed',
  179. name: 'carefulFeed',
  180. component: carefulFeed
  181. },
  182. {
  183. path: 'examiningReport',
  184. name: 'examiningReport',
  185. component: examiningReport
  186. },
  187. /* 无害化管理 */
  188. {
  189. path: 'harmlessConfirm',
  190. name: 'harmlessConfirm',
  191. component: harmlessConfirm
  192. },
  193. {
  194. path: 'intelligentHint',
  195. name: 'intelligentHint',
  196. component: intelligentHint
  197. },
  198. /* 物料管理 */
  199. {
  200. path: 'basicsInfo',
  201. name: 'basicsInfo',
  202. component: basicsInfo
  203. },
  204. {
  205. path: 'materialInStore',
  206. name: 'materialInStore',
  207. component: materialInStore
  208. },
  209. {
  210. path: 'materialOutStore',
  211. name: 'materialOutStore',
  212. component: materialOutStore
  213. },
  214. {
  215. path: 'storeList',
  216. name: 'storeList',
  217. component: storeList
  218. },
  219. /* 育种管理 */
  220. {
  221. path: 'gradeAssess',
  222. name: 'gradeAssess',
  223. component: gradeAssess
  224. },
  225. {
  226. path: 'virtualMating',
  227. name: 'virtualMating',
  228. component: virtualMating
  229. },
  230. {
  231. path: 'clan',
  232. name: 'clan',
  233. component: clan
  234. },
  235. /* 设备管理 */
  236. {
  237. path: 'environmentMonitoring',
  238. name: 'environmentMonitoring',
  239. component: environmentMonitoring
  240. },
  241. {
  242. path: 'video',
  243. name: 'video',
  244. component: video
  245. },
  246. {
  247. path: 'deviceFault',
  248. name: 'deviceFault',
  249. component: deviceFault
  250. },
  251. /* 销售管理 */
  252. {
  253. path: 'sellLog',
  254. name: 'sellLog',
  255. component: sellLog
  256. },
  257. /* 统计分析 */
  258. {
  259. path: 'existSstatistic',
  260. name: 'existSstatistic',
  261. component: existSstatistic
  262. },
  263. {
  264. path: 'productData',
  265. name: 'productData',
  266. component: productData
  267. },
  268. // 模板
  269. {
  270. path: 'aa',
  271. name: 'aa',
  272. component: Aa
  273. },
  274. {
  275. path: 'ab',
  276. name: 'ab',
  277. component: Ab
  278. },
  279. {
  280. path: 'ac',
  281. name: 'ac',
  282. component: Ac
  283. },
  284. {
  285. path: 'ad',
  286. name: 'ad',
  287. component: Ad
  288. },
  289. {
  290. path: 'ae',
  291. name: 'ae',
  292. component: Ae
  293. },
  294. {
  295. path: 'af',
  296. name: 'af',
  297. component: Af
  298. }
  299. ]
  300. },
  301. ]