From f5052fa7d4e73c0df5a02a6ad8987f35df42b8f8 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 07 十一月 2024 17:23:50 +0800
Subject: [PATCH] 1. 完成场景报告模块 2. 日报管理模块添加时间范围选择以及word报告生成

---
 src/constants/menu.js |   68 ++++++++++++++++++++-------------
 1 files changed, 41 insertions(+), 27 deletions(-)

diff --git a/src/constants/menu.js b/src/constants/menu.js
index 9e744ee..9f44cb9 100644
--- a/src/constants/menu.js
+++ b/src/constants/menu.js
@@ -4,7 +4,15 @@
     icon: 'Connection',
     name: '璐︽埛鍖归厤'
   }
-]
+];
+
+if (import.meta.env.DEV) {
+  MENU_COMMON.push({
+    path: '/common/docTest',
+    icon: 'Connection',
+    name: '鏂囨。鐢熸垚'
+  });
+}
 
 const MENU_FYSP = [
   // {
@@ -26,45 +34,51 @@
       {
         path: '/fysp/task/manage',
         icon: 'CircleCheck',
-        name: '鐩戠浠诲姟',
+        name: '鐩戠浠诲姟'
       },
       {
         path: '/fysp/sceneInfo',
         icon: 'Files',
-        name: '鍦烘櫙淇℃伅',
-      },
-    ],
+        name: '鍦烘櫙淇℃伅'
+      }
+    ]
   },
   {
     icon: 'DataAnalysis',
-    name: '鏁版嵁浜у搧',
+    name: '涓棿鏁版嵁浜у搧',
     children: [
       {
         path: '/fysp/data-product/profollow',
         icon: 'Document',
-        name: '闂鍔ㄦ�佽窡韪�',
+        name: '闂鍔ㄦ�佽窡韪�'
       },
       {
         path: '/fysp/data-product/proanalysis',
         icon: 'Document',
-        name: '闂鏁存敼鍒嗘瀽',
+        name: '闂鏁存敼鍒嗘瀽'
       },
       {
         path: '/fysp/data-product/standardjudge',
         icon: 'Document',
-        name: '瑙勮寖鎬ц瘎浼�',
+        name: '瑙勮寖鎬ц瘎浼�'
       },
       {
         path: '/fysp/data-product/dailyreport',
         icon: 'Document',
-        name: '鏃ユ姤绠$悊',
-      },
+        name: '鏃ユ姤绠$悊'
+      }
+    ]
+  },
+  {
+    icon: 'DataAnalysis',
+    name: '鏈�缁堟暟鎹骇鍝�',
+    children: [
       {
         path: '/fysp/data-product/scenereport',
         icon: 'Document',
-        name: '鍦烘櫙鎶ュ憡',
-      },
-    ],
+        name: '鍦烘櫙鎶ュ憡'
+      }
+    ]
   },
   // {
   //   path: '/changecheck',
@@ -78,14 +92,14 @@
       {
         path: '/fysp/evaluation/evalutationTask',
         icon: 'MessageBox',
-        name: '璇勪及浠诲姟',
+        name: '璇勪及浠诲姟'
       },
       {
         path: '/fysp/evaluation/evalutationRecord',
         icon: 'Tickets',
-        name: '璇勪及璁板綍',
-      },
-    ],
+        name: '璇勪及璁板綍'
+      }
+    ]
   },
   {
     icon: 'Setting',
@@ -94,20 +108,20 @@
       {
         path: '/fysp/config/problemType',
         icon: 'List',
-        name: '鐩戠闂',
+        name: '鐩戠闂'
       },
       {
         path: '/fysp/config/deviceMatch',
         icon: 'List',
-        name: '璁惧鍖归厤',
+        name: '璁惧鍖归厤'
       },
       {
         //璇勪及瑙勫垯绠$悊
         path: '/fysp/config/evalutationRule',
         icon: 'List',
-        name: '璇勪及瑙勫垯',
-      },
-    ],
+        name: '璇勪及瑙勫垯'
+      }
+    ]
   },
   {
     path: '/fysp/support',
@@ -160,7 +174,7 @@
   //   ]
   // },
   ...MENU_COMMON
-]
+];
 
 const MENU_FYTZ = [
   {
@@ -190,7 +204,7 @@
     ]
   },
   ...MENU_COMMON
-]
+];
 
 const MENU_FYPW = [
   {
@@ -198,6 +212,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