Files
mes-ui-d2/src/router/modules/production-master-data.js
sheng 3f546564cc
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled
feat(production-master-data): 新增工艺流程管理完整模块
- 添加工艺流程、流程卡工序的全套CRUD及复制接口
- 新增工艺流程列表页与流程卡详情页的路由和页面组件
- 补充产品、工序分类、工序子类的全量查询接口
- 优化弹窗表单组件,支持字段禁用与focus/blur/change事件回调
- 修复工序单元页面的国际化调用和权限配置问题
- 补充中英文多语言国际化文案
- 新增该模块的功能测试文档
2026-06-04 17:07:15 +08:00

91 lines
3.6 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/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-')
}