|
@@ -1,21 +1,231 @@
|
|
import Home from '../views/Home/Home.vue'
|
|
import Home from '../views/Home/Home.vue'
|
|
|
|
|
|
-/* 基本信息 */
|
|
|
|
-import firmInfo from '@/views/basicInfo/firmInfo.vue'
|
|
|
|
-
|
|
|
|
|
|
|
|
export default [
|
|
export default [
|
|
{
|
|
{
|
|
path: '/home',
|
|
path: '/home',
|
|
component: Home,
|
|
component: Home,
|
|
children: [
|
|
children: [
|
|
- /* 档案信息 */
|
|
|
|
|
|
+ /* 基本信息 */
|
|
{
|
|
{
|
|
path: 'firmInfo',
|
|
path: 'firmInfo',
|
|
name: 'firmInfo',
|
|
name: 'firmInfo',
|
|
- component: firmInfo
|
|
|
|
|
|
+ component: () => import('@/views/basicInfo/firmInfo.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'herdsmanInfo',
|
|
|
|
+ name: 'herdsmanInfo',
|
|
|
|
+ component: () => import('@/views/basicInfo/herdsmanInfo.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'vehicle',
|
|
|
|
+ name: 'vehicle',
|
|
|
|
+ component: () => import('@/views/basicInfo/vehicle.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'coldCloset',
|
|
|
|
+ name: 'coldCloset',
|
|
|
|
+ component: () => import('@/views/basicInfo/coldCloset.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'client',
|
|
|
|
+ name: 'client',
|
|
|
|
+ component: () => import('@/views/basicInfo/client.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'area',
|
|
|
|
+ name: 'area',
|
|
|
|
+ component: () => import('@/views/basicInfo/area.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'staff',
|
|
|
|
+ name: 'staff',
|
|
|
|
+ component: () => import('@/views/basicInfo/staff.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 羊只收购 */
|
|
|
|
+ {
|
|
|
|
+ path: 'buyBatch',
|
|
|
|
+ name: 'buyBatch',
|
|
|
|
+ component: () => import('@/views/buySheep/buyBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'buySheepInfo',
|
|
|
|
+ name: 'buySheepInfo',
|
|
|
|
+ component: () => import('@/views/buySheep/buySheepInfo.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 运输信息 */
|
|
|
|
+ {
|
|
|
|
+ path: 'transportBatch',
|
|
|
|
+ name: 'transportBatch',
|
|
|
|
+ component: () => import('@/views/transportInfo/transportBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'transportSheepInfo',
|
|
|
|
+ name: 'transportSheepInfo',
|
|
|
|
+ component: () => import('@/views/transportInfo/transportSheepInfo.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 羊只入栏 */
|
|
|
|
+ {
|
|
|
|
+ path: 'enterBatch',
|
|
|
|
+ name: 'enterBatch',
|
|
|
|
+ component: () => import('@/views/sheepEnter/enterBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'sheepEnter',
|
|
|
|
+ name: 'sheepEnter',
|
|
|
|
+ component: () => import('@/views/sheepEnter/sheepEnter.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 羊只检疫 */
|
|
|
|
+ {
|
|
|
|
+ path: 'quarantineBatch',
|
|
|
|
+ name: 'quarantineBatch',
|
|
|
|
+ component: () => import('@/views/sheepQuarantine/quarantineBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'quarantineSheep',
|
|
|
|
+ name: 'quarantineSheep',
|
|
|
|
+ component: () => import('@/views/sheepQuarantine/quarantineSheep.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 损失管理 */
|
|
|
|
+ {
|
|
|
|
+ path: 'loss',
|
|
|
|
+ name: 'loss',
|
|
|
|
+ component: () => import('@/views/loss/loss.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 屠宰管理 */
|
|
|
|
+ {
|
|
|
|
+ path: 'butcherBatch',
|
|
|
|
+ name: 'butcherBatch',
|
|
|
|
+ component: () => import('@/views/butcher/butcherBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'butcherSheep',
|
|
|
|
+ name: 'butcherSheep',
|
|
|
|
+ component: () => import('@/views/butcher/butcherSheep.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 排酸入库 */
|
|
|
|
+ {
|
|
|
|
+ path: 'wipeBatch',
|
|
|
|
+ name: 'wipeBatch',
|
|
|
|
+ component: () => import('@/views/wipeEnter/wipeBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'wipeSheep',
|
|
|
|
+ name: 'wipeSheep',
|
|
|
|
+ component: () => import('@/views/wipeEnter/wipeSheep.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 胴体分割 */
|
|
|
|
+ {
|
|
|
|
+ path: 'segmentationBatch',
|
|
|
|
+ name: 'segmentationBatch',
|
|
|
|
+ component: () => import('@/views/carcassSegmentation/segmentationBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'carcassSegmentation',
|
|
|
|
+ name: 'carcassSegmentation',
|
|
|
|
+ component: () => import('@/views/carcassSegmentation/carcassSegmentation.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 分割仓储 */
|
|
|
|
+ {
|
|
|
|
+ path: 'segmentationEnterBatch',
|
|
|
|
+ name: 'segmentationEnterBatch',
|
|
|
|
+ component: () => import('@/views/segmentation/segmentationEnterBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'segmentationEnter',
|
|
|
|
+ name: 'segmentationEnter',
|
|
|
|
+ component: () => import('@/views/segmentation/segmentationEnter.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'segmentationOuterBatch',
|
|
|
|
+ name: 'segmentationOuterBatch',
|
|
|
|
+ component: () => import('@/views/segmentation/segmentationOuterBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'segmentationOuter',
|
|
|
|
+ name: 'segmentationOuter',
|
|
|
|
+ component: () => import('@/views/segmentation/segmentationOuter.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 肉丁加工 */
|
|
|
|
+ {
|
|
|
|
+ path: 'dicedMeatBatch',
|
|
|
|
+ name: 'dicedMeatBatch',
|
|
|
|
+ component: () => import('@/views/dicedMeat/dicedMeatBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'dicedMeatEnterBatch',
|
|
|
|
+ name: 'dicedMeatEnterBatch',
|
|
|
|
+ component: () => import('@/views/dicedMeat/dicedMeatEnterBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'dicedMeatEnter',
|
|
|
|
+ name: 'dicedMeatEnter',
|
|
|
|
+ component: () => import('@/views/dicedMeat/dicedMeatEnter.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'dicedMeatOuterBatch',
|
|
|
|
+ name: 'dicedMeatOuterBatch',
|
|
|
|
+ component: () => import('@/views/dicedMeat/dicedMeatOuterBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'dicedMeatOuter',
|
|
|
|
+ name: 'dicedMeatOuter',
|
|
|
|
+ component: () => import('@/views/dicedMeat/dicedMeatOuter.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 产品打包 */
|
|
|
|
+ {
|
|
|
|
+ path: 'packBatch',
|
|
|
|
+ name: 'packBatch',
|
|
|
|
+ component: () => import('@/views/productPack/packBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'productPack',
|
|
|
|
+ name: 'productPack',
|
|
|
|
+ component: () => import('@/views/productPack/productPack.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 成品仓储 */
|
|
|
|
+ {
|
|
|
|
+ path: 'finishedProductBatch',
|
|
|
|
+ name: 'finishedProductBatch',
|
|
|
|
+ component: () => import('@/views/finishedProduct/finishedProductBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'finishedProduct',
|
|
|
|
+ name: 'finishedProduct',
|
|
|
|
+ component: () => import('@/views/finishedProduct/finishedProduct.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'finishedProductOuterBatch',
|
|
|
|
+ name: 'finishedProductOuterBatch',
|
|
|
|
+ component: () => import('@/views/finishedProduct/finishedProductOuterBatch.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'finishedProductOuter',
|
|
|
|
+ name: 'finishedProductOuter',
|
|
|
|
+ component: () => import('@/views/finishedProduct/finishedProductOuter.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 成品运输 */
|
|
|
|
+ {
|
|
|
|
+ path: 'finishedProductTransportBatch',
|
|
|
|
+ name: 'finishedProductTransportBatch',
|
|
|
|
+ component: () => import('@/views/finishedProductTransport/finishedProductTransportBatch.vue')
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ {
|
|
|
|
+ path: 'finishedProductTransport',
|
|
|
|
+ name: 'finishedProductTransport',
|
|
|
|
+ component: () => import('@/views/finishedProductTransport/finishedProductTransport.vue')
|
|
|
|
+ },
|
|
|
|
+ /* 销售管理 */
|
|
|
|
+ {
|
|
|
|
+ path: 'sellOrder',
|
|
|
|
+ name: 'sellOrder',
|
|
|
|
+ component: () => import('@/views/sell/sellOrder.vue')
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'orderFinishedProduct',
|
|
|
|
+ name: 'orderFinishedProduct',
|
|
|
|
+ component: () => import('@/views/sell/orderFinishedProduct.vue')
|
|
|
|
+ }
|
|
]
|
|
]
|
|
},
|
|
},
|
|
]
|
|
]
|