From 5efcf83a4a67bf5cefbee480c58a697553f9f8de Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 01 八月 2025 17:32:51 +0800 Subject: [PATCH] 新增问题复发清清单界面 --- src/constants/menu.js | 110 +++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 78 insertions(+), 32 deletions(-) diff --git a/src/constants/menu.js b/src/constants/menu.js index 9e744ee..b234fcb 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 = [ // { @@ -17,7 +25,7 @@ { path: '/fysp/procheck', icon: 'CircleCheck', - name: '闂瀹℃牳' + name: '闂鏁存敼' }, { icon: 'List', @@ -26,45 +34,83 @@ { path: '/fysp/task/manage', icon: 'CircleCheck', - name: '鐩戠浠诲姟', + name: '鐩戠浠诲姟' }, { path: '/fysp/sceneInfo', icon: 'Files', - name: '鍦烘櫙淇℃伅', - }, - ], + name: '鍦烘櫙淇℃伅' + } + ] }, { icon: 'DataAnalysis', - name: '鏁版嵁浜у搧', + name: '鍩虹鏁版嵁浜у搧', + children: [ + // { + // path: '/fysp/data-product/base/ProdScenseInfo', + // icon: 'Document', + // 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: '闂鍔ㄦ�佽窡韪�', + 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: '鏃ユ姤绠$悊' }, + { + path: '/fysp/data-product/lawenforcelist', + icon: 'Document', + name: '鑱斿悎鎵ф硶娓呭崟' + }, + + ] + }, + { + icon: 'DataAnalysis', + name: '鏈�缁堟暟鎹骇鍝�', + children: [ { path: '/fysp/data-product/scenereport', icon: 'Document', - name: '鍦烘櫙鎶ュ憡', - }, - ], + name: '鍦烘櫙鍒嗘瀽鎶ュ憡' + } + ] }, // { // path: '/changecheck', @@ -78,14 +124,14 @@ { path: '/fysp/evaluation/evalutationTask', icon: 'MessageBox', - name: '璇勪及浠诲姟', + name: '璇勪及浠诲姟' }, { path: '/fysp/evaluation/evalutationRecord', icon: 'Tickets', - name: '璇勪及璁板綍', - }, - ], + name: '璇勪及璁板綍' + } + ] }, { icon: 'Setting', @@ -94,20 +140,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,14 +206,14 @@ // ] // }, ...MENU_COMMON -] +]; const MENU_FYTZ = [ - { - path: '/fytz/ledger', - icon: 'Search', - name: '鍙拌处瀹℃牳' - }, + // { + // path: '/fytz/ledger', + // icon: 'Search', + // name: '鍙拌处瀹℃牳' + // }, { path: '/fytz/notice', icon: 'Message', @@ -190,7 +236,7 @@ ] }, ...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