2026-05-27 18:37:37 +08:00
|
|
|
import layoutHeaderAside from '@/layout/header-aside'
|
|
|
|
|
|
|
|
|
|
const meta = { auth: true }
|
|
|
|
|
|
|
|
|
|
const _import = require('@/libs/util.import.' + process.env.NODE_ENV)
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
path: '/production_configuration',
|
|
|
|
|
component: layoutHeaderAside,
|
|
|
|
|
children: (pre => [
|
2026-05-28 15:47:19 +08:00
|
|
|
{
|
|
|
|
|
path: 'index',
|
|
|
|
|
name: `${pre}index`,
|
|
|
|
|
meta: { ...meta, title: '生产配置', root: '/production_configuration' },
|
|
|
|
|
component: _import('system/function/module-index')
|
|
|
|
|
},
|
2026-05-27 18:37:37 +08:00
|
|
|
{
|
|
|
|
|
path: 'factory_model/factory_area',
|
|
|
|
|
name: `${pre}factory_model-factory_area`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '工厂区域' },
|
|
|
|
|
component: _import('production-master-data/factory-model/factory-area')
|
2026-06-01 17:35:20 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'factory_model/factory_line',
|
|
|
|
|
name: `${pre}factory_model-factory_line`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '产线设置' },
|
|
|
|
|
component: _import('production-master-data/factory-model/production-line')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'technology_model/technology_flow_category',
|
|
|
|
|
name: `${pre}technology_model-technology_flow_category`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '工艺流程类别' },
|
|
|
|
|
component: _import('production-master-data/process-model/process-category')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'product_model/battery_model',
|
|
|
|
|
name: `${pre}product_management-product_list`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '产品列表' },
|
|
|
|
|
component: _import('production-master-data/product-management/product-list')
|
2026-05-27 18:37:37 +08:00
|
|
|
}
|
|
|
|
|
])('production_configuration-')
|
|
|
|
|
}
|