diff --git a/src/router/route.ts b/src/router/route.ts index 2f749c1..4938b85 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -831,7 +831,7 @@ export const systemRoutes: RouteRecordRaw[] = [ ], }, - //项目中控台 + // 项目中控台 { path: '/project-management/projects/personnel-dispatch', name: 'PersonnelDispatch', @@ -842,7 +842,6 @@ export const systemRoutes: RouteRecordRaw[] = [ hidden: false, }, }, - { path: '/project-management/personnel-dispatch/construction-personnel', name: 'ConstructionPersonnel', @@ -855,13 +854,133 @@ export const systemRoutes: RouteRecordRaw[] = [ }, ], }, + // start + // 数据管理 + { + path: '/data-management', + name: 'DataManagement', + component: Layout, + redirect: '/data-management/project-management/project-template', + meta: { title: '数据管理', icon: 'database', hidden: false, sort: 4 }, + children: [ + { + // 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', + 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/preprocessed-data', + name: 'PreprocessedData', + 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/preprocessed-data/ImageBatchUpload', + name: 'ImageBatchUpload', + component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/data-preprocessing/index.vue'), + meta: { title: '批量上传', icon: 'file', hidden: false }, + }, + { + path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/preprocessed-data/ImageSorting', + name: 'ImageSorting', + component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/image-sorting/index.vue'), + meta: { title: '图像分拣', icon: 'attachment', hidden: false }, + }, + ], + }, + { + path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection', + name: 'IntelligentInspection', + component: () => import('@/components/ParentView/index.vue'), + redirect: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/defect-algorithm', + meta: { title: '数据分析与图像检测', icon: 'scan', hidden: false }, + children: [ + { + path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/defect-algorithm', + name: 'DefectAlgorithm', + component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/defect-algorithm/index.vue'), + meta: { title: '缺陷检测', icon: 'code', hidden: false }, + }, + { + path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/report-generation', + name: 'ReportGeneration', + component: () => import('@/views/project-operation-platform/data-processing/report-generation/index.vue'), + meta: { title: '报告生成', icon: 'file-add', hidden: false }, + }, + { + path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/standard-info', + name: 'StandardInfo', + component: () => import('@/views/project-operation-platform/data-processing/standard-info/index.vue'), + meta: { title: '标准信息库', icon: 'book', hidden: false }, + }, + { + path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/report-review', + name: 'ReportReview', + component: () => import('@/views/project-operation-platform/data-processing/report-review/index.vue'), + meta: { title: '报告修改审核', icon: 'audit', hidden: false }, + }, + { + path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/lifecycle-management', + name: 'LifecycleManagement', + component: () => import('@/views/project-operation-platform/lifecycle-management/index.vue'), + meta: { title: '全生命周期管理', icon: 'reload', hidden: false }, + }, + { + path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/drone-services', + name: 'DroneServices', + component: () => import('@/views/project-operation-platform/route-planning/index.vue'), + meta: { title: '无人机云服务', icon: 'cloud-server', hidden: false }, + }, + // { + // path: '/construction-operation-platform/implementation-workflow/airport-management', + // name: 'AirportManagement', + // component: () => import('@/views/construction-operation-platform/airport-management/index.vue'), + // 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 }, + meta: { title: '我的工作台', icon: 'tool', hidden: false, sort: 5 }, children: [ // { // path: '/construction-operation-platform/implementation-workflow', @@ -870,6 +989,18 @@ export const systemRoutes: RouteRecordRaw[] = [ // 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', @@ -893,115 +1024,6 @@ export const systemRoutes: RouteRecordRaw[] = [ 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', - 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/preprocessed-data', - name: 'PreprocessedData', - 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/preprocessed-data/ImageBatchUpload', - name: 'ImageBatchUpload', - component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/data-preprocessing/index.vue'), - meta: { title: '批量上传', icon: 'file', hidden: false }, - }, - { - path: '/construction-operation-platform/implementation-workflow/data-processing/data-storage/preprocessed-data/ImageSorting', - name: 'ImageSorting', - component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/image-sorting/index.vue'), - meta: { title: '图像分拣', icon: 'attachment', hidden: false }, - }, - ], - }, - { - path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection', - name: 'IntelligentInspection', - component: () => import('@/components/ParentView/index.vue'), - redirect: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/defect-algorithm', - meta: { title: '数据分析与图像检测', icon: 'scan', hidden: false }, - children: [ - { - path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/defect-algorithm', - name: 'DefectAlgorithm', - component: () => import('@/views/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/defect-algorithm/index.vue'), - meta: { title: '缺陷检测', icon: 'code', hidden: false }, - }, - { - path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/report-generation', - name: 'ReportGeneration', - component: () => import('@/views/project-operation-platform/data-processing/report-generation/index.vue'), - meta: { title: '报告生成', icon: 'file-add', hidden: false }, - }, - { - path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/standard-info', - name: 'StandardInfo', - component: () => import('@/views/project-operation-platform/data-processing/standard-info/index.vue'), - meta: { title: '标准信息库', icon: 'book', hidden: false }, - }, - { - path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/report-review', - name: 'ReportReview', - component: () => import('@/views/project-operation-platform/data-processing/report-review/index.vue'), - meta: { title: '报告修改审核', icon: 'audit', hidden: false }, - }, - { - path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/lifecycle-management', - name: 'LifecycleManagement', - component: () => import('@/views/project-operation-platform/lifecycle-management/index.vue'), - meta: { title: '全生命周期管理', icon: 'reload', hidden: false }, - }, - { - path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/drone-services', - name: 'DroneServices', - component: () => import('@/views/project-operation-platform/route-planning/index.vue'), - meta: { title: '无人机云服务', icon: 'cloud-server', hidden: false }, - }, - // { - // path: '/construction-operation-platform/implementation-workflow/airport-management', - // name: 'AirportManagement', - // component: () => import('@/views/construction-operation-platform/airport-management/index.vue'), - // meta: { title: '机场管理', icon: 'rocket', hidden: false }, - // }, - ], - }, - ], - }, { path: '/construction-operation-platform/implementation-workflow/project-delivery', name: 'ProjectDelivery', diff --git a/src/types/components.d.ts b/src/types/components.d.ts index 73dac61..a427ece 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -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']