2026-06-22 19:27:43 +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: '/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:27:43 +08:00
|
|
|
}
|
|
|
|
|
])('spc-')
|
|
|
|
|
}
|