From 9a61e46d96536f3299e57f7259ae1c9972256ec6 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 30 九月 2025 09:42:09 +0800
Subject: [PATCH] 1. 隐藏未完成的账户匹配页面 2. 根据第三方新的接口文档修改接口url地址

---
 src/router/index.js |  526 ++++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 313 insertions(+), 213 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index fa7bcf8..ba8f36f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -13,229 +13,329 @@
     path: '/',
     component: () => import('@/views/HomePage.vue'),
     children: [
-      // {
-      //   //鏁存敼瀹℃牳
-      //   name: 'changecheck',
-      //   path: '/changecheck',
-      //   component: () => import('@/views/check/ChangeCheck.vue')
-      // },
-      /**********************************椋炵窘鐩戠***********************************************/
       {
-        //闂鍔ㄦ�佽窡韪�
-        name: 'profollow',
-        path: 'fysp/data-product/profollow',
-        component: () => import('@/views/fysp/data-product/ProdProFollow.vue')
-      },
-      {
-        //闂鏁存敼鍒嗘瀽
-        name: 'proanalysis',
-        path: 'fysp/data-product/proanalysis',
-        component: () => import('@/views/fysp/data-product/ProdProAnalysis.vue')
-      },
-      {
-        //瑙勮寖鎬ц瘎浼�
-        name: 'standardjudge',
-        path: 'fysp/data-product/standardjudge',
-        component: () =>
-          import('@/views/fysp/data-product/ProdStandardJudge.vue')
-      },
-      {
-        //鏃ユ姤绠$悊
-        name: 'dailyreport',
-        path: 'fysp/data-product/dailyreport',
-        component: () => import('@/views/fysp/data-product/ProdDailyReport.vue')
-      },
-      {
-        //鍦烘櫙鎶ュ憡
-        name: 'scenereport',
-        path: 'fysp/data-product/scenereport',
-        component: () => import('@/views/fysp/data-product/ProdSceneReport.vue')
-      },
-      {
-        //鍦烘櫙鎶ュ憡
-        name: 'lawenforcelist',
-        path: 'fysp/data-product/lawenforcelist',
-        component: () =>
-          import('@/views/fysp/data-product/ProdLawEnforceList.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: 'monitorObjEdit',
-        path: 'fysp/task/edit',
-        component: () => import('@/views/fysp/task/MonitorObjEdit.vue')
-      },
-      {
-        //鐩戠浠诲姟璁″垝缂栬緫
-        name: 'monitorPlanEdit',
-        path: 'fysp/task/plan/edit',
-        component: () => import('@/views/fysp/task/MonitorPlanEdit.vue')
-      },
-      {
-        //鐩戠浠诲姟璁″垝缂栬緫
-        name: 'monitorTaskCreate',
-        path: 'fysp/task/create',
-        component: () => import('@/views/fysp/task/MonitorTaskCreate.vue')
-      },
-      {
-        //闂瀹℃牳
-        name: 'procheck',
-        path: 'fysp/procheck',
-        component: () => import('@/views/fysp/check/ProCheck.vue')
-      },
-      // {
-      //   //璐︽埛绠$悊
-      //   name: 'fyspUser',
-      //   path: 'fysp/userInfo',
-      //   component: () => import('@/views/baseinfo/fysp/user/UserInfo.vue')
-      // },
-      {
-        //鐩戠闂
-        name: 'fyspProblemType',
-        path: 'fysp/config/problemType',
-        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: 'fyspEvalutationTask',
-        path: 'fysp/evaluation/evalutationTask',
-        component: () => import('@/views/fysp/evaluation/EvalutationTask.vue'),
-        meta: { keepAlive: false }
-      },
-      {
-        //璇勪及绠$悊
-        name: 'fyspEvalutationRecord',
-        path: 'fysp/evaluation/evalutationRecord',
-        component: () =>
-          import('@/views/fysp/evaluation/EvalutationRecord.vue'),
-        meta: { keepAlive: true }
-      },
-      {
-        //璇勪及缁撴灉璇︽儏
-        name: 'fyspEvalutationEdit',
-        path: 'fysp/evaluation/evalutationEdit/:subTaskId',
-        component: () => import('@/views/fysp/evaluation/EvalutationEdit.vue')
-      },
-      {
-        //鍦烘櫙淇℃伅
-        name: 'fyspSceneInfo',
-        path: 'fysp/sceneInfo',
-        component: () => import('@/views/fysp/scene/SceneInfo.vue'),
-        meta: { keepAlive: true }
-      },
-      {
-        //鍦烘櫙缂栬緫
-        name: 'fyspSceneEdit',
-        path: 'fysp/sceneEdit/:sid',
-        component: () => import('@/views/fysp/scene/SceneEdit.vue'),
-        meta: { transition: 'slide-left' }
-      },
-      {
-        //瀵瑰鏀寔
-        name: 'fyspSupport',
-        path: 'fysp/support',
-        component: () => import('@/views/fysp/support/JingAnSupport.vue')
-      },
-      {
-        // 鍩虹浜у搧-绠$悊
-        name: 'ProdManage',
-        path: 'fysp/data-product/base/home',
-        component: () =>
-          import('@/views/fysp/data-product/base-data-product/ProdManage.vue'),
+        name: 'fysp',
+        path: 'fysp',
         children: [
+          // {
+          //   //鏁存敼瀹℃牳
+          //   name: 'changecheck',
+          //   path: '/changecheck',
+          //   component: () => import('@/views/check/ChangeCheck.vue')
+          // },
+          /**********************************椋炵窘鐩戠***********************************************/
           {
-            // 鍩虹浜у搧-鍦烘櫙娓呭崟
-            path: 'scene',
-            name: 'ProdSceneInfo',
-            meta: { keepAlive: true },
-            component: () =>
-              import(
-                '@/views/fysp/data-product/base-data-product/ProdSceneInfo.vue'
-              )
+            //闂瀹℃牳
+            name: 'procheck',
+            path: 'procheck',
+            component: () => import('@/views/fysp/check/ProCheck.vue')
           },
           {
-            // 鍩虹浜у搧-瑙勮寖鎬ц瘎浼�
-            path: 'evaluate',
-            name: 'ProdEvaluationInfo',
-            meta: { keepAlive: true },
-            component: () =>
-              import(
-                '@/views/fysp/data-product/base-data-product/ProdEvaluationInfo.vue'
-              )
+            name: 'data-product',
+            path: 'data-product',
+            children: [
+              {
+                //闂鍔ㄦ�佽窡韪�
+                name: 'profollow',
+                path: 'profollow',
+                component: () =>
+                  import('@/views/fysp/data-product/ProdProFollow.vue')
+              },
+              {
+                //闂鏁存敼鍒嗘瀽
+                name: 'proanalysis',
+                path: 'proanalysis',
+                component: () =>
+                  import('@/views/fysp/data-product/ProdProAnalysis.vue')
+              },
+              {
+                //瑙勮寖鎬ц瘎浼�
+                name: 'standardjudge',
+                path: 'standardjudge',
+                component: () =>
+                  import('@/views/fysp/data-product/ProdStandardJudge.vue')
+              },
+              {
+                //鏃ユ姤绠$悊
+                name: 'dailyreport',
+                path: 'dailyreport',
+                component: () =>
+                  import('@/views/fysp/data-product/ProdDailyReport.vue')
+              },
+              {
+                //鍦烘櫙鎶ュ憡
+                name: 'scenereport',
+                path: 'scenereport',
+                component: () =>
+                  import('@/views/fysp/data-product/ProdSceneReport.vue')
+              },
+              {
+                //鑱斿悎鎵ф硶娓呭崟
+                name: 'lawenforcelist',
+                path: 'lawenforcelist',
+                component: () =>
+                  import('@/views/fysp/data-product/ProdLawEnforceList.vue')
+              },
+              {
+                name: 'dataProdBase',
+                path: 'base',
+                children: [
+                  {
+                    // 鍩虹浜у搧-绠$悊
+                    name: 'ManageBaseProd',
+                    path: 'home',
+                    component: () =>
+                      import(
+                        '@/views/fysp/data-product/base-data-product/ManageBaseProd.vue'
+                      ),
+                    children: [
+                      {
+                        // 鍩虹浜у搧-鍦烘櫙娓呭崟
+                        path: 'scene',
+                        name: 'ProdSceneInfo',
+                        meta: { keepAlive: false, key: 'ManageBaseProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/base-data-product/ProdSceneInfo.vue'
+                          )
+                      },
+                      {
+                        // 鍩虹浜у搧-瑙勮寖鎬ц瘎浼�
+                        path: 'evaluate',
+                        name: 'ProdEvaluationInfo',
+                        meta: { keepAlive: false, key: 'ManageBaseProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/base-data-product/ProdEvaluationInfo.vue'
+                          )
+                      },
+                      {
+                        // 鍩虹浜у搧-鏁存敼娓呭崟
+                        path: 'inspection',
+                        name: 'ProdInspectionInfo',
+                        meta: { keepAlive: false, key: 'ManageBaseProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/base-data-product/ProdInspectionInfo.vue'
+                          )
+                      },
+                      {
+                        // 鍩虹浜у搧-鐩戞祴鏁版嵁
+                        path: 'monitordata',
+                        name: 'ProdMonitorDataInfo',
+                        meta: { keepAlive: false, key: 'ManageBaseProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/base-data-product/ProdMonitorDataInfo.vue'
+                          )
+                      }
+                    ]
+                  },
+                  {
+                    // 鍩虹浜у搧-闂澶嶅彂娓呭崟
+                    name: 'PordProblemRecurrence',
+                    path: 'PordProblemRecurrence',
+                    component: () =>
+                      import(
+                        '@/views/fysp/data-product/base-data-product/PordProblemRecurrence.vue'
+                      )
+                  }
+                ]
+              },
+              {
+                name: 'dataProdMiddle',
+                path: 'middle',
+                children: [
+                  {
+                    // 涓棿浜у搧-绠$悊
+                    name: 'ManageMiddleProd',
+                    path: 'home',
+                    component: () =>
+                      import(
+                        '@/views/fysp/data-product/middle-data-product/ManageMiddleProd.vue'
+                      ),
+                    children: [
+                      {
+                        // 涓棿浜у搧-鏈堝害宸℃煡鎯呭喌姹囨��
+                        path: 'inspectionSummary',
+                        name: 'ProdInspectionSummary',
+                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/middle-data-product/ProdInspectionSummary.vue'
+                          )
+                      },
+                      {
+                        // 涓棿浜у搧-鏈堝害闂姹囨��
+                        path: 'problemTypeSummary',
+                        name: 'ProdProblemTypeSummary',
+                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/middle-data-product/ProdProblemTypeSummary.vue'
+                          )
+                      },
+                      {
+                        // 涓棿浜у搧-鍒嗚闀囧崟鍦烘櫙闂鏁板潎鍊�
+                        path: 'problemCountSummary',
+                        name: 'ProdProblemCountSummary',
+                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/middle-data-product/ProdProblemCountSummary.vue'
+                          )
+                      },
+                      {
+                        // 涓棿浜у搧-鐩戞祴璁惧姹囨��
+                        path: 'monitorDeviceSummary',
+                        name: 'ProdMonitorDeviceSummary',
+                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/middle-data-product/ProdMonitorDeviceSummary.vue'
+                          )
+                      },
+                      {
+                        // 涓棿浜у搧-璇勪及鎯呭喌
+                        path: 'evaluationSummary',
+                        name: 'ProdEvaluationSummary',
+                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
+                        component: () =>
+                          import(
+                            '@/views/fysp/data-product/middle-data-product/ProdEvaluationSummary.vue'
+                          )
+                      },
+                    ]
+                  },
+                ]
+              }
+            ]
           },
           {
-            // 鍩虹浜у搧-宸℃煡淇℃伅
-            path: 'inspection',
-            name: 'ProdInspectionInfo',
-            meta: { keepAlive: true },
-            component: () =>
-              import(
-                '@/views/fysp/data-product/base-data-product/ProdInspectionInfo.vue'
-              )
+            name: 'task',
+            path: 'task',
+            children: [
+              {
+                //鐩戠浠诲姟
+                name: 'taskmanage',
+                path: 'manage',
+                component: () => import('@/views/fysp/task/TaskManage.vue'),
+                meta: { keepAlive: true }
+              },
+              {
+                //鐩戠浠诲姟鍦烘櫙缂栬緫
+                name: 'monitorObjEdit',
+                path: 'edit',
+                component: () => import('@/views/fysp/task/MonitorObjEdit.vue')
+              },
+              {
+                name: 'plan',
+                path: 'plan',
+                children: [
+                  {
+                    //鐩戠浠诲姟璁″垝缂栬緫
+                    name: 'monitorPlanEdit',
+                    path: 'edit',
+                    component: () =>
+                      import('@/views/fysp/task/MonitorPlanEdit.vue')
+                  }
+                ]
+              },
+
+              {
+                //鐩戠浠诲姟璁″垝缂栬緫
+                name: 'monitorTaskCreate',
+                path: 'create',
+                component: () =>
+                  import('@/views/fysp/task/MonitorTaskCreate.vue')
+              }
+            ]
+          },
+
+          // {
+          //   //璐︽埛绠$悊
+          //   name: 'fyspUser',
+          //   path: 'userInfo',
+          //   component: () => import('@/views/baseinfo/fysp/user/UserInfo.vue')
+          // },
+          {
+            //鐩戠闂
+            name: 'config',
+            path: 'config',
+            children: [
+              {
+                //鐩戠闂
+                name: 'fyspProblemType',
+                path: 'problemType',
+                component: () => import('@/views/fysp/config/ProblemType.vue')
+              },
+              {
+                //璁惧鍖归厤
+                name: 'fyspDeviceMatch',
+                path: 'deviceMatch',
+                component: () => import('@/views/fysp/config/DeviceMatch.vue')
+              },
+              {
+                //璇勪及瑙勫垯绠$悊
+                name: 'fyspEvalutationRule',
+                path: 'evalutationRule',
+                component: () =>
+                  import('@/views/fysp/config/EvalutationRule.vue')
+              }
+            ]
           },
           {
-            // 鍩虹浜у搧-鐩戞祴鏁版嵁
-            path: 'monitordata',
-            name: 'ProdMonitorDataInfo',
-            meta: { keepAlive: true },
-            component: () =>
-              import(
-                '@/views/fysp/data-product/base-data-product/ProdMonitorDataInfo.vue'
-              )
+            //璇勪及鏁版嵁婧�
+            name: 'evaluation',
+            path: 'evaluation',
+            children: [
+              {
+                //璇勪及鏁版嵁婧�
+                name: 'fyspEvalutationTask',
+                path: 'evalutationTask',
+                component: () =>
+                  import('@/views/fysp/evaluation/EvalutationTask.vue'),
+                meta: { keepAlive: false }
+              },
+              {
+                //璇勪及绠$悊
+                name: 'fyspEvalutationRecord',
+                path: 'evalutationRecord',
+                component: () =>
+                  import('@/views/fysp/evaluation/EvalutationRecord.vue'),
+                meta: { keepAlive: true }
+              },
+              {
+                //璇勪及缁撴灉璇︽儏
+                name: 'fyspEvalutationEdit',
+                path: 'evalutationEdit/:subTaskId',
+                component: () =>
+                  import('@/views/fysp/evaluation/EvalutationEdit.vue')
+              }
+            ]
+          },
+
+          {
+            //鍦烘櫙淇℃伅
+            name: 'fyspSceneInfo',
+            path: 'sceneInfo',
+            component: () => import('@/views/fysp/scene/SceneInfo.vue'),
+            meta: { keepAlive: true }
+          },
+          {
+            //鍦烘櫙缂栬緫
+            name: 'fyspSceneEdit',
+            path: 'sceneEdit/:sid',
+            component: () => import('@/views/fysp/scene/SceneEdit.vue'),
+            meta: { transition: 'slide-left' }
+          },
+          {
+            //瀵瑰鏀寔
+            name: 'fyspSupport',
+            path: 'support',
+            component: () => import('@/views/fysp/support/JingAnSupport.vue')
           }
         ]
-      },
-      {
-        // 鍩虹浜у搧-闂澶嶅彂娓呭崟
-        name: 'PordProblemRecurrence',
-        path: 'fysp/data-product/base/PordProblemRecurrence',
-        component: () =>
-          import(
-            '@/views/fysp/data-product/base-data-product/PordProblemRecurrence.vue'
-          )
       },
 
       /**********************************椋炵窘鐜***********************************************/
@@ -290,7 +390,7 @@
 ];
 
 const router = createRouter({
-  // history: createWebHistory(import.meta.env.BASE_URL)
+  // history: createWebHistory(import.meta.env.BASE_URL),
   history: createWebHashHistory(),
   routes: routes
 });

--
Gitblit v1.9.3