diff --git a/src/api/dataSource/data.js b/src/api/dataSource/source.js
similarity index 89%
rename from src/api/dataSource/data.js
rename to src/api/dataSource/source.js
index 3ff2768..bbd8522 100644
--- a/src/api/dataSource/data.js
+++ b/src/api/dataSource/source.js
@@ -2,7 +2,7 @@ import request from '@/utils/request'
export function getDataSourceList(dataSourceQueryReq) {
return request({
- url: '/dataSource/source/list',
+ url: '/dataSource/source/getDataSourceList',
method: 'post',
data: dataSourceQueryReq
})
@@ -15,9 +15,9 @@ export function getAllDataType() {
})
}
-export function insertDataSource(dataSource) {
+export function editDataSource(dataSource) {
return request({
- url: '/dataSource/source/insertDataSource',
+ url: '/dataSource/source/editDataSource',
method: 'post',
data: dataSource
})
diff --git a/src/views/dataSource/assetAuthorization/auth/AuthDataSource.vue b/src/views/dataSource/assetAuthorization/auth/AuthDataSource.vue
index 9718306..46e1504 100644
--- a/src/views/dataSource/assetAuthorization/auth/AuthDataSource.vue
+++ b/src/views/dataSource/assetAuthorization/auth/AuthDataSource.vue
@@ -314,7 +314,7 @@ export default {
"userId": 1,
"deptId": 103,
"userName": "admin",
- "nickName": "智能车联",
+ "nickName": "数据处理",
"email": "ry@163.com",
"phonenumber": "15888888888",
"isAuth": true,
@@ -331,7 +331,7 @@ export default {
"userId": 2,
"deptId": 105,
"userName": "ry",
- "nickName": "智能车联",
+ "nickName": "数据处理",
"email": "ry@qq.com",
"phonenumber": "15666666666",
"dept": {
diff --git a/src/views/dataSource/assetAuthorization/auth/AuthTable.vue b/src/views/dataSource/assetAuthorization/auth/AuthTable.vue
index 797af85..fc427d8 100644
--- a/src/views/dataSource/assetAuthorization/auth/AuthTable.vue
+++ b/src/views/dataSource/assetAuthorization/auth/AuthTable.vue
@@ -332,7 +332,7 @@ export default {
"userId": 1,
"deptId": 103,
"userName": "admin",
- "nickName": "智能车联",
+ "nickName": "数据处理",
"email": "ry@163.com",
"phonenumber": "15888888888",
"isAuth": true,
@@ -349,7 +349,7 @@ export default {
"userId": 2,
"deptId": 105,
"userName": "ry",
- "nickName": "智能车联",
+ "nickName": "数据处理",
"email": "ry@qq.com",
"phonenumber": "15666666666",
"dept": {
diff --git a/src/views/dataSource/assetAuthorization/index.vue b/src/views/dataSource/assetAuthorization/index.vue
index 76c455f..f789afd 100644
--- a/src/views/dataSource/assetAuthorization/index.vue
+++ b/src/views/dataSource/assetAuthorization/index.vue
@@ -9,7 +9,7 @@
:props="defaultProps">
{{ data.name + '('+data.databaseName + '-' + data.systemName+')' }}
-
{{ data.name + '-'+data.as + '(' + data.dataTotal+'条)' }}
+
{{ data.name + '-'+data.as + '(' + data.dataTotal+'条)' }}
@@ -25,15 +25,9 @@
import AuthDataSource from './auth/AuthDataSource.vue'
import AuthTable from './auth/AuthTable.vue'
-import {Table} from "element-ui";
export default {
name: 'assetStructure',
- computed: {
- Table() {
- return Table
- }
- },
components: { AuthTable, AuthDataSource },
data() {
return {
diff --git a/src/views/dataSource/assetShow/index.vue b/src/views/dataSource/assetShow/index.vue
new file mode 100644
index 0000000..c447190
--- /dev/null
+++ b/src/views/dataSource/assetShow/index.vue
@@ -0,0 +1,156 @@
+
+
+
+ showAuth=data.type"
+ :props="defaultProps">
+
+
{{ data.name + '('+data.databaseName + '-' + data.systemName+')' }}
+
{{ data.name + '-'+data.as + '(' + data.dataTotal+'条)' }}
+
+
+
+
+
+
+
+ 资产模型基本信息
+
+
+ sys_user
+ 用户表
+ 12536
+
+ 是
+
+
+
+
+
+
+ 模型数据
+
+
+
+
+
+ {{asset.type}}
+
+ {{asset.value}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataSource/assetStructure/dashboard/OverallAssetStructure.vue b/src/views/dataSource/assetStructure/dashboard/OverallAssetStructure.vue
index b5009c4..af6e541 100644
--- a/src/views/dataSource/assetStructure/dashboard/OverallAssetStructure.vue
+++ b/src/views/dataSource/assetStructure/dashboard/OverallAssetStructure.vue
@@ -1,13 +1,13 @@
-
+
资产模型基本信息
- {{ tableInfo.tableName }}
- {{tableInfo.tableAnnotation}}
- {{ tableInfo.recordCount }}
+ {{tableParams.tableName}}
+ {{tableParams.tableAsName}}
+ 12536
是
@@ -18,40 +18,40 @@
资产模型详细信息
-
-
-
+
+
+
-
- {{scope.row.isDictionary}}
+
+ {{scope.row.isPrimaryKey}}
-
-
-
-
-
+
+
+
+
+
-
- {{scope.row.isEmpty}}
+
+ {{scope.row.isNull}}
-
- {{scope.row.isDictionary}}
+
+ {{scope.row.isDict}}
-
+
@@ -69,28 +69,221 @@
- 编辑
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{form.isPrimaryKey}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{form.isNull}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataSource/dataAccess/index.vue b/src/views/dataSource/dataAccess/index.vue
index b7ab066..eac43e9 100644
--- a/src/views/dataSource/dataAccess/index.vue
+++ b/src/views/dataSource/dataAccess/index.vue
@@ -1,25 +1,26 @@
+
-
+
-
+
新增
-
- 修改
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 同步资产结构
+ 测试
删除
- 测试连接
- 同步数据
- 查询此数据库
@@ -145,50 +128,51 @@
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+ MySql
+ Oracle
-
+
-
-
+
+
-
-
+
+
@@ -198,8 +182,8 @@
数据连接参数
-
-
+
+
@@ -233,25 +217,25 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -267,46 +251,22 @@
-
-
-
-
-
-
-
-
- 查询
-