1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| import type { RouteRecordRaw } from 'vue-router';
|
| const routes: RouteRecordRaw[] = [
| {
| path: '/mes',
| name: 'MesCenter',
| meta: {
| title: 'MES 制造执行',
| icon: 'lucide:factory',
| keepAlive: true,
| hideInMenu: true,
| },
| children: [
| {
| path: 'pro/task/gantt-edit',
| name: 'MesProTaskGanttEdit',
| meta: {
| title: '甘特图编辑',
| activePath: '/mes/pro/task',
| },
| component: () => import('#/views/mes/pro/task/edit/index.vue'),
| },
| {
| path: 'pd/project/detail/:id',
| name: 'MesPdProjectDetail',
| meta: {
| title: '设计任务详情',
| activePath: '/mes/pd/project',
| },
| component: () => import('#/views/mes/pd/project/detail/index.vue'),
| },
| ],
| },
| ];
|
| export default routes;
|
|