This commit is contained in:
2022-11-07 14:54:47 +08:00
commit 8cfe73aaef
1227 changed files with 194899 additions and 0 deletions

2416
src/router/index.js Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,28 @@
/** When your routing table is too long, you can split it into small modules**/
import Layout from '@/layout'
const artManageRouter = {
path: '/art',
component: Layout,
redirect: '/art/list',
name: 'ArtManager',
meta: { title: '工艺管理', icon: 'form', affix: true },
children: [
{
path: 'list',
component: () => import('@/views/art/list'),
name: 'ArtList',
meta: { title: '工艺列表', icon: 'form', affix: true }
},
{
path: 'process',
component: () => import('@/views/art/process/list'),
name: 'Process',
meta: { title: '工艺流程', icon: 'form', affix: true },
hidden: true
}
]
}
export default artManageRouter

View File

@@ -0,0 +1,36 @@
/** When your routing table is too long, you can split it into small modules**/
import Layout from '@/layout'
const chartsRouter = {
path: '/charts',
component: Layout,
redirect: 'noRedirect',
name: 'Charts',
meta: {
title: 'Charts',
icon: 'chart'
},
children: [
{
path: 'keyboard',
component: () => import('@/views/charts/keyboard'),
name: 'KeyboardChart',
meta: { title: 'Keyboard Chart', noCache: true }
},
{
path: 'line',
component: () => import('@/views/charts/line'),
name: 'LineChart',
meta: { title: 'Line Chart', noCache: true }
},
{
path: 'mix-chart',
component: () => import('@/views/charts/mix-chart'),
name: 'MixChart',
meta: { title: 'Mix Chart', noCache: true }
}
]
}
export default chartsRouter

View File

@@ -0,0 +1,68 @@
/*
* @Author: your name
* @Date: 2021-04-26 08:42:32
* @LastEditTime: 2021-04-26 10:01:24
* @LastEditors: your name
* @Description: In User Settings Edit
* @FilePath: \mt-bus-fe\src\router\modules\material-manage.js
*/
/** When your routing table is too long, you can split it into small modules**/
import Layout from '@/layout'
const materialManageRouter = {
path: '/material-manage',
component: Layout,
redirect: '/material-manage/refueling',
name: 'MaterialsManage',
meta: { title: '物料管理', icon: 'form', affix: true },
children: [
{
path: 'refueling',
component: () => import('@/views/material-manage/refueling/index'),
name: 'refueling',
meta: { title: '换料记录', icon: 'form', affix: true }
},
{
path: 'refueling/add',
component: () => import('@/views/material-manage/refueling/components/add-panel'),
name: 'refuelingAdd',
meta: { title: '换料记录操作', icon: 'form', affix: true },
hidden: true
},
{
path: 'bom',
component: () => import('@/views/material-manage/bom/index'),
name: 'bom',
meta: { title: '物料BOM', icon: 'form', affix: true }
},
{
path: 'bom/add',
component: () => import('@/views/material-manage/bom/components/add-panel'),
name: 'bomAdd',
meta: { title: '物料BOM操作', icon: 'form', affix: true },
hidden: true
},
{
path: 'batch',
component: () => import('@/views/material-manage/batch/index'),
name: 'batch',
meta: { title: '物料批次', icon: 'form', affix: true }
},
{
path: 'batch/add',
component: () => import('@/views/material-manage/batch/components/add-panel'),
name: 'batchAdd',
meta: { title: '物料批次操作', icon: 'form', affix: true },
hidden: true
},
{
path: 'report',
component: () => import('@/views/material-manage/report/index'),
name: 'report',
meta: { title: '物料报表', icon: 'form', affix: true }
}
]
}
export default materialManageRouter

View File

@@ -0,0 +1,41 @@
/** When your routing table is too long, you can split it into small modules**/
import Layout from '@/layout'
const teamRouter = {
path: '/team-manage',
component: Layout,
redirect: '/team-manage/list',
name: 'TeamManage',
meta: { title: '班组管理', icon: 'form', affix: true },
children: [
{
path: 'list',
component: () => import('@/views/team-manage/list'),
name: 'TeamManageList',
meta: { title: '班组列表', icon: 'form', affix: true }
},
{
path: 'team/add',
component: () => import('@/views/team-manage/components/change/add-plan'),
name: 'TeamManageAdd',
meta: { title: '班组交接操作', icon: 'form', affix: true },
hidden: true
},
{
path: 'plan',
component: () => import('@/views/team-manage/plan'),
name: 'TeamManagePlan',
meta: { title: '班组计划', icon: 'form', affix: true }
},
{
path: 'plan/add',
component: () => import('@/views/team-manage/components/plan/add-plan'),
name: 'TeamManagePlanAdd',
meta: { title: '班组计划操作', icon: 'form', affix: true },
hidden: true
}
]
}
export default teamRouter