投入品路由

This commit is contained in:
wangzenghua 2025-04-25 02:22:19 +01:00
parent c867ec52d1
commit b74cc40192
3 changed files with 15 additions and 21 deletions

View File

@ -48,7 +48,7 @@ const props = defineProps({
return [ return [
{ label: '首页', value: 'home' }, { label: '首页', value: 'home' },
{ label: '土地资源', value: 'land' }, { label: '土地资源', value: 'land' },
{ label: '投入品', value: 'inputs' }, { label: '投入品监管', value: 'inputs' },
{ label: '生产经营主体', value: 'entities' }, { label: '生产经营主体', value: 'entities' },
// { label: '', value: 'plant' }, // { label: '', value: 'plant' },
// { label: '', value: 'breed' }, // { label: '', value: 'breed' },

View File

@ -20,12 +20,6 @@ export default [
component: () => import('@/views/demo/rank.vue'), component: () => import('@/views/demo/rank.vue'),
meta: { title: '滚动排名列表', icon: 'document' }, meta: { title: '滚动排名列表', icon: 'document' },
}, },
// {
// path: '/page',
// component: () => import('@/views/demo/test.vue'),
// name: 'page',
// meta: { title: '测试', icon: 'document' },
// },
], ],
}, },
]; ];

View File

@ -5,55 +5,55 @@ export default {
name: 'v2', name: 'v2',
component: Layout, component: Layout,
redirect: '/v2/home', redirect: '/v2/home',
meta: { title: '首页', icon: 'House' }, meta: { title: '首页', icon: '' },
children: [ children: [
// { // {
// path: '/v2/home', // path: '/v2/home',
// component: () => import('@/views/home/index.vue'), // component: () => import('@/views/home/index.vue'),
// name: 'home', // name: 'home',
// meta: { title: '首页', icon: 'House' }, // meta: { title: '首页', icon: '' },
// }, // },
{ {
path: '/v2/land', path: '/v2/land',
component: () => import('@/views/land/index.vue'), component: () => import('@/views/land/index.vue'),
name: 'land', name: 'land',
meta: { title: '土地资源', icon: 'House' }, meta: { title: '土地资源', icon: '' },
},
{
path: 'inputs',
name: 'inputs',
component: () => import('@/views/inputs/index.vue'),
meta: { title: '投入品监管', icon: '' },
}, },
// {
// path: 'inputs',
// name: 'inputs',
// component: () => import('@/views/inputs/index.vue'),
// hidden: true,
// },
// { // {
// path: 'entities', // path: 'entities',
// name: 'entities', // name: 'entities',
// component: () => import('@/views/entities/index.vue'), // component: () => import('@/views/entities/index.vue'),
// hidden: true, // meta: { title: '', icon: '' },
// }, // },
// { // {
// path: 'breed', // path: 'breed',
// name: 'breed', // name: 'breed',
// component: () => import('@/views/breed/index.vue'), // component: () => import('@/views/breed/index.vue'),
// hidden: true, // meta: { title: '', icon: '' },
// }, // },
// { // {
// path: 'plant', // path: 'plant',
// name: 'plant', // name: 'plant',
// component: () => import('@/views/plant/index.vue'), // component: () => import('@/views/plant/index.vue'),
// hidden: true, // meta: { title: '', icon: '' },
// }, // },
// { // {
// path: 'trace', // path: 'trace',
// name: 'trace', // name: 'trace',
// component: () => import('@/views/trace/index.vue'), // component: () => import('@/views/trace/index.vue'),
// hidden: true, // meta: { title: '', icon: '' },
// }, // },
// { // {
// path: 'early', // path: 'early',
// name: 'early', // name: 'early',
// component: () => import('@/views/early/index.vue'), // component: () => import('@/views/early/index.vue'),
// hidden: true, // meta: { title: '', icon: '' },
// }, // },
], ],
}; };