From 7fd44d4b10b024ad2bf6c30154da76469d35f278 Mon Sep 17 00:00:00 2001 From: Maple <869445424@qq.com> Date: Wed, 13 Aug 2025 09:33:54 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E6=8C=89=E7=85=A7=E8=A6=81=E6=B1=82?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=B8=80=E4=B8=8B=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.ts | 246 +++++++++++++++++++++----------------- src/types/components.d.ts | 1 + 2 files changed, 135 insertions(+), 112 deletions(-) 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'] From 7dbd6f1d2e64fb47293e4dfca1006cd2f7490649 Mon Sep 17 00:00:00 2001 From: Maple <869445424@qq.com> Date: Wed, 13 Aug 2025 09:45:39 +0800 Subject: [PATCH 2/3] fix:111 --- src/router/route.ts | 161 +++++++++++++++++++++++++++++--------------- 1 file changed, 108 insertions(+), 53 deletions(-) diff --git a/src/router/route.ts b/src/router/route.ts index 4938b85..2659c42 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -919,61 +919,116 @@ export const systemRoutes: RouteRecordRaw[] = [ }, ], }, - { - 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/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 }, + // // }, + // ], + // // }, + // // ], + // }, ], }, + + // start + { + path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection', + name: 'IntelligentInspection', + component: Layout, + redirect: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/defect-algorithm', + meta: { title: '数据分析与图像检测', icon: 'scan', hidden: false , sort: 5 }, + 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', From daad25838b5217be17e11739cb7fe3df96a446e5 Mon Sep 17 00:00:00 2001 From: crushing1111 <909171938@qq.com> Date: Wed, 13 Aug 2025 10:07:11 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.ts | 213 +++-- src/views/task/task-approval/TaskApproval.vue | 350 ++++++++ src/views/task/task-progress/TaskProgress.vue | 38 + src/views/task/task-publish/TaskPublish.vue | 790 ++++++++++++++++++ .../components/AssigneeSelector.vue | 134 +++ .../task/task-publish/components/TaskForm.vue | 147 ++++ 6 files changed, 1564 insertions(+), 108 deletions(-) create mode 100644 src/views/task/task-approval/TaskApproval.vue create mode 100644 src/views/task/task-progress/TaskProgress.vue create mode 100644 src/views/task/task-publish/TaskPublish.vue create mode 100644 src/views/task/task-publish/components/AssigneeSelector.vue create mode 100644 src/views/task/task-publish/components/TaskForm.vue diff --git a/src/router/route.ts b/src/router/route.ts index 2659c42..72d5b7e 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -125,6 +125,58 @@ export const systemRoutes: RouteRecordRaw[] = [ // }, ], }, +/* 任务管理中心路由 */ +{ + path: '/task', + name: 'TaskManagement', + component: Layout, + redirect: '/task/publish', // 默认跳转至发布任务页面 + meta: { + title: '任务管理', + icon: 'quote', // 任务相关图标 + hidden: false, + sort: 3 // 排序值,控制菜单显示顺序 + }, + children: [ + { + path: '/task/publish', + name: 'TaskPublish', + component: () => import('@/views/task/task-publish/TaskPublish.vue'), + meta: { + title: '发布任务', + icon: 'plus-circle', // 发布相关图标 + hidden: false, + sort: 3.25 + } + }, + { + path: '/task/progress', + name: 'TaskProgress', + component: () => import('@/views/task/task-progress/TaskProgress.vue'), + meta: { + title: '任务跟踪', + icon: 'redo', // 进度相关图标 + hidden: false, + sort: 3.5 + } + } + , + { + path: '/task/approval', + name: 'TaskApproval', + component: () => import('@/views/task/task-approval/TaskApproval.vue'), + meta: { + title: '任务审批', + icon: 'plus-circle', // 发布相关图标 + hidden: false, + sort: 3.75 + } + }, + ] +}, + + + // { // path: '/organization', // name: 'Organization', @@ -919,116 +971,61 @@ export const systemRoutes: RouteRecordRaw[] = [ }, ], }, - // { - // 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/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 }, + // }, + ], + // }, + // ], + }, ], }, - - // start - { - path: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection', - name: 'IntelligentInspection', - component: Layout, - redirect: '/construction-operation-platform/implementation-workflow/data-processing/intelligent-inspection/defect-algorithm', - meta: { title: '数据分析与图像检测', icon: 'scan', hidden: false , sort: 5 }, - 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', diff --git a/src/views/task/task-approval/TaskApproval.vue b/src/views/task/task-approval/TaskApproval.vue new file mode 100644 index 0000000..67b89a4 --- /dev/null +++ b/src/views/task/task-approval/TaskApproval.vue @@ -0,0 +1,350 @@ + + + \ No newline at end of file diff --git a/src/views/task/task-progress/TaskProgress.vue b/src/views/task/task-progress/TaskProgress.vue new file mode 100644 index 0000000..0267e80 --- /dev/null +++ b/src/views/task/task-progress/TaskProgress.vue @@ -0,0 +1,38 @@ + + + + + \ No newline at end of file diff --git a/src/views/task/task-publish/TaskPublish.vue b/src/views/task/task-publish/TaskPublish.vue new file mode 100644 index 0000000..caf5def --- /dev/null +++ b/src/views/task/task-publish/TaskPublish.vue @@ -0,0 +1,790 @@ + + + + + \ No newline at end of file diff --git a/src/views/task/task-publish/components/AssigneeSelector.vue b/src/views/task/task-publish/components/AssigneeSelector.vue new file mode 100644 index 0000000..b3dc176 --- /dev/null +++ b/src/views/task/task-publish/components/AssigneeSelector.vue @@ -0,0 +1,134 @@ + + + + + \ No newline at end of file diff --git a/src/views/task/task-publish/components/TaskForm.vue b/src/views/task/task-publish/components/TaskForm.vue new file mode 100644 index 0000000..024277a --- /dev/null +++ b/src/views/task/task-publish/components/TaskForm.vue @@ -0,0 +1,147 @@ + + + + + + \ No newline at end of file