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,
},
},
{
path: '/project-management/personnel-dispatch/construction-personnel',
name: 'ConstructionPersonnel',
@ -855,79 +854,50 @@ export const systemRoutes: RouteRecordRaw[] = [
},
],
},
// start
// 数据管理
{
path: '/construction-operation-platform',
name: 'ConstructionOperationPlatform',
path: '/data-management',
name: 'DataManagement',
component: Layout,
redirect: '/construction-operation-platform/implementation-workflow/field-construction',
meta: { title: '施工操作台', icon: 'tool', hidden: false, sort: 5 },
redirect: '/data-management/project-management/project-template',
meta: { title: '数据管理', icon: 'database', hidden: false, sort: 4 },
children: [
// {
// path: '/construction-operation-platform/implementation-workflow',
// name: 'ImplementationWorkflow',
{
// path: '/construction-operation-platform/implementation-workflow/data-processing',
// name: 'DataProcessing',
// component: () => import('@/components/ParentView/index.vue'),
// redirect: '/construction-operation-platform/implementation-workflow/field-construction',
// meta: { title: '项目实施工作流程', icon: 'fork', hidden: false },
// redirect: '/construction-operation-platform/implementation-workflow/data-processing/data-storage',
// meta: { title: '我的业务数据', icon: 'filter', hidden: false },
// children: [
{
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/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',
// 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',
name: 'RawData',
component: () => import('@/views/operation-platform/data-processing/data-storage/index.vue'),
meta: { title: '原数据管理', icon: 'file', hidden: false },
},
{
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/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/data-processing/data-storage/preprocessed-data',
name: 'PreprocessedData',
@ -999,9 +969,61 @@ export const systemRoutes: RouteRecordRaw[] = [
// 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',
name: 'ProjectDelivery',

View File

@ -13,6 +13,7 @@ declare module 'vue' {
Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default']
CellCopy: typeof import('./../components/CellCopy/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']
CronForm: typeof import('./../components/GenCron/CronForm/index.vue')['default']
CronModal: typeof import('./../components/GenCron/CronModal/index.vue')['default']