From e95ca9ef89c79fbff8f0d1394311f5f18d653cdd Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期五, 18 十月 2024 16:49:49 +0800 Subject: [PATCH] 动态表头 --- src/router/index.js | 124 +++++++++++++++++++++++++++++++++-------- 1 files changed, 100 insertions(+), 24 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 2b985fe..2cce391 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -14,50 +14,82 @@ { //闂鍔ㄦ�佽窡韪� name: 'profollow', - path: '/analysis/profollow', - component: () => import('@/views/fysp/analysis/ProFollow.vue') + path: '/fysp/data-product/profollow', + component: () => import('@/views/fysp/data-product/ProdProFollow.vue') }, { //闂鏁存敼鍒嗘瀽 name: 'proanalysis', - path: '/analysis/proanalysis', - component: () => import('@/views/fysp/analysis/ProAnalysis.vue') + path: '/fysp/data-product/proanalysis', + component: () => import('@/views/fysp/data-product/ProdProAnalysis.vue') }, { //瑙勮寖鎬ц瘎浼� name: 'standardjudge', - path: '/analysis/standardjudge', - component: () => import('@/views/fysp/analysis/StandardJudge.vue') + path: '/fysp/data-product/standardjudge', + component: () => import('@/views/fysp/data-product/ProdStandardJudge.vue') }, { //鏃ユ姤绠$悊 name: 'dailyreport', - path: '/dailyreport', - component: () => import('@/views/fysp/dailyreport/DailyReport.vue') + path: '/fysp/data-product/dailyreport', + component: () => import('@/views/fysp/data-product/ProdDailyReport.vue') }, { - //鍦烘櫙鎶ュ憡-宸ュ湴 - name: 'construction', - path: '/scenereport/construction', - component: () => import('@/views/fysp/scenereport/ConstructionReport.vue') + //鍦烘櫙鎶ュ憡 + name: 'scenereport', + path: '/fysp/data-product/scenereport', + component: () => import('@/views/fysp/data-product/ProdSceneReport.vue') + }, + // { + // //鍦烘櫙鎶ュ憡-宸ュ湴 + // name: 'construction', + // path: '/scenereport/construction', + // component: () => import('@/views/fysp/scenereport/ConstructionReport.vue') + // }, + // { + // //鍦烘櫙鎶ュ憡-鐮佸ご + // name: 'wharf', + // path: '/scenereport/wharf', + // component: () => import('@/views/fysp/scenereport/WharfReport.vue') + // }, + // { + // //鍦烘櫙鎶ュ憡-鎼呮媽绔� + // name: 'mixing', + // path: '/scenereport/mixing', + // component: () => import('@/views/fysp/scenereport/MixingReport.vue') + // }, + // { + // //鍦烘櫙鎶ュ憡-鍫嗗満 + // name: 'storage', + // path: '/scenereport/storage', + // component: () => import('@/views/fysp/scenereport/StorageReport.vue') + // }, + + { + //鐩戠浠诲姟 + name: 'taskmanage', + path: '/fysp/task/manage', + component: () => import('@/views/fysp/task/TaskManage.vue'), + meta: { keepAlive: true } }, { - //鍦烘櫙鎶ュ憡-鐮佸ご - name: 'wharf', - path: '/scenereport/wharf', - component: () => import('@/views/fysp/scenereport/WharfReport.vue') + //鐩戠浠诲姟鍦烘櫙缂栬緫 + name: 'monitorObjEdit', + path: '/fysp/task/edit', + component: () => import('@/views/fysp/task/MonitorObjEdit.vue') }, { - //鍦烘櫙鎶ュ憡-鎼呮媽绔� - name: 'mixing', - path: '/scenereport/mixing', - component: () => import('@/views/fysp/scenereport/MixingReport.vue') + //鐩戠浠诲姟璁″垝缂栬緫 + name: 'monitorPlanEdit', + path: '/fysp/task/plan/edit', + component: () => import('@/views/fysp/task/MonitorPlanEdit.vue') }, { - //鍦烘櫙鎶ュ憡-鍫嗗満 - name: 'storage', - path: '/scenereport/storage', - component: () => import('@/views/fysp/scenereport/StorageReport.vue') + //鐩戠浠诲姟璁″垝缂栬緫 + name: 'monitorTaskCreate', + path: '/fysp/task/create', + component: () => import('@/views/fysp/task/MonitorTaskCreate.vue') }, { //闂瀹℃牳 @@ -78,6 +110,24 @@ component: () => import('@/views/fysp/config/ProblemType.vue') }, { + //璁惧鍖归厤 + name: 'fyspDeviceMatch', + path: '/fysp/config/deviceMatch', + component: () => import('@/views/fysp/config/DeviceMatch.vue') + }, + { + //璇勪及瑙勫垯绠$悊 + name: 'fyspEvalutationRule', + path: '/fysp/config/evalutationRule', + component: () => import('@/views/fysp/config/EvalutationRule.vue') + }, + { + //璇勪及瀛愯鍒欎慨鏀归〉闈� + name: 'fyspEvalutationEdit', + path: '/fysp/config/evalutationRule/CompEvalutionSubRuleUpd/:subRuleId', + component: () => import('@/views/fysp/config/components/evalution/CompEvalutionSubRuleUpd.vue'), + }, + { //璇勪及鏁版嵁婧� name: 'fyspEvalutationTask', path: '/fysp/evaluation/evalutationTask', @@ -92,6 +142,26 @@ meta: { keepAlive: true } }, { + //璇勪及鎺掑悕 + name: 'fyspEvalutationRecordRank', + path: '/fysp/evaluation/evalutationRecordRank', + component: () => import('@/views/fysp/evaluation/EvalutationRecordTest.vue'), + meta: { keepAlive: true, readonly: true } + }, + { + //璇勫垎璋冩暣 + name: 'fyspEvalutationRecordEdit', + path: '/fysp/evaluation/evalutationRecordEdit', + component: () => import('@/views/fysp/evaluation/EvalutationRecordTest.vue'), + meta: { keepAlive: true, readonly: false } + }, + { + //璇勪及缁撴灉璇︽儏 + name: 'fyspEvalutationEdit', + path: '/fysp/evaluation/evalutationEdit/:subTaskId', + component: () => import('@/views/fysp/evaluation/EvalutationEdit.vue'), + }, + { //鍦烘櫙淇℃伅 name: 'fyspSceneInfo', path: '/fysp/sceneInfo', @@ -105,6 +175,12 @@ component: () => import('@/views/fysp/scene/SceneEdit.vue'), meta: { transition: 'slide-left' } }, + { + //瀵瑰鏀寔 + name: 'fyspSupport', + path: '/fysp/support', + component: () => import('@/views/fysp/support/JingAnSupport.vue'), + }, /**********************************椋炵窘鐜***********************************************/ { -- Gitblit v1.9.3