From a3c84d896dff3758f3bc3274b0306afe018179a8 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期四, 12 十二月 2024 11:35:58 +0800
Subject: [PATCH] 保存,获取

---
 src/api/login/UserMenuData.ts |  574 +++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 335 insertions(+), 239 deletions(-)

diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts
index 3c644ba..4a50e83 100644
--- a/src/api/login/UserMenuData.ts
+++ b/src/api/login/UserMenuData.ts
@@ -16,8 +16,8 @@
 		Children: [
 			{
 				Children: [],
-				ID: '1',
-				ParentID: '3',
+				ID: '1121',
+				ParentID: '1742436890822447104',
 				Type: 2,
 				Name: '鎸囨爣绠$悊',
 				Path: '/home',
@@ -30,11 +30,26 @@
 				SortCode: 2,
 				Description: '',
 			},
-
 			{
 				Children: [],
-				ID: '1',
-				ParentID: '1742436890822447105',
+				ID: '1122',
+				ParentID: '1742436890822447104',
+				Type: 2,
+				Name: '鎸囨爣鍥捐氨',
+				Path: '/agent/graph',
+				Permission: '',
+				Icon: 'ywifont ywicon-zhibiao',
+				IsIframe: false,
+				OutLink: '',
+				IsHide: true,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '1123',
+				ParentID: '1742436890822447104',
 				Type: 2,
 				Name: '鎸囨爣璇︽儏',
 				Path: '/MetricDetail',
@@ -46,15 +61,33 @@
 				SortCode: 2,
 				Description: '',
 			},
+
 			{
 				Children: [],
-				ID: '99',
-				ParentID: '3',
+				ID: '1124',
+				ParentID: '1742436890822447104',
 				Type: 2,
-				Name: '绯荤粺鍒嗙粍',
-				Path: '/sysGroupMgr',
+				Name: '鎸囨爣鎵ц鍣�',
+				Path: '/metricAgent',
 				Permission: '',
-				Icon: 'ywifont ywicon-zhibiao',
+				Icon: 'ywifont ywicon-bofang',
+				IsIframe: false,
+				OutLink: '',
+				IsHide: false,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+
+			{
+				Children: [],
+				ID: '1125',
+				ParentID: '1742436890822447104',
+				Type: 2,
+				Name: '缁村害绠$悊',
+				Path: '/dimensionMgr',
+				Permission: '',
+				Icon: 'ywifont ywicon-duoweidu',
 				IsIframe: false,
 				OutLink: '',
 				IsHide: false,
@@ -64,13 +97,277 @@
 			},
 			{
 				Children: [],
-				ID: '1',
+				ID: '1126',
+				ParentID: '1742436890822447104',
+				Type: 2,
+				Name: '鎰忓悜鎻愮ず',
+				Path: '/supervisorPrompt',
+				Permission: '',
+				Icon: 'ywifont ywicon-tishici',
+				IsIframe: false,
+				OutLink: '',
+				IsHide: false,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '1127',
+				ParentID: '1742436890822447104',
+				Type: 2,
+				Name: '椤甸潰绠$悊',
+				Path: '/pageMgr',
+				Permission: '',
+				Icon: 'ele-Memo',
+				IsIframe: false,
+				OutLink: '',
+				IsHide: false,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '1128',
+				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=313',
+				IsHide: true,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '1129',
+				ParentID: '1742436890822447104',
+				Type: 2,
+				Name: '鎺ㄨ崘闂',
+				Path: '/recommendQuestions',
+				Permission: '',
+				Icon: 'ywifont ywicon-shoucang2',
+				IsIframe: false,
+				OutLink: '',
+				IsHide: false,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '1130',
+				ParentID: '1742436890822447104',
+				Type: 2,
+				Name: '宸ヤ綔绠$悊',
+				Path: '/workFlow/WorkFlowIndex',
+				Permission: '',
+				Icon: 'ywifont ywicon-jiegou',
+				IsIframe: false,
+				IsHide: false,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '1131',
+				ParentID: '1742436890822447104',
+				Type: 2,
+				Name: '宸ヤ綔娴佽璁�',
+				Path: '/workFlow/design',
+				Permission: '',
+				Icon: 'ywifont ywicon-shoucang2',
+				IsIframe: false,
+				OutLink: '',
+				IsHide: true,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+		],
+	},
+	{
+		ID: '1742436890822447105',
+		ParentID: '0',
+		Type: 1,
+		Name: '鐭ヨ瘑鍥捐氨',
+		Path: '',
+		Permission: '',
+		Icon: 'ywifont ywicon-shujuzhongxin',
+		IsIframe: false,
+		OutLink: '',
+		IsHide: false,
+		Weight: 0,
+		SortCode: 1,
+		Description: '',
+		Children: [
+			{
+				Children: [],
+				ID: '3321',
+				ParentID: '1742436890822447105',
+				Type: 2,
+				Name: '鏁版嵁绠$悊',
+				Path: '/graph/graphIndex',
+				Permission: '',
+				Icon: 'ywifont ywicon-shujuguanli',
+				IsIframe: false,
+				IsHide: false,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '3322',
+				ParentID: '1742436890822447105',
+				Type: 2,
+				Name: '鏂囨。璇︽儏',
+				Path: '/graph/graphDetail',
+				Permission: '',
+				Icon: 'ywifont ywicon-a-appround15',
+				IsIframe: false,
+				IsHide: true,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '3323',
+				ParentID: '1742436890822447105',
+				Type: 2,
+				Name: '鏁版嵁瀵煎叆',
+				Path: '/graph/addGraph',
+				Permission: '',
+				Icon: 'ywifont ywicon-a-appround15',
+				IsIframe: false,
+				IsHide: true,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '3324',
+				ParentID: '1742436890822447105',
+				Type: 2,
+				Name: '鐭ヨ瘑绱㈠紩',
+				Path: '/knowledge/knowledgeIndex',
+				Permission: '',
+				Icon: 'ywifont ywicon-changyonggongjuzhishisuoyin',
+				IsIframe: false,
+				IsHide: false,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+			{
+				Children: [],
+				ID: '3325',
+				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: '3326',
+				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: '3327',
+				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: '3328',
+				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: '3329',
+				ParentID: '1742436890822447105',
+				Type: 2,
+				Name: '鏌ョ湅鏂囦欢',
+				Path: '/knowledge/viewFile',
+				Permission: '',
+				Icon: 'ywifont ywicon-a-appround15',
+				IsIframe: false,
+				IsHide: true,
+				Weight: 0,
+				SortCode: 2,
+				Description: '',
+			},
+		],
+	},
+	{
+		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: '/metricAgent',
+				Name: '绯荤粺鍒嗙粍',
+				Path: '/sysGroupMgr',
 				Permission: '',
-				Icon: 'ywifont ywicon-bofang',
+				Icon: 'ywifont ywicon-zhibiao',
 				IsIframe: false,
 				OutLink: '',
 				IsHide: false,
@@ -96,77 +393,13 @@
 			},
 			{
 				Children: [],
-				ID: '6',
+				ID: '333-2',
 				ParentID: '3',
 				Type: 2,
-				Name: '缁村害绠$悊',
-				Path: '/dimensionMgr',
+				Name: '瀵硅瘽鏃ュ織',
+				Path: '/chatLog',
 				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缂栬緫',
-				Path: '/amisEditor',
-				Permission: '',
-				Icon: 'ywifont ywicon-a-appround15',
-				IsIframe: true,
-				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',
+				Icon: 'ywifont ywicon-wendang',
 				IsIframe: false,
 				OutLink: '',
 				IsHide: false,
@@ -177,165 +410,13 @@
 		],
 	},
 	{
-		ID: '1742436890822447105',
-		ParentID: '0',
-		Type: 1,
-		Name: '鐭ヨ瘑鍥捐氨',
-		Path: '',
-		Permission: '',
-		Icon: 'ywifont ywicon-shujuzhongxin',
-		IsIframe: false,
-		OutLink: '',
-		IsHide: false,
-		Weight: 0,
-		SortCode: 1,
-		Description: '',
-		Children: [
-			{
-				Children: [],
-				ID: '1',
-				ParentID: '1742436890822447105',
-				Type: 2,
-				Name: '鏁版嵁绠$悊',
-				Path: '/graph/graphIndex',
-				Permission: '',
-				Icon: 'ywifont ywicon-shujuguanli',
-				IsIframe: false,
-				IsHide: false,
-				Weight: 0,
-				SortCode: 2,
-				Description: '',
-			},
-			{
-				Children: [],
-				ID: '1',
-				ParentID: '1742436890822447105',
-				Type: 2,
-				Name: '鏂囨。璇︽儏',
-				Path: '/graph/graphDetail',
-				Permission: '',
-				Icon: 'ywifont ywicon-a-appround15',
-				IsIframe: false,
-				IsHide: true,
-				Weight: 0,
-				SortCode: 2,
-				Description: '',
-			},
-			{
-				Children: [],
-				ID: '1',
-				ParentID: '1742436890822447105',
-				Type: 2,
-				Name: '鏁版嵁瀵煎叆',
-				Path: '/graph/addGraph',
-				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/knowledgeIndex',
-				Permission: '',
-				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: '333',
+		ID: '4444',
 		ParentID: '0',
 		Type: 1,
 		Name: '鏉冮檺涓績',
 		Path: '',
 		Permission: '',
-		Icon: 'ywifont ywicon-shujuzhongxin',
+		Icon: 'ywifont ywicon-quanxian',
 		IsIframe: false,
 		OutLink: '',
 		IsHide: false,
@@ -351,7 +432,7 @@
 				Name: '瑙掕壊绠$悊',
 				Path: '/authCenter/roleMgr',
 				Permission: '',
-				Icon: 'ywifont ywicon-shujuguanli',
+				Icon: 'ywifont ywicon-jiaose',
 				IsIframe: false,
 				IsHide: false,
 				Weight: 0,
@@ -366,7 +447,7 @@
 				Name: '鐢ㄦ埛绠$悊',
 				Path: '/authCenter/userMgr',
 				Permission: '',
-				Icon: 'ywifont ywicon-shujuguanli',
+				Icon: 'ywifont ywicon-wode',
 				IsIframe: false,
 				IsHide: false,
 				Weight: 0,
@@ -376,12 +457,27 @@
 			{
 				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-shujuguanli',
+				Icon: 'ywifont ywicon-wendang',
 				IsIframe: false,
 				IsHide: false,
 				Weight: 0,

--
Gitblit v1.9.3