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')
|
|
|
|
|
},
|
2026-06-02 11:25:26 +08:00
|
|
|
{
|
|
|
|
|
path: 'technology_model/technology_flow_workingsubclass',
|
|
|
|
|
name: `${pre}technology_model-technology_flow_workingsubclass`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '工序单元' },
|
|
|
|
|
component: _import('production-master-data/process-model/process-step')
|
|
|
|
|
},
|
2026-06-01 17:35:20 +08:00
|
|
|
{
|
|
|
|
|
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-06-02 11:25:26 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'matetial_model/matetial_category',
|
|
|
|
|
name: `${pre}material_model-material_category`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '物料类别列表' },
|
|
|
|
|
component: _import('production-master-data/material-model/material-category')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'matetial_model/matetial_management',
|
|
|
|
|
name: `${pre}material_model-material_master`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '物料信息管理' },
|
|
|
|
|
component: _import('production-master-data/material-model/material-master')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'matetial_model/unit',
|
|
|
|
|
name: `${pre}material_model-material_unit`,
|
|
|
|
|
meta: { ...meta, cache: true, title: '计量单位' },
|
|
|
|
|
component: _import('production-master-data/material-model/material-unit')
|
2026-05-27 18:37:37 +08:00
|
|
|
}
|
|
|
|
|
])('production_configuration-')
|
|
|
|
|
}
|