From 39ab910fe59480a35ebca316cd66e3995e70d4ed Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期五, 13 九月 2024 11:58:49 +0800 Subject: [PATCH] 支持刷新低代码, --- src/api/login/UserMenuData.ts | 154 ++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 116 insertions(+), 38 deletions(-) diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts index b871351..03c5c0a 100644 --- a/src/api/login/UserMenuData.ts +++ b/src/api/login/UserMenuData.ts @@ -6,7 +6,7 @@ Name: '浣庝唬鐮�', Path: '', Permission: '', - Icon: 'ele-Memo', + Icon: 'ele-Compass', IsIframe: false, OutLink: '', IsHide: false, @@ -16,29 +16,13 @@ Children: [ { Children: [], - ID: '1', - ParentID: '1742436890822447104', - Type: 2, - Name: 'AMIS缂栬緫', - Path: '/home', - Permission: '', - Icon: 'ywifont ywicon-a-appround15', - IsIframe: true, - OutLink: 'http://101.133.133.173:9096/amis', - IsHide: false, - Weight: 0, - SortCode: 2, - Description: '', - }, - { - Children: [], ID: '3', ParentID: '1742436890822447104', Type: 2, Name: '椤甸潰绠$悊', - Path: '/lowCode/sqlAmis', + Path: '/home', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ele-Memo', IsIframe: false, OutLink: '', IsHide: false, @@ -46,22 +30,22 @@ 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: '', - // }, + { + Children: [], + ID: '1', + ParentID: '1742436890822447104', + Type: 2, + Name: 'AMIS缂栬緫', + Path: '/amisEditor', + Permission: '', + Icon: 'ywifont ywicon-a-appround15', + IsIframe: true, + OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=33', + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, ], }, { @@ -71,7 +55,7 @@ Name: '鏁版嵁涓績', Path: '', Permission: '', - Icon: 'ele-Memo', + Icon: 'ywifont ywicon-shujuzhongxin', IsIframe: false, OutLink: '', IsHide: false, @@ -87,7 +71,7 @@ Name: '鏁版嵁绠$悊', Path: '/graph/graphIndex', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ywifont ywicon-shujuguanli', IsIframe: false, IsHide: false, Weight: 0, @@ -132,7 +116,7 @@ Name: '鐭ヨ瘑绱㈠紩', Path: '/knowledge/knowledgeIndex', Permission: '', - Icon: 'ywifont ywicon-a-appround15', + Icon: 'ywifont ywicon-changyonggongjuzhishisuoyin', IsIframe: false, IsHide: false, Weight: 0, @@ -154,6 +138,100 @@ SortCode: 2, Description: '', }, + { + Children: [], + ID: '1', + ParentID: '1742436890822447105', + Type: 2, + Name: '缂栬緫鐭ヨ瘑搴�', + Path: '/knowledge/editKnowledge', + 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/viewKnowledge', + 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/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: '', + Icon: 'ywifont ywicon-a-appround15', + IsIframe: false, + IsHide: true, + Weight: 0, + SortCode: 2, + Description: '', + }, + ], + }, + { + ID: '3', + ParentID: '0', + Type: 1, + Name: '绯荤粺璁剧疆', + Path: '', + Permission: '', + Icon: 'ele-Compass', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 1, + Description: '', + Children: [ + { + Children: [], + ID: '4', + ParentID: '3', + Type: 2, + Name: '鎰忓悜鎻愮ず', + Path: '/supervisorPrompt', + Permission: '', + Icon: 'ele-Memo', + IsIframe: false, + OutLink: '', + IsHide: false, + Weight: 0, + SortCode: 2, + Description: '', + }, + ], }, ]; -- Gitblit v1.9.3