From c720544e1bf26087dc2a3803389be13e250f7d8e Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 24 十月 2024 15:28:25 +0800 Subject: [PATCH] 权限中心 --- src/api/login/UserMenuData.ts | 150 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 146 insertions(+), 4 deletions(-) diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts index f6babb6..0b84dde 100644 --- a/src/api/login/UserMenuData.ts +++ b/src/api/login/UserMenuData.ts @@ -22,7 +22,55 @@ Name: '鎸囨爣绠$悊', Path: '/home', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-zhibiao', + IsIframe: false, + OutLink: '', + IsHide: false, + 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: '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: '1', + ParentID: '3', + Type: 2, + Name: '鎸囨爣鎵ц鍣�', + Path: '/metricAgent', + Permission: '', + Icon: 'ywifont ywicon-bofang', IsIframe: false, OutLink: '', IsHide: false, @@ -38,7 +86,23 @@ Name: '鏁版嵁婧愮鐞�', Path: '/dataSourceMgr', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-sql', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '6', + ParentID: '3', + Type: 2, + Name: '缁村害绠$悊', + Path: '/dimensionMgr', + Permission: '', + Icon: 'ywifont ywicon-duoweidu', IsIframe: false, OutLink: '', IsHide: false, @@ -54,7 +118,7 @@ Name: '鎰忓悜鎻愮ず', Path: '/supervisorPrompt', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-tishici', IsIframe: false, OutLink: '', IsHide: false, @@ -88,8 +152,24 @@ Permission: '', Icon: 'ywifont ywicon-a-appround15', IsIframe: true, - OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=333', + 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: '', @@ -248,4 +328,66 @@ }, ], }, + { + ID: '333', + ParentID: '0', + Type: 1, + Name: '鏉冮檺涓績', + Path: '', + Permission: '', + Icon: 'ywifont ywicon-shujuzhongxin', + 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-shujuguanli', + 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-shujuguanli', + IsIframe: false, + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '333-3', + ParentID: '1742436890822447105', + Type: 2, + Name: '璁块棶鏃ュ織', + Path: '/authCenter/accessLog', + Permission: '', + Icon: 'ywifont ywicon-shujuguanli', + IsIframe: false, + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + ], + }, ]; -- Gitblit v1.9.3