From 5ad61d6ad3a0ce12c7fe0808527069b09a7c9c0d Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 16 九月 2025 17:31:05 +0800
Subject: [PATCH] 新增基础产品

---
 src/constants/menu.js |  144 +++++++++++++++++++++++++++++++----------------
 1 files changed, 95 insertions(+), 49 deletions(-)

diff --git a/src/constants/menu.js b/src/constants/menu.js
index 9e744ee..2c2b22b 100644
--- a/src/constants/menu.js
+++ b/src/constants/menu.js
@@ -1,10 +1,18 @@
 const MENU_COMMON = [
   {
-    path: '/common/userMatch',
+    path: 'common/userMatch',
     icon: 'Connection',
     name: '璐︽埛鍖归厤'
   }
-]
+];
+
+if (import.meta.env.DEV) {
+  MENU_COMMON.push({
+    path: 'common/docTest',
+    icon: 'Connection',
+    name: '鏂囨。鐢熸垚'
+  });
+}
 
 const MENU_FYSP = [
   // {
@@ -15,56 +23,94 @@
   //   ]
   // },
   {
-    path: '/fysp/procheck',
+    path: 'fysp/procheck',
     icon: 'CircleCheck',
-    name: '闂瀹℃牳'
+    name: '闂鏁存敼'
   },
   {
     icon: 'List',
     name: '浠诲姟绠$悊',
     children: [
       {
-        path: '/fysp/task/manage',
+        path: 'fysp/task/manage',
         icon: 'CircleCheck',
-        name: '鐩戠浠诲姟',
+        name: '鐩戠浠诲姟'
       },
       {
-        path: '/fysp/sceneInfo',
+        path: 'fysp/sceneInfo',
         icon: 'Files',
-        name: '鍦烘櫙淇℃伅',
-      },
-    ],
+        name: '鍦烘櫙淇℃伅'
+      }
+    ]
   },
   {
     icon: 'DataAnalysis',
-    name: '鏁版嵁浜у搧',
+    name: '鍩虹鏁版嵁浜у搧',
     children: [
       {
-        path: '/fysp/data-product/profollow',
+        path: 'fysp/data-product/base/home/scene',
         icon: 'Document',
-        name: '闂鍔ㄦ�佽窡韪�',
+        name: '鐜板満宸℃煡',
+      },
+      // {
+      //   path: 'fysp/data-product/base/ProdMonitorTaskInfo',
+      //   icon: 'Document',
+      //   name: '鐩戠娓呭崟',
+      // },
+      // {
+      //   path: 'fysp/data-product/base/ProdTreatmentDeviceInfo',
+      //   icon: 'Document',
+      //   name: '闃叉不璁惧娓呭崟',
+      // },
+      {
+        path: 'fysp/data-product/base/PordProblemRecurrence',
+        icon: 'Document',
+        name: '闂澶嶅彂娓呭崟',
+      },
+    ]
+  },
+  {
+    icon: 'DataAnalysis',
+    name: '涓棿鏁版嵁浜у搧',
+    children: [
+      {
+        path: 'fysp/data-product/profollow',
+        icon: 'Document',
+        name: '闂鍔ㄦ�佽窡韪�'
       },
       {
-        path: '/fysp/data-product/proanalysis',
+        path: 'fysp/data-product/proanalysis',
         icon: 'Document',
-        name: '闂鏁存敼鍒嗘瀽',
+        name: '闂鏁存敼鍒嗘瀽'
       },
       {
-        path: '/fysp/data-product/standardjudge',
+        path: 'fysp/data-product/standardjudge',
         icon: 'Document',
-        name: '瑙勮寖鎬ц瘎浼�',
+        name: '瑙勮寖鎬ц瘎浼�'
       },
       {
-        path: '/fysp/data-product/dailyreport',
+        path: 'fysp/data-product/dailyreport',
         icon: 'Document',
-        name: '鏃ユ姤绠$悊',
+        name: '鏃ユ姤绠$悊'
       },
       {
-        path: '/fysp/data-product/scenereport',
+        path: 'fysp/data-product/lawenforcelist',
         icon: 'Document',
-        name: '鍦烘櫙鎶ュ憡',
+        name: '鑱斿悎鎵ф硶娓呭崟'
       },
-    ],
+
+    ]
+  },
+  {
+    icon: 'DataAnalysis',
+    name: '鏈�缁堟暟鎹骇鍝�',
+    children: [
+      {
+        path: 'fysp/data-product/scenereport',
+        icon: 'Document',
+        name: '鍦烘櫙鍒嗘瀽鎶ュ憡'
+      }
+    ]
   },
   // {
   //   path: '/changecheck',
