Files
mes-ui-d2/src/router/modules/spc-quality-management.js

73 lines
2.4 KiB
JavaScript
Raw Normal View History

import layoutHeaderAside from '@/layout/header-aside'
const meta = { auth: true }
const _import = require('@/libs/util.import.' + process.env.NODE_ENV)
export default {
path: '/spc',
component: layoutHeaderAside,
children: (pre => [
{
path: 'index',
name: `${pre}index`,
meta: { ...meta, title: 'SPC统计过程控制', root: '/spc' },
component: _import('system/function/module-index')
},
{
path: 'management',
name: `${pre}spc-control-spc-configuration`,
meta: { ...meta, cache: true, title: 'SPC渲染条件配置' },
component: _import('quality-management/spc-control/spc-configuration')
2026-06-22 19:28:05 +08:00
},
{
path: 'chart/XBar-R',
name: `${pre}spc-variable-charts-xbar-r`,
meta: { ...meta, cache: true, title: 'XBar-R' },
component: _import('quality-management/spc-variable-charts/xbar-r')
2026-06-22 19:28:28 +08:00
},
{
path: 'chart/XBar-S',
name: `${pre}spc-variable-charts-xbar-s`,
meta: { ...meta, cache: true, title: 'XBar-S' },
component: _import('quality-management/spc-variable-charts/xbar-s')
2026-06-22 19:28:49 +08:00
},
{
path: 'chart/I-MR',
name: `${pre}spc-variable-charts-i-mr`,
meta: { ...meta, cache: true, title: 'I-MR' },
component: _import('quality-management/spc-variable-charts/i-mr')
2026-06-22 19:29:10 +08:00
},
{
path: 'chart/Levey-Jennings',
name: `${pre}spc-variable-charts-levey-jennings`,
meta: { ...meta, cache: true, title: 'Levey-Jennings' },
component: _import('quality-management/spc-variable-charts/levey-jennings')
2026-06-22 19:29:32 +08:00
},
{
path: 'chart/EWMA',
name: `${pre}spc-variable-charts-ewma`,
meta: { ...meta, cache: true, title: 'EWMA' },
component: _import('quality-management/spc-variable-charts/ewma')
2026-06-22 19:29:53 +08:00
},
{
path: 'chart/CUSUM',
name: `${pre}spc-variable-charts-cusum`,
meta: { ...meta, cache: true, title: 'CUSUM' },
component: _import('quality-management/spc-variable-charts/cusum')
2026-06-22 19:30:15 +08:00
},
{
path: 'chart/MA',
name: `${pre}spc-variable-charts-ma`,
meta: { ...meta, cache: true, title: 'MA' },
component: _import('quality-management/spc-variable-charts/ma')
2026-06-22 19:30:36 +08:00
},
{
path: 'chart/MAMR',
name: `${pre}spc-variable-charts-mamr`,
meta: { ...meta, cache: true, title: 'MAMR' },
component: _import('quality-management/spc-variable-charts/mamr')
}
])('spc-')
}