From ca5ac89a24c6ace3fb7897b4b238b243059dcb43 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 18 十一月 2024 09:32:18 +0800 Subject: [PATCH] 1. word生成优化图片大小生成逻辑 --- src/constants/menu.js | 118 +++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 79 insertions(+), 39 deletions(-) diff --git a/src/constants/menu.js b/src/constants/menu.js index 49c2faf..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 = [ // { @@ -19,16 +27,64 @@ icon: 'CircleCheck', name: '闂瀹℃牳' }, + { + icon: 'List', + name: '浠诲姟绠$悊', + children: [ + { + path: '/fysp/task/manage', + icon: 'CircleCheck', + name: '鐩戠浠诲姟' + }, + { + path: '/fysp/sceneInfo', + icon: 'Files', + name: '鍦烘櫙淇℃伅' + } + ] + }, + { + icon: 'DataAnalysis', + name: '涓棿鏁版嵁浜у搧', + children: [ + { + path: '/fysp/data-product/profollow', + icon: 'Document', + name: '闂鍔ㄦ�佽窡韪�' + }, + { + path: '/fysp/data-product/proanalysis', + icon: 'Document', + name: '闂鏁存敼鍒嗘瀽' + }, + { + path: '/fysp/data-product/standardjudge', + icon: 'Document', + name: '瑙勮寖鎬ц瘎浼�' + }, + { + path: '/fysp/data-product/dailyreport', + icon: 'Document', + name: '鏃ユ姤绠$悊' + } + ] + }, + { + icon: 'DataAnalysis', + name: '鏈�缁堟暟鎹骇鍝�', + children: [ + { + path: '/fysp/data-product/scenereport', + icon: 'Document', + name: '鍦烘櫙鎶ュ憡' + } + ] + }, // { // path: '/changecheck', // icon: 'Search', // name: '鏁存敼瀹℃牳', // }, - { - path: '/fysp/sceneInfo', - icon: 'Files', - name: '鍦烘櫙淇℃伅' - }, { icon: 'DocumentChecked', name: '鑷姩璇勪及', @@ -36,14 +92,14 @@ { path: '/fysp/evaluation/evalutationTask', icon: 'MessageBox', - name: '璇勪及浠诲姟', + name: '璇勪及浠诲姟' }, { path: '/fysp/evaluation/evalutationRecord', icon: 'Tickets', - name: '璇勪及璁板綍', - }, - ], + name: '璇勪及璁板綍' + } + ] }, { icon: 'Setting', @@ -52,42 +108,26 @@ { path: '/fysp/config/problemType', icon: 'List', - name: '鐩戠闂', + name: '鐩戠闂' }, { path: '/fysp/config/deviceMatch', icon: 'List', - name: '璁惧鍖归厤', + name: '璁惧鍖归厤' }, - ], + { + //璇勪及瑙勫垯绠$悊 + path: '/fysp/config/evalutationRule', + icon: 'List', + name: '璇勪及瑙勫垯' + } + ] }, { path: '/fysp/support', icon: 'Files', name: '瀵瑰鏀寔' }, - - // { - // icon: 'Search', - // name: '涓氬姟鍒嗘瀽', - // children: [ - // { - // path: '/analysis/profollow', - // icon: 'Search', - // name: '闂鍔ㄦ�佽窡韪�', - // }, - // { - // path: '/analysis/proanalysis', - // icon: 'Search', - // name: '闂鏁存敼鍒嗘瀽', - // }, - // { - // path: '/analysis/standardjudge', - // icon: 'Search', - // name: '瑙勮寖鎬ц瘎浼�', - // }, - // ], - // }, // { // path: '/dailyreport', // icon: 'Search', @@ -134,7 +174,7 @@ // ] // }, ...MENU_COMMON -] +]; const MENU_FYTZ = [ { @@ -164,7 +204,7 @@ ] }, ...MENU_COMMON -] +]; const MENU_FYPW = [ { @@ -172,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