路由更改

This commit is contained in:
lzc 2025-03-03 14:58:28 +08:00
parent 0e143dfc5b
commit 984d5f764a
3 changed files with 16 additions and 16 deletions

View File

@ -2,20 +2,20 @@ import Layout from '@/layouts/index.vue';
const annualplanRoutes = [ const annualplanRoutes = [
{ {
path: '/annualPlan', path: '/sub-government-affairs-service/annualPlan',
name: 'annualPlan', name: 'annualPlan',
component: Layout, component: Layout,
redirect: '/annualPlans', redirect: '/sub-government-affairs-service/annualPlans',
meta: { title: '年度计划', icon: 'Document' }, meta: { title: '年度计划', icon: 'Document' },
children: [ children: [
{ {
path: '/annualPlans', path: '/sub-government-affairs-service/annualPlans',
name: 'annualPlans', name: 'annualPlans',
component: () => import('@/views/annualPlan/component/annualPlans/index.vue'), component: () => import('@/views/annualPlan/component/annualPlans/index.vue'),
meta: { title: '年度计划', icon: 'Document' }, meta: { title: '年度计划', icon: 'Document' },
}, },
{ {
path: '/plantings', path: '/sub-government-affairs-service/plantings',
name: 'plantings', name: 'plantings',
component: () => import('@/views/annualPlan/component/plantings/index.vue'), component: () => import('@/views/annualPlan/component/plantings/index.vue'),
meta: { title: '网格种植进度', icon: 'Document' }, meta: { title: '网格种植进度', icon: 'Document' },

View File

@ -2,38 +2,38 @@ import Layout from '@/layouts/index.vue';
const landsRoutes = [ const landsRoutes = [
{ {
path: '/landManage', path: '/sub-government-affairs-service/landManage',
name: 'landManage', name: 'landManage',
component: Layout, component: Layout,
redirect: '/landsManage', redirect: '/sub-government-affairs-service/landsManage',
meta: { title: '土地管理', icon: 'Document' }, meta: { title: '土地管理', icon: 'Document' },
children: [ children: [
{ {
path: '/landsManage', path: '/sub-government-affairs-service/landsManage',
name: 'landsManage', name: 'landsManage',
component: () => import('@/views/landManage/component/landsManage/index.vue'), component: () => import('@/views/landManage/component/landsManage/index.vue'),
meta: { title: '土地管理', icon: 'Document' }, meta: { title: '土地管理', icon: 'Document' },
}, },
{ {
path: '/plantPlan', path: '/sub-government-affairs-service/plantPlan',
name: 'plantPlan', name: 'plantPlan',
component: () => import('@/views/landManage/component/plantPlan/index.vue'), component: () => import('@/views/landManage/component/plantPlan/index.vue'),
meta: { title: '种植规划', icon: 'Document' }, meta: { title: '种植规划', icon: 'Document' },
}, },
{ {
path: '/landPartol', path: '/sub-government-affairs-service/landPartol',
name: 'landPartol', name: 'landPartol',
component: () => import('@/views/landManage/component/landPartol/index.vue'), component: () => import('@/views/landManage/component/landPartol/index.vue'),
meta: { title: '土地巡查', icon: 'Document' }, meta: { title: '土地巡查', icon: 'Document' },
}, },
{ {
path: '/illegalHandle', path: '/sub-government-affairs-service/illegalHandle',
name: 'illegalHandle', name: 'illegalHandle',
component: () => import('@/views/landManage/component/illegalHandle/index.vue'), component: () => import('@/views/landManage/component/illegalHandle/index.vue'),
meta: { title: '土地违法处理', icon: 'Document' }, meta: { title: '土地违法处理', icon: 'Document' },
}, },
{ {
path: '/operationRecord', path: '/sub-government-affairs-service/operationRecord',
name: 'operationRecord', name: 'operationRecord',
component: () => import('@/views/landManage/component/operationRecord/index.vue'), component: () => import('@/views/landManage/component/operationRecord/index.vue'),
meta: { title: '作业记录', icon: 'Document' }, meta: { title: '作业记录', icon: 'Document' },

View File

@ -2,26 +2,26 @@ import Layout from '@/layouts/index.vue';
const statisticsRoutes = [ const statisticsRoutes = [
{ {
path: '/statistics', path: '/sub-government-affairs-service/statistics',
name: 'statistics', name: 'statistics',
component: Layout, component: Layout,
redirect: '/utilizePlan', redirect: '/sub-government-affairs-service/utilizePlan',
meta: { title: '统计分析', icon: 'Document' }, meta: { title: '统计分析', icon: 'Document' },
children: [ children: [
{ {
path: '/utilizePlan', path: '/sub-government-affairs-service/utilizePlan',
name: 'utilizePlan', name: 'utilizePlan',
component: () => import('@/views/statistics/component/utilizePlan/index.vue'), component: () => import('@/views/statistics/component/utilizePlan/index.vue'),
meta: { title: '土地利用与规划分析', icon: 'Document' }, meta: { title: '土地利用与规划分析', icon: 'Document' },
}, },
{ {
path: '/agriculture', path: '/sub-government-affairs-service/agriculture',
name: 'agriculture', name: 'agriculture',
component: () => import('@/views/statistics/component/agriculture/index.vue'), component: () => import('@/views/statistics/component/agriculture/index.vue'),
meta: { title: '农业生产效率分析', icon: 'Document' }, meta: { title: '农业生产效率分析', icon: 'Document' },
}, },
{ {
path: '/environment', path: '/sub-government-affairs-service/environment',
name: 'environment', name: 'environment',
component: () => import('@/views/statistics/component/environment/index.vue'), component: () => import('@/views/statistics/component/environment/index.vue'),
meta: { title: '环境影响与经济效益分析', icon: 'Document' }, meta: { title: '环境影响与经济效益分析', icon: 'Document' },