Explorar el Código

注释多余页面

allen hace 2 años
padre
commit
5c7e346e56

+ 2 - 5
src/api/graph/entityClass.js

@@ -17,11 +17,8 @@ import request from '@/utils/request'
 //新的delEntityClass函数
 function delEntityClass(id) {
 	return request({
-		method: 'post',
-		url: `/entcls/del/${id}`,
-		params: {
-			id: id
-		}
+		method: 'delete',
+		url: `/knowledge/class/entcls/del/${id}`
 	})
 }
 

+ 174 - 174
src/assets/knowledge/config/config.js

@@ -146,180 +146,180 @@ window.global = {
 				link: '/mng/class/unknow/entity_v2',
 				children: [],
 			},
-			{
-				code: 'sub_graph',
-				icon: 'api',
-				name: '子图管理',
-				link: '/',
-				children: [
-					{
-						code: 'dataSourceManageV3',
-						name: '子图导入',
-						link: '/dataSourceManageV3',
-					},
-					{
-						code: 'subgraph_export',
-						name: '子图导出',
-						link: '/subGraph/export',
-					},
-				],
-			},
-			{
-				code: 'graph_visual',
-				icon: 'dot-chart',
-				name: '图谱可视化',
-				link: '/',
-				children: [
-					{
-						code: 'entcls_visual',
-						name: '实体类可视化',
-						link: '/sta/entity_class_view',
-					},
-                    // {
-					// 	code: 'ent_visual_v1',
-					// 	name:
-					// 		window.USER_ROLE_LANGUAGE[window.USER_ROLE]
-					// 			.ENT_VIEW,
-					// 	link: '/sta_v1',
-					// },
-					{
-						code: 'ent_visual',
-						name: '实体可视化',
-						link: '/sta',
-					},
-                    {
-						code: 'ent_contrast',
-						name: '实体对比',
-						link: '/sta/contrast',
-					},
-				],
-			},
-			{
-				code: 'analyse',
-				icon: 'deployment-unit',
-				name: '分析',
-				link: '/',
-				children: [
-					{
-						code: 'path_calculation',
-						icon: 'branches',
-						name: '路径计算',
-						link: '/sta/road_computed',
-						children: [],
-					},
-					{
-						code: 'graph_sta_cal',
-						icon: 'bar-chart',
-						name: '图谱数据统计',
-						link: '/sta/data/entcls',
-						children: [],
-					},
-					{
-						code: 'relevance_analyse',
-						icon: 'deployment-unit',
-						name: '关联分析',
-						link: '/sta/relevance_analyse',
-						children: [],
-					},
-					{
-						code: 'influence',
-						icon: 'deployment-unit',
-						name: '影响力分析',
-						link: '/sta/influence',
-						children: [],
-					},
-				],
-			},
-			{
-				code: 'data_product',
-				icon: 'pie-chart',
-				name: '数据产品',
-				link: '/',
-				children: [
-					{
-						code: 'system_build',
-						icon: 'branches',
-						name: '体系构建',
-						link: '/dataProduct/systemBuild',
-						children: [],
-					},
-					{
-						code: 'similarity_analysis',
-						icon: 'branches',
-						name: '相似度分析',
-						link: '/dataProduct/similarityAnalysis',
-						children: [],
-					},
-					{
-						code: 'core_entity_discovery',
-						icon: 'branches',
-						name: '核心实体发现',
-						link: '/dataProduct/coreEntity',
-						children: [],
-					},
-				],
-			},
-			{
-				code: 'matrix_gen',
-				icon: 'upload',
-				name: '邻接矩阵生成',
-				link: '/dataImport',
-				children: [],
-			},
-			{
-				code: 'search',
-				icon: 'search',
-				name: '查询',
-				link: '/sch',
-				children: [],
-			},
-			{
-				code: 'custom_manage',
-				icon: 'appstore',
-				name: '自定义',
-				link: '/',
-				children: [
-					{
-						code: 'custom_attrcls',
-						name: '自定义基础属性类',
-						link: '/custom/attr_class',
-					},
-					{
-						code: 'enum_manage',
-						name: '枚举类管理',
-						link: '/custom/enum',
-					},
-					{
-						code: 'custom_synonym',
-						name: '同义词',
-						link: '/custom/synonym',
-					},
-					{
-						code: 'custom_prefix',
-						name: '前缀管理',
-						link: '/custom/prefix',
-					},
-					{
-						code: 'custom_setting',
-						name: '设置',
-						link: '/custom/setting',
-					},
-				],
-			},
-			{
-				code: 'dataSourceManage',
-				icon: 'file-protect',
-				name: '数据源管理',
-				link: '/dataSourceManage',
-				children: [],
-			},
-			{
-				code: 'ruleAnalysis',
-				icon: 'file-protect',
-				name: '规则分析',
-				link: '/ruleAnalysis',
-				children: [],
-			},
+			// {
+			// 	code: 'sub_graph',
+			// 	icon: 'api',
+			// 	name: '子图管理',
+			// 	link: '/',
+			// 	children: [
+			// 		{
+			// 			code: 'dataSourceManageV3',
+			// 			name: '子图导入',
+			// 			link: '/dataSourceManageV3',
+			// 		},
+			// 		{
+			// 			code: 'subgraph_export',
+			// 			name: '子图导出',
+			// 			link: '/subGraph/export',
+			// 		},
+			// 	],
+			// },
+			// {
+			// 	code: 'graph_visual',
+			// 	icon: 'dot-chart',
+			// 	name: '图谱可视化',
+			// 	link: '/',
+			// 	children: [
+			// 		{
+			// 			code: 'entcls_visual',
+			// 			name: '实体类可视化',
+			// 			link: '/sta/entity_class_view',
+			// 		},
+            //         // {
+			// 		// 	code: 'ent_visual_v1',
+			// 		// 	name:
+			// 		// 		window.USER_ROLE_LANGUAGE[window.USER_ROLE]
+			// 		// 			.ENT_VIEW,
+			// 		// 	link: '/sta_v1',
+			// 		// },
+			// 		{
+			// 			code: 'ent_visual',
+			// 			name: '实体可视化',
+			// 			link: '/sta',
+			// 		},
+            //         {
+			// 			code: 'ent_contrast',
+			// 			name: '实体对比',
+			// 			link: '/sta/contrast',
+			// 		},
+			// 	],
+			// },
+			// {
+			// 	code: 'analyse',
+			// 	icon: 'deployment-unit',
+			// 	name: '分析',
+			// 	link: '/',
+			// 	children: [
+			// 		{
+			// 			code: 'path_calculation',
+			// 			icon: 'branches',
+			// 			name: '路径计算',
+			// 			link: '/sta/road_computed',
+			// 			children: [],
+			// 		},
+			// 		{
+			// 			code: 'graph_sta_cal',
+			// 			icon: 'bar-chart',
+			// 			name: '图谱数据统计',
+			// 			link: '/sta/data/entcls',
+			// 			children: [],
+			// 		},
+			// 		{
+			// 			code: 'relevance_analyse',
+			// 			icon: 'deployment-unit',
+			// 			name: '关联分析',
+			// 			link: '/sta/relevance_analyse',
+			// 			children: [],
+			// 		},
+			// 		{
+			// 			code: 'influence',
+			// 			icon: 'deployment-unit',
+			// 			name: '影响力分析',
+			// 			link: '/sta/influence',
+			// 			children: [],
+			// 		},
+			// 	],
+			// },
+			// {
+			// 	code: 'data_product',
+			// 	icon: 'pie-chart',
+			// 	name: '数据产品',
+			// 	link: '/',
+			// 	children: [
+			// 		{
+			// 			code: 'system_build',
+			// 			icon: 'branches',
+			// 			name: '体系构建',
+			// 			link: '/dataProduct/systemBuild',
+			// 			children: [],
+			// 		},
+			// 		{
+			// 			code: 'similarity_analysis',
+			// 			icon: 'branches',
+			// 			name: '相似度分析',
+			// 			link: '/dataProduct/similarityAnalysis',
+			// 			children: [],
+			// 		},
+			// 		{
+			// 			code: 'core_entity_discovery',
+			// 			icon: 'branches',
+			// 			name: '核心实体发现',
+			// 			link: '/dataProduct/coreEntity',
+			// 			children: [],
+			// 		},
+			// 	],
+			// },
+			// {
+			// 	code: 'matrix_gen',
+			// 	icon: 'upload',
+			// 	name: '邻接矩阵生成',
+			// 	link: '/dataImport',
+			// 	children: [],
+			// },
+			// {
+			// 	code: 'search',
+			// 	icon: 'search',
+			// 	name: '查询',
+			// 	link: '/sch',
+			// 	children: [],
+			// },
+			// {
+			// 	code: 'custom_manage',
+			// 	icon: 'appstore',
+			// 	name: '自定义',
+			// 	link: '/',
+			// 	children: [
+			// 		{
+			// 			code: 'custom_attrcls',
+			// 			name: '自定义基础属性类',
+			// 			link: '/custom/attr_class',
+			// 		},
+			// 		{
+			// 			code: 'enum_manage',
+			// 			name: '枚举类管理',
+			// 			link: '/custom/enum',
+			// 		},
+			// 		{
+			// 			code: 'custom_synonym',
+			// 			name: '同义词',
+			// 			link: '/custom/synonym',
+			// 		},
+			// 		{
+			// 			code: 'custom_prefix',
+			// 			name: '前缀管理',
+			// 			link: '/custom/prefix',
+			// 		},
+			// 		{
+			// 			code: 'custom_setting',
+			// 			name: '设置',
+			// 			link: '/custom/setting',
+			// 		},
+			// 	],
+			// },
+			// {
+			// 	code: 'dataSourceManage',
+			// 	icon: 'file-protect',
+			// 	name: '数据源管理',
+			// 	link: '/dataSourceManage',
+			// 	children: [],
+			// },
+			// {
+			// 	code: 'ruleAnalysis',
+			// 	icon: 'file-protect',
+			// 	name: '规则分析',
+			// 	link: '/ruleAnalysis',
+			// 	children: [],
+			// },
 		],
 		dateFormat: 'YYYY-MM-DD',
 		attrClsType: {

+ 2 - 2
src/views/knowledge/graphEntity/manager.vue

@@ -42,7 +42,7 @@
                     <a-icon type="dot-chart" />
                     实体类可视化
                 </a-button>
-                <a-button
+                <!-- <a-button
                         style="margin-right: 5px"
                         type="primary"
                         @click="entImportModal"
@@ -56,7 +56,7 @@
                         v-if="!editable && BF_ENT_EXPORT"
                 >
                     <a-icon type="export" />集成访问服务导出
-                </a-button>
+                </a-button> -->
             </a-row>
         </div>
         <div