diff --git a/core/datacap-common/src/main/java/io/edurt/datacap/common/utils/ReflectionUtils.java b/core/datacap-common/src/main/java/io/edurt/datacap/common/utils/ReflectionUtils.java
index e6eb0a54..e30eb370 100644
--- a/core/datacap-common/src/main/java/io/edurt/datacap/common/utils/ReflectionUtils.java
+++ b/core/datacap-common/src/main/java/io/edurt/datacap/common/utils/ReflectionUtils.java
@@ -21,7 +21,7 @@ public class ReflectionUtils
return true;
}
catch (NoSuchFieldException e) {
- log.warn("Has field exception", e);
+ log.debug("Has field exception", e);
return false;
}
}
diff --git a/core/datacap-ui/src/router/default.ts b/core/datacap-ui/src/router/default.ts
index e586ac60..76e06cf7 100644
--- a/core/datacap-ui/src/router/default.ts
+++ b/core/datacap-ui/src/router/default.ts
@@ -216,7 +216,7 @@ const createAdminRouter = (router: any) => {
component: () => import('@/views/pages/admin/source/SourceHome.vue')
},
{
- path: 'source/manager/:code',
+ path: 'source/manager/:source',
component: MetadataContainer,
meta: {
title: 'common.source',
@@ -224,7 +224,7 @@ const createAdminRouter = (router: any) => {
},
children: [
{
- path: '',
+ path: 'info/:table',
meta: {
title: 'common.source',
isRoot: false
diff --git a/core/datacap-ui/src/views/layouts/metadata/MetadataContainer.vue b/core/datacap-ui/src/views/layouts/metadata/MetadataContainer.vue
index 1959e3da..b0fa8646 100644
--- a/core/datacap-ui/src/views/layouts/metadata/MetadataContainer.vue
+++ b/core/datacap-ui/src/views/layouts/metadata/MetadataContainer.vue
@@ -3,10 +3,13 @@
@@ -16,24 +19,37 @@
diff --git a/core/datacap-ui/src/views/layouts/metadata/components/MetadataContent.vue b/core/datacap-ui/src/views/layouts/metadata/components/MetadataContent.vue
index 279d0163..4ce77768 100644
--- a/core/datacap-ui/src/views/layouts/metadata/components/MetadataContent.vue
+++ b/core/datacap-ui/src/views/layouts/metadata/components/MetadataContent.vue
@@ -1,11 +1,57 @@
-
+
+
+
+
+
+
+ {{ $t('source.common.info') }}
+
+
+
+ {{ $t('source.common.structure') }}
+
+
+
+ {{ $t('source.common.tableData') }}
+
+
+
+ {{ $t('source.common.statement') }}
+
+
+
+ {{ $t('source.common.erDiagram') }}
+
+
+
+
+
+
+
+
+
+
diff --git a/core/datacap-ui/src/views/layouts/metadata/components/MetadataSidebar.vue b/core/datacap-ui/src/views/layouts/metadata/components/MetadataSidebar.vue
index c89fbbb1..5112f4e8 100644
--- a/core/datacap-ui/src/views/layouts/metadata/components/MetadataSidebar.vue
+++ b/core/datacap-ui/src/views/layouts/metadata/components/MetadataSidebar.vue
@@ -265,6 +265,7 @@ export default defineComponent({
return
}
this.selectNode = currentNode
+ this.$emit('change', this.selectNode)
},
handlerLoadChildData(item: StructureModel, callback: any)
{
diff --git a/core/datacap-ui/src/views/pages/admin/source/SourceManagerInfo.vue b/core/datacap-ui/src/views/pages/admin/source/SourceManagerInfo.vue
index 00616f8a..c88cf2c1 100644
--- a/core/datacap-ui/src/views/pages/admin/source/SourceManagerInfo.vue
+++ b/core/datacap-ui/src/views/pages/admin/source/SourceManagerInfo.vue
@@ -1,114 +1,201 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('source.common.info') }}
-
-
-
- {{ $t('source.common.structure') }}
-
-
-
- {{ $t('source.common.tableData') }}
-
-
-
- {{ $t('source.common.statement') }}
-
-
-
- {{ $t('source.common.erDiagram') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ dataInfo.database?.name }}
+
+
+ {{ dataInfo?.name }}
+
+
+
+
+ {{ dataInfo?.inCreateTime === 'null' ? $t('source.common.notSpecified') : dataInfo.inCreateTime }}
+
+
+
+
+
+ {{ dataInfo?.inUpdateTime === 'null' ? $t('source.common.notUpdated') : dataInfo.inUpdateTime }}
+
+
+
+
+
+ {{ dataInfo.engine === 'null' ? $t('source.common.notSpecifiedEngine') : dataInfo.engine }}
+
+
+
+
+
+ {{ dataInfo.collation === 'null' ? $t('source.common.notSpecifiedCollation') : dataInfo.collation }}
+
+
+
+
+
+
+
+
+ {{ dataInfo.rows }}
+
+
+
+
+
+ {{ dataInfo.format === 'null' ? $t('source.common.notSpecifiedFormat') : dataInfo.format }}
+
+
+
+
+
+ {{ dataInfo.avgRowLength === 'null' ? 0 : dataInfo.avgRowLength }}
+
+
+
+
+
+ {{ dataInfo.dataLength === 'null' ? 0 : dataInfo.dataLength }}
+
+
+
+
+
+ {{ dataInfo.indexLength === 'null' ? $t('source.common.notSpecifiedIndex') : dataInfo.indexLength }}
+
+
+
+
+
+
+ {{ dataInfo.autoIncrement === 'null' ? $t('source.common.notSpecifiedPrimaryKey') : dataInfo.autoIncrement }}
+
+
+
+
+
+
+
+
+
+
+
{{ $t('source.common.resetAutoIncrement') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/core/datacap-ui/src/views/pages/admin/source/components/TableInfo.vue b/core/datacap-ui/src/views/pages/admin/source/components/TableInfo.vue
deleted file mode 100644
index 3f52b3e6..00000000
--- a/core/datacap-ui/src/views/pages/admin/source/components/TableInfo.vue
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
-
-
- {{ dataInfo.database?.name }}
-
-
-
- {{ dataInfo?.name }}
-
-
-
-
- {{ dataInfo?.inCreateTime === 'null' ? $t('source.common.notSpecified') : dataInfo.inCreateTime }}
-
-
-
-
-
- {{ dataInfo?.inUpdateTime === 'null' ? $t('source.common.notUpdated') : dataInfo.inUpdateTime }}
-
-
-
-
-
- {{ dataInfo.engine === 'null' ? $t('source.common.notSpecifiedEngine') : dataInfo.engine }}
-
-
-
-
-
- {{ dataInfo.collation === 'null' ? $t('source.common.notSpecifiedCollation') : dataInfo.collation }}
-
-
-
-
-
-
-
-
- {{ dataInfo.rows }}
-
-
-
-
-
- {{ dataInfo.format === 'null' ? $t('source.common.notSpecifiedFormat') : dataInfo.format }}
-
-
-
-
-
- {{ dataInfo.avgRowLength === 'null' ? 0 : dataInfo.avgRowLength }}
-
-
-
-
-
- {{ dataInfo.dataLength === 'null' ? 0 : dataInfo.dataLength }}
-
-
-
-
-
- {{ dataInfo.indexLength === 'null' ? $t('source.common.notSpecifiedIndex') : dataInfo.indexLength }}
-
-
-
-
-
-
- {{ dataInfo.autoIncrement === 'null' ? $t('source.common.notSpecifiedPrimaryKey') : dataInfo.autoIncrement }}
-
-
-
-
-
-
-
-
-
-
-
{{ $t('source.common.resetAutoIncrement') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-