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
37
38
| const reportRouter = {
| route: null,
| name: null,
| title: '报表管理',
| type: 'folder', // 类型: folder, tab, view
| icon: 'iconfont icon-tushuguanli',
| isElementIcon: false,
| filePath: 'view/dict/', // 文件路径
| order: null,
| inNav: true,
| children: [
| {
| title: '项目报表',
| type: 'view',
| name: 'ReportProjectList',
| route: '/report/project/list',
| filePath: 'view/report/report-project-list.vue',
| inNav: true,
| icon: 'iconfont icon-tushuguanli',
| isElementIcon: false,
| // permission: ['报表'],
| },
| {
| title: '工时统计',
| type: 'view',
| name: 'DiaryHourStatistics',
| route: '/diary/hour/statistics',
| filePath: 'view/diary/diary-statistics-overview',
| inNav: true,
| icon: 'iconfont icon-add',
| isElementIcon: false,
| permission: ['工时统计'],
| },
|
| ],
| }
|
| export default reportRouter
|
|