From d12e110b3d95298172a4ca3d1123638b67b835c6 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期一, 11 十一月 2024 16:32:53 +0800 Subject: [PATCH] 新增部门管理 --- src/api/login/UserMenuData.ts | 211 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 201 insertions(+), 10 deletions(-) diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts index 78109c9..ae37c1b 100644 --- a/src/api/login/UserMenuData.ts +++ b/src/api/login/UserMenuData.ts @@ -3,7 +3,7 @@ ID: '1742436890822447104', ParentID: '0', Type: 1, - Name: '鎰忓悜绠$悊', + Name: '妯″瀷绠$悊', Path: '', Permission: '', Icon: 'ele-Compass', @@ -22,7 +22,7 @@ Name: '鎸囨爣绠$悊', Path: '/home', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-zhibiao', IsIframe: false, OutLink: '', IsHide: false, @@ -32,13 +32,45 @@ }, { Children: [], - ID: '5', + ID: '1', ParentID: '3', Type: 2, - Name: '鏁版嵁婧愮鐞�', - Path: '/dataSourceMgr', + Name: '鎸囨爣鍥捐氨', + Path: '/agent/graph', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-zhibiao', + IsIframe: false, + OutLink: '', + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '1', + ParentID: '1742436890822447105', + Type: 2, + Name: '鎸囨爣璇︽儏', + Path: '/MetricDetail', + Permission: '', + Icon: 'ywifont ywicon-shujuguanli', + IsIframe: false, + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, + + { + Children: [], + ID: '1', + ParentID: '3', + Type: 2, + Name: '鎸囨爣鎵ц鍣�', + Path: '/metricAgent', + Permission: '', + Icon: 'ywifont ywicon-bofang', IsIframe: false, OutLink: '', IsHide: false, @@ -46,6 +78,7 @@ SortCode: 2, Description: '', }, + { Children: [], ID: '6', @@ -54,7 +87,7 @@ Name: '缁村害绠$悊', Path: '/dimensionMgr', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-duoweidu', IsIframe: false, OutLink: '', IsHide: false, @@ -70,7 +103,7 @@ Name: '鎰忓悜鎻愮ず', Path: '/supervisorPrompt', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-tishici', IsIframe: false, OutLink: '', IsHide: false, @@ -104,8 +137,24 @@ Permission: '', Icon: 'ywifont ywicon-a-appround15', IsIframe: true, - OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=332', + OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=313', IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '3', + ParentID: '1742436890822447104', + Type: 2, + Name: '鎺ㄨ崘闂', + Path: '/recommendQuestions', + Permission: '', + Icon: 'ywifont ywicon-shoucang2', + IsIframe: false, + OutLink: '', + IsHide: false, Weight: 0, SortCode: 2, Description: '', @@ -116,7 +165,7 @@ ID: '1742436890822447105', ParentID: '0', Type: 1, - Name: '鏁版嵁涓績', + Name: '鐭ヨ瘑鍥捐氨', Path: '', Permission: '', Icon: 'ywifont ywicon-shujuzhongxin', @@ -264,4 +313,146 @@ }, ], }, + { + ID: '3333', + ParentID: '0', + Type: 1, + Name: '绯荤粺绠$悊', + Path: '', + Permission: '', + Icon: 'ywifont ywicon-shezhi', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 1, + Description: '', + Children: [ + { + Children: [], + ID: '99', + ParentID: '3', + Type: 2, + Name: '绯荤粺鍒嗙粍', + Path: '/sysGroupMgr', + Permission: '', + Icon: 'ywifont ywicon-zhibiao', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '5', + ParentID: '3', + Type: 2, + Name: '鏁版嵁婧愮鐞�', + Path: '/dataSourceMgr', + Permission: '', + Icon: 'ywifont ywicon-sql', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '333-2', + ParentID: '3', + Type: 2, + Name: '瀵硅瘽鏃ュ織', + Path: '/chatLog', + Permission: '', + Icon: 'ywifont ywicon-wendang', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + ], + }, + { + ID: '4444', + ParentID: '0', + Type: 1, + Name: '鏉冮檺涓績', + Path: '', + Permission: '', + Icon: 'ywifont ywicon-quanxian', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 1, + Description: '', + Children: [ + { + Children: [], + ID: '333-1', + ParentID: '1742436890822447105', + Type: 2, + Name: '瑙掕壊绠$悊', + Path: '/authCenter/roleMgr', + Permission: '', + Icon: 'ywifont ywicon-jiaose', + IsIframe: false, + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '333-2', + ParentID: '1742436890822447105', + Type: 2, + Name: '鐢ㄦ埛绠$悊', + Path: '/authCenter/userMgr', + Permission: '', + Icon: 'ywifont ywicon-wode', + IsIframe: false, + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '333-3', + ParentID: '1742436890822447205', + Type: 2, + Name: '閮ㄩ棬绠$悊', + Path: '/authCenter/departmentMgr', + Permission: '', + Icon: 'ywifont ywicon-jiegou', + IsIframe: false, + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '333-4', + ParentID: '1742436890822447105', + Type: 2, + Name: '鎿嶄綔鏃ュ織', + Path: '/authCenter/operateLog', + Permission: '', + Icon: 'ywifont ywicon-wendang', + IsIframe: false, + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + ], + }, ]; -- Gitblit v1.9.3