daofu-gov-pc/src/router/modules/basemanage.ts

94 lines
3.0 KiB
TypeScript
Raw Normal View History

2024-01-23 09:11:49 +08:00
const Layout = () => import('@/layout/index.vue')
export default {
path: '/base',
component: Layout,
redirect: '/base-manage/village',
name: 'village',
meta: {
auth: "emer",
title: '户籍管理',
icon: 'icon-study'
},
children: [
{
path: 'village',
name: 'vill',
component: () => import('@/views/base-manage/village/index.vue'),
meta: {
icon: 'point',
auth: "emer.team",
title: '村庄管理',
breadcrumb: true, //是否显示面包屑
},
},
{
path: 'resident',
name: 'resident',
component: () => import('@/views/base-manage/residence/index.vue'),
meta: {
icon: 'point',
auth: "emer.resourse",
title: '户籍管理',
breadcrumb: true, //是否显示面包屑
2024-03-06 17:30:01 +08:00
},
children: [
{
path: 'resident-detail',
name: 'resident-detail',
component: () => import('@/views/base-manage/residence/detail.vue'),
meta: {
auth: "emer.resident.detail",
title: '户籍详情',
sidebar: false, //是否在菜单栏显示
breadcrumb: true, //是否显示面包屑
activeMenu: '/base-manage/resident'
}
}
]
2024-01-23 09:11:49 +08:00
},
2024-03-06 11:04:49 +08:00
// {
// path: 'residence',
// name: 'residence',
// component: () => import('@/views/base-manage/population/index.vue'),
// meta: {
// icon: 'point',
// auth: "emer.resourse",
// title: '人口管理',
// breadcrumb: true, //是否显示面包屑
// }
// },
2024-01-23 09:11:49 +08:00
{
path: 'poor',
name: 'poor',
component: () => import('@/views/base-manage/poor/index.vue'),
meta: {
icon: 'point',
auth: "emer.resourse",
title: '贫困户管理',
breadcrumb: true, //是否显示面包屑
}
},
{
path: 'permanent',
name: 'permanent',
component: () => import('@/views/base-manage/permanent/index.vue'),
meta: {
icon: 'point',
auth: "emer.resourse",
title: '常驻人口',
breadcrumb: true, //是否显示面包屑
}
},
{
path: 'flow',
name: 'flow',
component: () => import('@/views/base-manage/flow/index.vue'),
meta: {
icon: 'point',
auth: "emer.resourse",
title: '流动人口',
breadcrumb: true, //是否显示面包屑
}
}
]
}