fix: 按照要求修复了一下菜单栏

This commit is contained in:
Maple 2025-08-13 09:33:54 +08:00
parent 79bd72febb
commit 7fd44d4b10
2 changed files with 135 additions and 112 deletions

View File

@ -842,7 +842,6 @@ export const systemRoutes: RouteRecordRaw[] = [
hidden: false, hidden: false,
}, },
}, },
{ {
path: '/project-management/personnel-dispatch/construction-personnel', path: '/project-management/personnel-dispatch/construction-personnel',
name: 'ConstructionPersonnel', name: 'ConstructionPersonnel',
@ -855,79 +854,50 @@ export const systemRoutes: RouteRecordRaw[] = [
}, },
], ],
}, },
// start
// 数据管理
{ {
path: '/construction-operation-platform', path: '/data-management',
name: 'ConstructionOperationPlatform', name: 'DataManagement',
component: Layout, component: Layout,
redirect: '/construction-operation-platform/implementation-workflow/field-construction', redirect: '/data-management/project-management/project-template',
meta: { title: '施工操作台', icon: 'tool', hidden: false, sort: 5 }, meta: { title: '数据管理', icon: 'database', hidden: false, sort: 4 },
children: [ children: [
// { {
// path: '/construction-operation-platform/implementation-workflow', // path: '/construction-operation-platform/implementation-workflow/data-processing',
// name: 'ImplementationWorkflow', // name: 'DataProcessing',
// component: () => import('@/components/ParentView/index.vue'), // component: () => import('@/components/ParentView/index.vue'),
// redirect: '/construction-operation-platform/implementation-workflow/field-construction', // redirect: '/construction-operation-platform/implementation-workflow/data-processing/data-storage',
// meta: { title: '项目实施工作流程', icon: 'fork', hidden: false }, // meta: { title: '我的业务数据', icon: 'filter', hidden: false },
// children: [ // children: [
{ // {
path: '/construction-operation-platform/implementation-workflow/field-construction', // path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage',
name: 'FieldConstruction', // name: 'DataStorage',
component: () => import('@/components/ParentView/index.vue'), // component: () => import('@/components/ParentView/index.vue'),
redirect: '/construction-operation-platform/implementation-workflow/field-construction/project-list', // redirect: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/raw-data',
meta: { title: '我的项目', icon: 'construction', hidden: false }, // meta: { title: '原数据管理', icon: 'database', hidden: false },
children: [ // children: [
{ // {
path: '/project-management/projects/list',
name: 'ProjectList',
component: () => import('@/views/project-management/projects/list/index.vue'),
meta: {
title: '项目列表',
icon: 'unordered-list',
hidden: false,
},
},
{
path: '/construction-operation-platform/implementation-workflow/field-construction/technology',
name: 'FieldConstructionTechnology',
component: () => import('@/views/project-operation-platform/implementation-workflow/field-construction/project-list/index.vue'),
meta: { title: '我的施工', icon: 'tool', hidden: false },
},
{
path: '/construction-operation-platform/implementation-workflow/data-processing',
name: 'DataProcessing',
component: () => import('@/components/ParentView/index.vue'),
redirect: '/construction-operation-platform/implementation-workflow/data-processing/data-storage',
meta: { title: '我的业务数据', icon: 'filter', hidden: false },
children: [
{
path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage',
name: 'DataStorage',
component: () => import('@/components/ParentView/index.vue'),
redirect: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/raw-data',
meta: { title: '原数据管理', icon: 'database', hidden: false },
children: [
{
path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/raw-data', path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/raw-data',
name: 'RawData', name: 'RawData',
component: () => import('@/views/operation-platform/data-processing/data-storage/index.vue'), component: () => import('@/views/operation-platform/data-processing/data-storage/index.vue'),
meta: { title: '原数据管理', icon: 'file', hidden: false }, meta: { title: '原数据管理', icon: 'file', hidden: false },
}, },
{ // {
path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/attachment', // path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/attachment',
name: 'AttachmentManagement', // name: 'AttachmentManagement',
component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/data-storage/index.vue'), // component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/data-storage/index.vue'),
meta: { title: '附件管理', icon: 'attachment', hidden: false }, // meta: { title: '附件管理', icon: 'attachment', hidden: false },
}, // },
{ // {
path: '/construction-operation-platform/implementation-workflow/data-processing/model-config', // path: '/construction-operation-platform/implementation-workflow/data-processing/model-config',
name: 'ModelConfig', // name: 'ModelConfig',
component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/model-config/index.vue'), // component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/model-config/index.vue'),
meta: { title: '模型配置', icon: 'robot', hidden: false }, // meta: { title: '模型配置', icon: 'robot', hidden: false },
}, // },
], // ],
}, // },
{ {
path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/preprocessed-data', path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/preprocessed-data',
name: 'PreprocessedData', name: 'PreprocessedData',
@ -999,9 +969,61 @@ export const systemRoutes: RouteRecordRaw[] = [
// meta: { title: '机场管理', icon: 'rocket', hidden: false }, // meta: { title: '机场管理', icon: 'rocket', hidden: false },
// }, // },
], ],
// },
// ],
}, },
], ],
}, },
// end
{
path: '/construction-operation-platform',
name: 'ConstructionOperationPlatform',
component: Layout,
redirect: '/construction-operation-platform/implementation-workflow/field-construction',
meta: { title: '我的工作台', icon: 'tool', hidden: false, sort: 5 },
children: [
// {
// path: '/construction-operation-platform/implementation-workflow',
// name: 'ImplementationWorkflow',
// component: () => import('@/components/ParentView/index.vue'),
// redirect: '/construction-operation-platform/implementation-workflow/field-construction',
// meta: { title: '项目实施工作流程', icon: 'fork', hidden: false },
// children: [
{
path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/attachment',
name: 'AttachmentManagement',
component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/data-storage/index.vue'),
meta: { title: '附件管理', icon: 'attachment', hidden: false },
},
{
path: '/construction-operation-platform/implementation-workflow/data-processing/model-config',
name: 'ModelConfig',
component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/model-config/index.vue'),
meta: { title: '模型配置', icon: 'robot', hidden: false },
},
{
path: '/construction-operation-platform/implementation-workflow/field-construction',
name: 'FieldConstruction',
component: () => import('@/components/ParentView/index.vue'),
redirect: '/construction-operation-platform/implementation-workflow/field-construction/project-list',
meta: { title: '我的项目', icon: 'construction', hidden: false },
children: [
{
path: '/project-management/projects/list',
name: 'ProjectList',
component: () => import('@/views/project-management/projects/list/index.vue'),
meta: {
title: '项目列表',
icon: 'unordered-list',
hidden: false,
},
},
{
path: '/construction-operation-platform/implementation-workflow/field-construction/technology',
name: 'FieldConstructionTechnology',
component: () => import('@/views/project-operation-platform/implementation-workflow/field-construction/project-list/index.vue'),
meta: { title: '我的施工', icon: 'tool', hidden: false },
},
{ {
path: '/construction-operation-platform/implementation-workflow/project-delivery', path: '/construction-operation-platform/implementation-workflow/project-delivery',
name: 'ProjectDelivery', name: 'ProjectDelivery',

View File

@ -13,6 +13,7 @@ declare module 'vue' {
Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default'] Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default']
CellCopy: typeof import('./../components/CellCopy/index.vue')['default'] CellCopy: typeof import('./../components/CellCopy/index.vue')['default']
Chart: typeof import('./../components/Chart/index.vue')['default'] Chart: typeof import('./../components/Chart/index.vue')['default']
CircularProgress: typeof import('./../components/CircularProgress/index.vue')['default']
ColumnSetting: typeof import('./../components/GiTable/src/components/ColumnSetting.vue')['default'] ColumnSetting: typeof import('./../components/GiTable/src/components/ColumnSetting.vue')['default']
CronForm: typeof import('./../components/GenCron/CronForm/index.vue')['default'] CronForm: typeof import('./../components/GenCron/CronForm/index.vue')['default']
CronModal: typeof import('./../components/GenCron/CronModal/index.vue')['default'] CronModal: typeof import('./../components/GenCron/CronModal/index.vue')['default']