97 lines
3.8 KiB
JavaScript
97 lines
3.8 KiB
JavaScript
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 => [
|
|
{
|
|
path: 'index',
|
|
name: `${pre}index`,
|
|
meta: { ...meta, title: '生产配置', root: '/production_configuration' },
|
|
component: _import('system/function/module-index')
|
|
},
|
|
{
|
|
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')
|
|
},
|
|
{
|
|
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: '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')
|
|
},
|
|
{
|
|
path: 'technology_model/technology_flow',
|
|
name: `${pre}technology_model-technology_flow`,
|
|
meta: { ...meta, cache: true, title: '工艺流程' },
|
|
component: _import('production-master-data/process-model/process-routing')
|
|
},
|
|
{
|
|
path: 'technology_model/technology_flow/:flow_id/process',
|
|
name: `${pre}technology_model-technology_flow-process`,
|
|
meta: { ...meta, cache: false, title: '工艺详情' },
|
|
component: _import('production-master-data/process-model/process-routing-card')
|
|
},
|
|
{
|
|
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')
|
|
},
|
|
{
|
|
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/bom',
|
|
name: `${pre}material_model-bill_of_materials`,
|
|
meta: { ...meta, cache: true, title: 'BOM物料清单' },
|
|
component: _import('production-master-data/material-model/bill-of-materials')
|
|
},
|
|
{
|
|
path: 'matetial_model/unit',
|
|
name: `${pre}material_model-material_unit`,
|
|
meta: { ...meta, cache: true, title: '计量单位' },
|
|
component: _import('production-master-data/material-model/material-unit')
|
|
},
|
|
{
|
|
path: 'product_model/product_ng_info',
|
|
name: `${pre}product_model-product_ng_info`,
|
|
meta: { ...meta, cache: true, title: '异常不良管理' },
|
|
component: _import('production-master-data/product-model/product-ng-info')
|
|
},
|
|
{
|
|
path: 'spc_configuration/binding_scada_node',
|
|
name: `${pre}spc_configuration-data_collection_configuration`,
|
|
meta: { ...meta, cache: true, title: 'SPC采集配置' },
|
|
component: _import('production-master-data/spc-configuration/data-collection-configuration')
|
|
}
|
|
])('production_configuration-')
|
|
}
|