routes.js 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. import Home from '../views/Home/Home.vue'
  2. /* 首页 */
  3. import index from '@/views/index/Index.vue'
  4. /* 定点屠宰智能管控 */
  5. import firmBuy from '@/views/slaughterManagment/firmBuy.vue'
  6. import inButcherHurdle from '@/views/slaughterManagment/inButcherHurdle.vue'
  7. import reportQuarantine from '@/views/slaughterManagment/reportQuarantine.vue'
  8. import regisSlaughter from '@/views/slaughterManagment/regisSlaughter.vue'
  9. import slaughterWeight from '@/views/slaughterManagment/slaughterWeight.vue'
  10. import inStore from '@/views/slaughterManagment/inStore.vue'
  11. import outStore from '@/views/slaughterManagment/outStore.vue'
  12. import drainageAcid from '@/views/slaughterManagment/drainageAcid.vue'
  13. import segmentation from '@/views/slaughterManagment/segmentation.vue'
  14. import splitBatch from '@/views/slaughterManagment/splitBatch.vue'
  15. import costAccounting from '@/views/slaughterManagment/costAccounting.vue'
  16. /* 销售管理 */
  17. import client from '@/views/sellManagement/client.vue'
  18. import price from '@/views/sellManagement/price.vue'
  19. import sellRegister from '@/views/sellManagement/sellRegister.vue'
  20. import directSell from '@/views/sellManagement/directSell.vue'
  21. import carcassSell from '@/views/sellManagement/carcassSell.vue'
  22. import splitSell from '@/views/sellManagement/splitSell.vue'
  23. import elseSell from '@/views/sellManagement/elseSell.vue'
  24. /* 产品制作智能监控 */
  25. import productInfo from '@/views/productManagement/productInfo.vue'
  26. import splitLog from '@/views/productManagement/splitLog.vue'
  27. import sheepskinLog from '@/views/productManagement/sheepskinLog.vue'
  28. import goatBloodLog from '@/views/productManagement/goatBloodLog.vue'
  29. import goatHasletLog from '@/views/productManagement/goatHasletLog.vue'
  30. /* 鲜肉储运智能管控 */
  31. import dispatching from '@/views/storeTransportation/dispatching.vue'
  32. import transportation from '@/views/storeTransportation/transportation.vue'
  33. import shopStore from '@/views/storeTransportation/shopStore.vue'
  34. import productQuery from '@/views/storeTransportation/productQuery.vue'
  35. /* 模板 */
  36. import Aa from '../views/template/Aa.vue'
  37. import Ab from '../views/template/Ab.vue'
  38. import Ac from '../views/template/Ac.vue'
  39. import Ad from '../views/template/Ad.vue'
  40. import Ae from '../views/template/Ae.vue'
  41. import Af from '../views/template/Af.vue'
  42. export default [
  43. {
  44. path: '/home',
  45. component: Home,
  46. children: [
  47. {
  48. path: 'index',
  49. name: 'index',
  50. component: index
  51. },
  52. // 定点屠宰智能管控
  53. {
  54. path: 'firmBuy',
  55. name: 'firmBuy',
  56. component: firmBuy
  57. },
  58. {
  59. path: 'inButcherHurdle',
  60. name: 'inButcherHurdle',
  61. component: inButcherHurdle
  62. },
  63. {
  64. path: 'reportQuarantine',
  65. name: 'reportQuarantine',
  66. component: reportQuarantine
  67. },
  68. {
  69. path: 'regisSlaughter',
  70. name: 'regisSlaughter',
  71. component: regisSlaughter
  72. },
  73. {
  74. path: 'slaughterWeight',
  75. name: 'slaughterWeight',
  76. component: slaughterWeight
  77. },
  78. {
  79. path: 'inStore',
  80. name: 'inStore',
  81. component: inStore
  82. },
  83. {
  84. path: 'outStore',
  85. name: 'outStore',
  86. component: outStore
  87. },
  88. {
  89. path: 'segmentation',
  90. name: 'segmentation',
  91. component: segmentation
  92. },
  93. {
  94. path: 'splitBatch',
  95. name: 'splitBatch',
  96. component: splitBatch
  97. },
  98. {
  99. path: 'costAccounting',
  100. name: 'costAccounting',
  101. component: costAccounting
  102. },
  103. /* 销售管理 */
  104. {
  105. path: 'client',
  106. name: 'client',
  107. component: client
  108. },
  109. {
  110. path: 'price',
  111. name: 'price',
  112. component: price
  113. },
  114. {
  115. path: 'sellRegister',
  116. name: 'sellRegister',
  117. component: sellRegister
  118. },
  119. {
  120. path: 'directSell',
  121. name: 'directSell',
  122. component: directSell
  123. },
  124. {
  125. path: 'carcassSell',
  126. name: 'carcassSell',
  127. component: carcassSell
  128. },
  129. {
  130. path: 'splitSell',
  131. name: 'splitSell',
  132. component: splitSell
  133. },
  134. {
  135. path: 'elseSell',
  136. name: 'elseSell',
  137. component: elseSell
  138. },
  139. {
  140. path: 'drainageAcid',
  141. name: 'drainageAcid',
  142. component: drainageAcid
  143. },
  144. /* 产品制作智能监控 */
  145. {
  146. path: 'productInfo',
  147. name: 'productInfo',
  148. component: productInfo
  149. },
  150. {
  151. path: 'splitLog',
  152. name: 'splitLog',
  153. component: splitLog
  154. },
  155. {
  156. path: 'sheepskinLog',
  157. name: 'sheepskinLog',
  158. component: sheepskinLog
  159. },
  160. {
  161. path: 'goatBloodLog',
  162. name: 'goatBloodLog',
  163. component: goatBloodLog
  164. },
  165. {
  166. path: 'goatHasletLog',
  167. name: 'goatHasletLog',
  168. component: goatHasletLog
  169. },
  170. {
  171. path: 'dispatching',
  172. name: 'dispatching',
  173. component: dispatching
  174. },
  175. {
  176. path: 'transportation',
  177. name: 'transportation',
  178. component: transportation
  179. },
  180. {
  181. path: 'shopStore',
  182. name: 'shopStore',
  183. component: shopStore
  184. },
  185. {
  186. path: 'productQuery',
  187. name: 'productQuery',
  188. component: productQuery
  189. },
  190. // 模板
  191. {
  192. path: 'aa',
  193. name: 'aa',
  194. component: Aa
  195. },
  196. {
  197. path: 'ab',
  198. name: 'ab',
  199. component: Ab
  200. },
  201. {
  202. path: 'ac',
  203. name: 'ac',
  204. component: Ac
  205. },
  206. {
  207. path: 'ad',
  208. name: 'ad',
  209. component: Ad
  210. },
  211. {
  212. path: 'ae',
  213. name: 'ae',
  214. component: Ae
  215. },
  216. {
  217. path: 'af',
  218. name: 'af',
  219. component: Af
  220. }
  221. ]
  222. },
  223. ]