Merge branch 'master' of http://119.91.43.128:3001/sheng/mes-ui-d2
This commit is contained in:
@@ -13,6 +13,66 @@ export default {
|
||||
name: `${pre}index`,
|
||||
meta: { ...meta, title: '质量管理', root: '/quality_control' },
|
||||
component: _import('system/function/module-index')
|
||||
},
|
||||
{
|
||||
path: 'first_inspection/category',
|
||||
name: `${pre}process-control-inspection-type-management`,
|
||||
meta: { ...meta, cache: true, title: '检验类别管理' },
|
||||
component: _import('quality-management/process-control/inspection-type-management')
|
||||
},
|
||||
{
|
||||
path: 'first_inspection/setting',
|
||||
name: `${pre}process-control-first-article-inspection-configuration`,
|
||||
meta: { ...meta, cache: true, title: '首巡检项目配置' },
|
||||
component: _import('quality-management/process-control/first-article-inspection-configuration')
|
||||
},
|
||||
{
|
||||
path: 'first_inspection/input',
|
||||
name: `${pre}process-control-first-article-inspection-records`,
|
||||
meta: { ...meta, cache: true, title: '首巡检录入' },
|
||||
component: _import('quality-management/process-control/first-article-inspection-records')
|
||||
},
|
||||
{
|
||||
path: 'first_inspection/report',
|
||||
name: `${pre}process-control-first-article-inspection-reports`,
|
||||
meta: { ...meta, cache: true, title: '首巡检报表' },
|
||||
component: _import('quality-management/process-control/first-article-inspection-reports')
|
||||
},
|
||||
{
|
||||
path: 'xqc/inspection_order_manage',
|
||||
name: `${pre}inspection-management-inspection-orders`,
|
||||
meta: { ...meta, cache: true, title: '检验单管理' },
|
||||
component: _import('quality-management/inspection-management/inspection-orders')
|
||||
},
|
||||
{
|
||||
path: 'xqc/inspection_standard',
|
||||
name: `${pre}inspection-management-inspection-standards`,
|
||||
meta: { ...meta, cache: true, title: '检验标准' },
|
||||
component: _import('quality-management/inspection-management/inspection-standards')
|
||||
},
|
||||
{
|
||||
path: 'xqc/aql_config',
|
||||
name: `${pre}inspection-management-aql-standards`,
|
||||
meta: { ...meta, cache: true, title: '接收质量限' },
|
||||
component: _import('quality-management/inspection-management/aql-standards')
|
||||
},
|
||||
{
|
||||
path: 'xqc/inspection_plan',
|
||||
name: `${pre}inspection-management-inspection-plans`,
|
||||
meta: { ...meta, cache: true, title: '检测方案维护' },
|
||||
component: _import('quality-management/inspection-management/inspection-plans')
|
||||
},
|
||||
{
|
||||
path: 'xqc/inspection_item',
|
||||
name: `${pre}inspection-management-inspection-items`,
|
||||
meta: { ...meta, cache: true, title: '检验项目' },
|
||||
component: _import('quality-management/inspection-management/inspection-items')
|
||||
},
|
||||
{
|
||||
path: 'xqc/sampling_plan',
|
||||
name: `${pre}inspection-management-sampling-plans`,
|
||||
meta: { ...meta, cache: true, title: '抽样方案配置' },
|
||||
component: _import('quality-management/inspection-management/sampling-plans')
|
||||
}
|
||||
])('quality_control-')
|
||||
}
|
||||
|
||||
114
src/router/modules/spc-quality-management.js
Normal file
114
src/router/modules/spc-quality-management.js
Normal file
@@ -0,0 +1,114 @@
|
||||
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')
|
||||
},
|
||||
{
|
||||
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')
|
||||
},
|
||||
{
|
||||
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')
|
||||
},
|
||||
{
|
||||
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')
|
||||
},
|
||||
{
|
||||
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')
|
||||
},
|
||||
{
|
||||
path: 'chart/EWMA',
|
||||
name: `${pre}spc-variable-charts-ewma`,
|
||||
meta: { ...meta, cache: true, title: 'EWMA' },
|
||||
component: _import('quality-management/spc-variable-charts/ewma')
|
||||
},
|
||||
{
|
||||
path: 'chart/CUSUM',
|
||||
name: `${pre}spc-variable-charts-cusum`,
|
||||
meta: { ...meta, cache: true, title: 'CUSUM' },
|
||||
component: _import('quality-management/spc-variable-charts/cusum')
|
||||
},
|
||||
{
|
||||
path: 'chart/MA',
|
||||
name: `${pre}spc-variable-charts-ma`,
|
||||
meta: { ...meta, cache: true, title: 'MA' },
|
||||
component: _import('quality-management/spc-variable-charts/ma')
|
||||
},
|
||||
{
|
||||
path: 'chart/MAMR',
|
||||
name: `${pre}spc-variable-charts-mamr`,
|
||||
meta: { ...meta, cache: true, title: 'MAMR' },
|
||||
component: _import('quality-management/spc-variable-charts/mamr')
|
||||
},
|
||||
{
|
||||
path: 'chart/MAMS',
|
||||
name: `${pre}spc-variable-charts-mams`,
|
||||
meta: { ...meta, cache: true, title: 'MAMS' },
|
||||
component: _import('quality-management/spc-variable-charts/mams')
|
||||
},
|
||||
{
|
||||
path: 'chart/Cpk',
|
||||
name: `${pre}spc-variable-charts-cpk`,
|
||||
meta: { ...meta, cache: true, title: 'CPK' },
|
||||
component: _import('quality-management/spc-variable-charts/cpk')
|
||||
},
|
||||
{
|
||||
path: 'chart/DPMO',
|
||||
name: `${pre}spc-attribute-charts-dpmo`,
|
||||
meta: { ...meta, cache: true, title: 'DPMO' },
|
||||
component: _import('quality-management/spc-attribute-charts/dpmo')
|
||||
},
|
||||
{
|
||||
path: 'chart/PChart',
|
||||
name: `${pre}spc-attribute-charts-pchart`,
|
||||
meta: { ...meta, cache: true, title: 'PChart' },
|
||||
component: _import('quality-management/spc-attribute-charts/pchart')
|
||||
},
|
||||
{
|
||||
path: 'chart/NPChart',
|
||||
name: `${pre}spc-attribute-charts-npchart`,
|
||||
meta: { ...meta, cache: true, title: 'NPChart' },
|
||||
component: _import('quality-management/spc-attribute-charts/npchart')
|
||||
},
|
||||
{
|
||||
path: 'chart/CChart',
|
||||
name: `${pre}spc-attribute-charts-cchart`,
|
||||
meta: { ...meta, cache: true, title: 'CChart' },
|
||||
component: _import('quality-management/spc-attribute-charts/cchart')
|
||||
},
|
||||
{
|
||||
path: 'chart/UChart',
|
||||
name: `${pre}spc-attribute-charts-uchart`,
|
||||
meta: { ...meta, cache: true, title: 'UChart' },
|
||||
component: _import('quality-management/spc-attribute-charts/uchart')
|
||||
}
|
||||
])('spc-')
|
||||
}
|
||||
@@ -5,6 +5,7 @@ import planningProduction from './modules/planning-production'
|
||||
import dataPlatform from './modules/data-platform'
|
||||
import systemAdministration from './modules/system-administration'
|
||||
import equipmentManagement from './modules/equipment-management'
|
||||
import spcQualityManagement from './modules/spc-quality-management'
|
||||
|
||||
// 由于懒加载页面太多的话会造成webpack热更新太慢,所以开发环境不使用懒加载,只有生产环境使用懒加载
|
||||
const _import = require('@/libs/util.import.' + process.env.NODE_ENV)
|
||||
@@ -59,7 +60,8 @@ const frameIn = [
|
||||
planningProduction,
|
||||
dataPlatform,
|
||||
systemAdministration,
|
||||
equipmentManagement
|
||||
equipmentManagement,
|
||||
spcQualityManagement
|
||||
]
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user