@@ -76,41 +122,41 @@
     name: '鑷姩璇勪及',
     children: [
       {
-        path: '/fysp/evaluation/evalutationTask',
+        path: 'fysp/evaluation/evalutationTask',
         icon: 'MessageBox',
-        name: '璇勪及浠诲姟',
+        name: '璇勪及浠诲姟'
       },
       {
-        path: '/fysp/evaluation/evalutationRecord',
+        path: 'fysp/evaluation/evalutationRecord',
         icon: 'Tickets',
-        name: '璇勪及璁板綍',
-      },
-    ],
+        name: '璇勪及璁板綍'
+      }
+    ]
   },
   {
     icon: 'Setting',
     name: '閰嶇疆绠$悊',
     children: [
       {
-        path: '/fysp/config/problemType',
+        path: 'fysp/config/problemType',
         icon: 'List',
-        name: '鐩戠闂',
+        name: '鐩戠闂'
       },
       {
-        path: '/fysp/config/deviceMatch',
+        path: 'fysp/config/deviceMatch',
         icon: 'List',
-        name: '璁惧鍖归厤',
+        name: '璁惧鍖归厤'
       },
       {
         //璇勪及瑙勫垯绠$悊
-        path: '/fysp/config/evalutationRule',
+        path: 'fysp/config/evalutationRule',
         icon: 'List',
-        name: '璇勪及瑙勫垯',
-      },
-    ],
+        name: '璇勪及瑙勫垯'
+      }
+    ]
   },
   {
-    path: '/fysp/support',
+    path: 'fysp/support',
     icon: 'Files',
     name: '瀵瑰鏀寔'
   },
@@ -160,21 +206,21 @@
   //   ]
   // },
   ...MENU_COMMON
-]
+];
 
 const MENU_FYTZ = [
+  // {
+  //   path: 'fytz/ledger',
+  //   icon: 'Search',
+  //   name: '鍙拌处瀹℃牳'
+  // },
   {
-    path: '/fytz/ledger',
-    icon: 'Search',
-    name: '鍙拌处瀹℃牳'
-  },
-  {
-    path: '/fytz/notice',
+    path: 'fytz/notice',
     icon: 'Message',
     name: '閫氱煡绠$悊'
   },
   {
-    path: '/fytz/userInfo',
+    path: 'fytz/userInfo',
     icon: 'User',
     name: '璐︽埛淇℃伅'
   },
@@ -183,14 +229,14 @@
     name: '璧勬簮绠$悊',
     children: [
       {
-        path: '/fytz/enforceCase',
+        path: 'fytz/enforceCase',
         icon: 'Search',
         name: '鐫e療妗堜緥'
       }
     ]
   },
   ...MENU_COMMON
-]
+];
 
 const MENU_FYPW = [
   {
@@ -198,6 +244,6 @@
     icon: 'Search',
     name: '鎺掓薄鎶借繍'
   }
-]
+];
 
-export { MENU_FYSP, MENU_FYTZ, MENU_FYPW, MENU_COMMON }
+export { MENU_FYSP, MENU_FYTZ, MENU_FYPW, MENU_COMMON };

--
Gitblit v1.9.3