routes.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // 登录
  2. const UserLogin = () => import('../login/UserLogin.vue');
  3. // 操作员界面
  4. const UserHome = () => import('../login/UserHome.vue');
  5. // 领料管理
  6. const StockRequisition = () => import('../stock/StockRequisition.vue');
  7. // 常用领料
  8. const RegularRequisition = () => import('../stock/RegularRequisition.vue');
  9. // 领料车
  10. const StockPickingCar = () => import('../stock/StockPickingCar.vue');
  11. // 拣货管理
  12. const OrderPicking = () => import('../stock-out/OrderPicking.vue');
  13. // 出库确认
  14. const OutboundConfirm = () => import('../stock-out/OutboundConfirm.vue');
  15. // 还料离开
  16. const ReturnedLeave = () => import('../stock-in/ReturnedLeave.vue');
  17. // AGV RFID识别
  18. const AgvRfidRecognition = () => import('../stock-out/AgvRfidRecognition.vue');
  19. // 入库确认
  20. const InConfirm = () => import('../stock-in/InConfirm.vue');
  21. // 还料区管理
  22. const ReturnManagement = () => import('../agv-process/ReturnManagement.vue');
  23. // 送料区管理
  24. const DeliveryManagement = () => import('../agv-process/DeliveryManagement.vue');
  25. // 成品入库
  26. const FinishProductIn = () => import('../finishProduct/FinishProductIn.vue');
  27. // 成品出库
  28. const FinishProductOut = () => import('../finishProduct/FinishProductOut.vue');
  29. // 指纹录入
  30. const FingerprintEnroll = () => import('../Fingerprint/FingerprintEnroll.vue');
  31. // 指纹登录
  32. const FingerprintLogin = () => import('../login/FingerprintLogin.vue');
  33. // 上架区
  34. const FeedingArea = () => import('../box/FeedingArea.vue');
  35. const routes = [
  36. { path: '/', redirect: '/login' },
  37. { path: '/login', component: UserLogin, meta: { title: '用户登录' } },
  38. { path: '/home', component: UserHome, meta: { title: '首页' } },
  39. { path: '/order-picking', component: OrderPicking, meta: { title: '拣货管理' } },
  40. { path: '/outbound-confirm', component: OutboundConfirm, meta: { title: '出库确认' } },
  41. { path: '/returned-leave', component: ReturnedLeave, meta: { title: '还料离开' } },
  42. { path: '/stock-picking-car', component: StockPickingCar, meta: { title: '领料车' } },
  43. { path: '/stock-requisition', component: StockRequisition, meta: { title: '领料管理' } },
  44. { path: '/regular-requisition', component: RegularRequisition, meta: { title: '常用领料' } },
  45. { path: '/agv-rfid-recognition', component: AgvRfidRecognition, meta: { title: 'AGV RFID识别' } },
  46. { path: '/in-confirm', component: InConfirm, meta: { title: '入库确认' } },
  47. { path: '/return-management', component: ReturnManagement, meta: { title: '还料区管理' } },
  48. { path: '/delivery-management', component: DeliveryManagement, meta: { title: '送料区管理' } },
  49. { path: '/finish-product-in', component: FinishProductIn, meta: { title: '成品入库' } },
  50. { path: '/finish-product-out', component: FinishProductOut, meta: { title: '成品出库管理' } },
  51. { path: '/fingerprint-enroll', component: FingerprintEnroll, meta: { title: '指纹录入' } },
  52. { path: '/fingerprint-login', component: FingerprintLogin, meta: { title: '指纹登录' } },
  53. { path: '/feeding-area', component: FeedingArea, meta: { title: '上架区' } },
  54. ];
  55. export default routes;