From 73a5e692e3401695dea8d602cca3cadbc2934db9 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期四, 05 九月 2024 15:38:08 +0800
Subject: [PATCH] 集成 amis编辑

---
 src/api/login/UserMenuData.ts |   89 +++++++++++++++++++++++++++++++++-----------
 1 files changed, 67 insertions(+), 22 deletions(-)

diff --git a/src/api/login/UserMenuData.ts b/src/api/login/UserMenuData.ts
index 2998348..624da25 100644
--- a/src/api/login/UserMenuData.ts
+++ b/src/api/login/UserMenuData.ts
@@ -19,12 +19,12 @@
 				ID: '1',
 				ParentID: '1742436890822447104',
 				Type: 2,
-				Name: 'AMIS缂栬緫鍣�',
+				Name: 'AMIS缂栬緫',
 				Path: '/home',
 				Permission: '',
 				Icon: 'ywifont ywicon-a-appround15',
 				IsIframe: true,
-				OutLink: 'http://101.133.133.173:8021/',
+				OutLink: '/amis-editor/index.html?session={token}',
 				IsHide: false,
 				Weight: 0,
 				SortCode: 2,
@@ -35,40 +35,40 @@
 				ID: '3',
 				ParentID: '1742436890822447104',
 				Type: 2,
-				Name: 'SQL-AMIS缂栬緫鍣�',
+				Name: '椤甸潰绠$悊',
 				Path: '/lowCode/sqlAmis',
 				Permission: '',
 				Icon: 'ywifont ywicon-a-appround15',
 				IsIframe: false,
 				OutLink: '',
-				IsHide: true,
+				IsHide: false,
 				Weight: 0,
 				SortCode: 2,
 				Description: '',
 			},
-			{
-				Children: [],
-				ID: '2',
-				ParentID: '1742436890822447104',
-				Type: 2,
-				Name: 'SQL-AMIS缂栬緫',
-				Path: '/lowCode/sqlAmis/edit',
-				Permission: '',
-				Icon: 'ywifont ywicon-a-appround15',
-				IsIframe: false,
-				OutLink: '',
-				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: '',
+			// },
 		],
 	},
 	{
 		ID: '1742436890822447105',
 		ParentID: '0',
 		Type: 1,
-		Name: '鏁版嵁绠$悊',
+		Name: '鏁版嵁涓績',
 		Path: '',
 		Permission: '',
 		Icon: 'ele-Memo',
@@ -84,7 +84,7 @@
 				ID: '1',
 				ParentID: '1742436890822447105',
 				Type: 2,
-				Name: '鏁版嵁鍒楄〃',
+				Name: '鏁版嵁绠$悊',
 				Path: '/graph/graphIndex',
 				Permission: '',
 				Icon: 'ywifont ywicon-a-appround15',
@@ -124,6 +124,51 @@
 				SortCode: 2,
 				Description: '',
 			},
+			{
+				Children: [],
+				ID: '1',
+				ParentID: '1742436890822447105',
+				Type: 2,
+				Name: '鐭ヨ瘑绱㈠紩',
+				Path: '/knowledge/knowledgeIndex',
+				Permission: '',
+				Icon: 'ywifont ywicon-a-appround15',
+				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: '',
+			},
 		],
 	},
 ];

--
Gitblit v1.9.3