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
39
40
41
42
43
44
45
46
47
48
49
| import Building from '@/views/area/building/layout/Building'
|
|
| const buildingRouter = [
| {
| path: '/area/building/index', // 列表
| name: 'areaBuildingIndex',
| component: () => import('@/views/area/building/list/index')
| },
| {
| path: '/area/building/imgDialog', // 图片预览
| component: () => import('@/views/area/building/layout/ImgDialog')
| },
| {
| path: '/area/building/details/',
| component: Building,
| redirect: '/area/building/details/BuildInfo',
| children: [
| {
| path: 'buildInfo',
| component: () => import('@/views/area/building/details/BuildInfo'),
| meta: { title: '楼栋信息' }
| },
| {
| path: 'buildImageInfo',
| component: () => import('@/views/area/building/details/ImageInfo'),
| meta: { title: '影像资料' }
| }
| ]
| },
| {
| path: '/area/building/update/',
| component: Building,
| redirect: '/area/building/update/BuildInfo',
| children: [
| {
| path: 'buildInfo',
| component: () => import('@/views/area/building/update/BuildInfo'),
| meta: { title: '楼栋信息' }
| },
| {
| path: 'buildImageInfo',
| component: () => import('@/views/area/building/update/ImageInfo'),
| meta: { title: '影像资料' }
| }
| ]
| },
| ]
| export default buildingRouter
|
|