Files
mes-ui-d2/src/router/modules/planning-production.js

61 lines
2.2 KiB
JavaScript
Raw Normal View History

import layoutHeaderAside from '@/layout/header-aside'
const meta = { auth: true }
const _import = require('@/libs/util.import.' + process.env.NODE_ENV)
export default {
path: '/planning_production',
component: layoutHeaderAside,
children: (pre => [
{
path: 'index',
name: `${pre}index`,
meta: { ...meta, title: '计划与生产', root: '/planning_production' },
component: _import('system/function/module-index')
},
{
path: 'production_batch_management/batch',
name: `${pre}production_batch_management-batch`,
meta: { ...meta, cache: true, title: '批次列表' },
component: _import('planning-production/batch-management/batch-list')
},
{
path: 'production_batch_management/batch_tray',
name: `${pre}production_batch_management-batch_tray`,
meta: { ...meta, cache: true, title: '批次托盘' },
component: _import('planning-production/batch-management/tray-tracking')
},
{
path: 'production_batch_management/bad',
name: `${pre}production_batch_management-bad`,
meta: { ...meta, cache: true, title: '生产批次不良报表' },
component: _import('planning-production/batch-management/batch-defect-report')
},
{
path: 'produce/report/pin_check',
name: `${pre}report-pin_check`,
meta: { ...meta, cache: true, title: '预警中心' },
component: _import('planning-production/alert-center')
},
{
path: 'produce/monitor/tray_manage',
name: `${pre}monitor-tray_manage`,
meta: { ...meta, cache: true, title: '托盘管理' },
component: _import('planning-production/production-monitoring/tray-management')
},
{
path: 'produce/monitor/device',
name: `${pre}monitor-device`,
meta: { ...meta, cache: true, title: '设备监控' },
component: _import('planning-production/production-monitoring/equipment-monitoring')
},
{
path: 'produce/monitor/change_battery_process',
name: `${pre}monitor-change_battery_process`,
meta: { ...meta, cache: true, title: '电池工序管理' },
component: _import('planning-production/production-monitoring/process-execution')
}
])('planning_production-')
}