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 |  147 ++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 120 insertions(+), 27 deletions(-)

diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts
index adaa400..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:8021/',
-				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,
@@ -48,15 +32,15 @@
 			},
 			{
 				Children: [],
-				ID: '2',
+				ID: '1',
 				ParentID: '1742436890822447104',
 				Type: 2,
-				Name: 'SQL缂栬緫鍣�',
-				Path: '/lowCode/sqlAmis/edit',
+				Name: 'AMIS缂栬緫',
+				Path: '/amisEditor',
 				Permission: '',
 				Icon: 'ywifont ywicon-a-appround15',
-				IsIframe: false,
-				OutLink: '',
+				IsIframe: true,
+				OutLink: '/amis-editor/index.html?session={token}#/edit/lowCode&v=33',
 				IsHide: true,
 				Weight: 0,
 				SortCode: 2,
@@ -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,13 +116,122 @@
 				Name: '鐭ヨ瘑绱㈠紩',
 				Path: '/knowledge/knowledgeIndex',
 				Permission: '',
-				Icon: 'ywifont ywicon-a-appround15',
+				Icon: 'ywifont ywicon-changyonggongjuzhishisuoyin',
 				IsIframe: false,
 				IsHide: false,
 				Weight: 0,
 				SortCode: 2,
 				Description: '',
 			},
+			{
+				Children: [],
+				ID: '1',
+				ParentID: '1742436890822447105',
+				Type: 2,
+				Name: '鍒涘缓鐭ヨ瘑搴�',
+				Path: '/knowledge/addKnowledge',
+				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/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