From c70b44c1fdbf5a8bb4e31cd81ab3700e4b4ff43d Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期三, 25 九月 2024 16:33:17 +0800 Subject: [PATCH] 修改 amis-editor --- src/api/login/UserMenuData.ts | 134 +++++++++++++++++++++++++++++++++++--------- 1 files changed, 106 insertions(+), 28 deletions(-) diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts index f94c477..002ac17 100644 --- a/src/api/login/UserMenuData.ts +++ b/src/api/login/UserMenuData.ts @@ -3,10 +3,10 @@ ID: '1742436890822447104', ParentID: '0', Type: 1, - Name: '浣庝唬鐮�', + Name: '鎰忓悜绠$悊', Path: '', Permission: '', - Icon: 'ele-Memo', + Icon: 'ele-Compass', IsIframe: false, OutLink: '', IsHide: false, @@ -14,16 +14,15 @@ SortCode: 1, Description: '', Children: [ - { Children: [], - ID: '3', - ParentID: '1742436890822447104', + ID: '1', + ParentID: '3', Type: 2, - Name: '椤甸潰绠$悊', + Name: '鎸囨爣绠$悊', Path: '/home', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ywifont ywicon-zhibiao', IsIframe: false, OutLink: '', IsHide: false, @@ -34,6 +33,86 @@ { Children: [], ID: '1', + ParentID: '3', + Type: 2, + Name: '鎸囨爣鎵ц鍣�', + Path: '/metricAgent', + Permission: '', + Icon: 'ywifont ywicon-bofang', + 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: '6', + ParentID: '3', + Type: 2, + Name: '缁村害绠$悊', + Path: '/dimensionMgr', + Permission: '', + Icon: 'ywifont ywicon-duoweidu', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '2', + ParentID: '3', + Type: 2, + Name: '鎰忓悜鎻愮ず', + Path: '/supervisorPrompt', + Permission: '', + Icon: 'ywifont ywicon-tishici', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '3', + ParentID: '1742436890822447104', + Type: 2, + Name: '椤甸潰绠$悊', + Path: '/pageMgr', + Permission: '', + Icon: 'ele-Memo', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '4', ParentID: '1742436890822447104', Type: 2, Name: 'AMIS缂栬緫', @@ -41,28 +120,12 @@ Permission: '', Icon: 'ywifont ywicon-a-appround15', IsIframe: true, - OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=23', + OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=313', IsHide: true, Weight: 0, SortCode: 2, Description: '', - } - // { - // Children: [], - // ID: '2', - // ParentID: '1742436890822447104', - // Type: 2, - // Name: 'SQL缂栬緫鍣�', - // Path: '/lowCode/sqlAmis/edit', - // Permission: '', - // Icon: 'ywifont ywicon-a-appround15', - // IsIframe: false, - // OutLink: '', - // IsHide: true, - // Weight: 0, - // SortCode: 2, - // Description: '', - // }, + }, ], }, { @@ -72,7 +135,7 @@ Name: '鏁版嵁涓績', Path: '', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-shujuzhongxin', IsIframe: false, OutLink: '', IsHide: false, @@ -88,7 +151,7 @@ Name: '鏁版嵁绠$悊', Path: '/graph/graphIndex', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ywifont ywicon-shujuguanli', IsIframe: false, IsHide: false, Weight: 0, @@ -133,7 +196,7 @@ Name: '鐭ヨ瘑绱㈠紩', Path: '/knowledge/knowledgeIndex', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ywifont ywicon-changyonggongjuzhishisuoyin', IsIframe: false, IsHide: false, Weight: 0, @@ -190,6 +253,21 @@ ID: '1', ParentID: '1742436890822447105', Type: 2, + Name: '鏌ョ湅鏂囦欢鍧�', + Path: '/knowledge/viewSegmentationFile', + Permission: '', + Icon: 'ywifont ywicon-a-appround15', + IsIframe: false, + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, + { + Children: [], + ID: '1', + ParentID: '1742436890822447105', + Type: 2, Name: '鏌ョ湅鏂囦欢', Path: '/knowledge/viewFile', Permission: '', -- Gitblit v1.9.3