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 |  226 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 205 insertions(+), 21 deletions(-)

diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts
index 8b84a20..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,
@@ -17,14 +17,78 @@
 			{
 				Children: [],
 				ID: '1',
-				ParentID: '1742436890822447104',
+				ParentID: '3',
 				Type: 2,
-				Name: 'AMIS缂栬緫鍣�',
+				Name: '鎸囨爣绠$悊',
 				Path: '/home',
 				Permission: '',
-				Icon: 'ywifont ywicon-a-appround15',
-				IsIframe: true,
-				OutLink: 'http://101.133.133.173:8021/',
+				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,
+				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,
@@ -35,28 +99,28 @@
 				ID: '3',
 				ParentID: '1742436890822447104',
 				Type: 2,
-				Name: 'SQL-AMIS缂栬緫鍣�',
-				Path: '/lowCode/sqlAmis',
+				Name: '椤甸潰绠$悊',
+				Path: '/pageMgr',
 				Permission: '',
-				Icon: 'ywifont ywicon-a-appround15',
+				Icon: 'ele-Memo',
 				IsIframe: false,
 				OutLink: '',
-				IsHide: true,
+				IsHide: false,
 				Weight: 0,
 				SortCode: 2,
 				Description: '',
 			},
 			{
 				Children: [],
-				ID: '2',
+				ID: '4',
 				ParentID: '1742436890822447104',
 				Type: 2,
-				Name: 'SQL-AMIS缂栬緫',
-				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=313',
 				IsHide: true,
 				Weight: 0,
 				SortCode: 2,
@@ -68,10 +132,10 @@
 		ID: '1742436890822447105',
 		ParentID: '0',
 		Type: 1,
-		Name: '鏁版嵁绠$悊',
+		Name: '鏁版嵁涓績',
 		Path: '',
 		Permission: '',
-		Icon: 'ele-Memo',
+		Icon: 'ywifont ywicon-shujuzhongxin',
 		IsIframe: false,
 		OutLink: '',
 		IsHide: false,
@@ -84,16 +148,136 @@
 				ID: '1',
 				ParentID: '1742436890822447105',
 				Type: 2,
-				Name: '鏁版嵁鍒楄〃',
-				Path: '/knowledge/graph',
+				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: true,
+				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: '',
+			},
 		],
 	},
 ];

--
Gitblit v1.9.3