Files
mes-ui-d2/src/router/modules/planning-production.js
sheng 9863bf1113
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled
迁移物料监控模块
- 新增计划与生产物料监控 V2 页面

- 新增 WIP 物料监控接口、旧路径路由和中英文文案

- 更新迁移任务列表中的物料监控状态
2026-06-22 16:12:59 +08:00

73 lines
2.7 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: '/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: 'wip/wip_management/mock',
name: `${pre}wip-wip_management-mock`,
meta: { ...meta, cache: true, title: '物料监控' },
component: _import('planning-production/production-monitoring/material-monitoring')
},
{
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/tray_login',
name: `${pre}monitor-tray_login`,
meta: { ...meta, cache: true, title: '托盘登录' },
component: _import('planning-production/production-monitoring/tray-registration')
},
{
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-')
}