diff --git a/src/api/dataSource/dictionary.js b/src/api/dataSource/dictionary.js index 0a2f8f0..6809da3 100644 --- a/src/api/dataSource/dictionary.js +++ b/src/api/dataSource/dictionary.js @@ -2,7 +2,7 @@ import request from '@/utils/request' export function getDictionaryRespByDataSourceId(id) { return request({ - url: '/dataSource/dict/getDictionaryRespByDataSourceId?dataSourceId='+id, + url: '/dataSource/dict/getDictionaryByDataSourceId?dataSourceId='+id, method: 'get' }) } diff --git a/src/views/dataSource/asset/dashboard/OverallSpecificAssets.vue b/src/views/dataSource/asset/dashboard/OverallSpecificAssets.vue index 7929a24..579b764 100644 --- a/src/views/dataSource/asset/dashboard/OverallSpecificAssets.vue +++ b/src/views/dataSource/asset/dashboard/OverallSpecificAssets.vue @@ -123,24 +123,24 @@ import {getDictionaryRespByDataSourceId} from "@/api/dataSource/dictionary"; export default { watch:{ - dataSourceId:{ - // 此处监听variable变量,当期有变化时执行 - handler(item1,item2){ - console.log("新值",item1) - console.log("旧址",item2) - getDictionaryRespByDataSourceId(item1).then( - res => { - console.log("字典表响应对象:",res.data) - this.dictionaryInfoRespList = res.data - this.dictionaryInfoRespList.forEach(dictionaryInfoResp => { - dictionaryInfoResp.dictionaryInfoList.forEach(dictionaryInfo => { - dictionaryInfo.isEdit = false; - }) - }) - } - ) - } - } + // dataSourceId:{ + // // 此处监听variable变量,当期有变化时执行 + // handler(item1,item2){ + // console.log("新值",item1) + // console.log("旧址",item2) + // getDictionaryRespByDataSourceId(item1).then( + // res => { + // console.log("字典表响应对象:",res.data) + // this.dictionaryInfoRespList = res.data + // this.dictionaryInfoRespList.forEach(dictionaryInfoResp => { + // dictionaryInfoResp.dictionaryInfoList.forEach(dictionaryInfo => { + // dictionaryInfo.isEdit = false; + // }) + // }) + // } + // ) + // } + // } }, props: { assetsModelRespArrayList: { diff --git a/src/views/dataSource/assetAuthorization/auth/AuthDataSource.vue b/src/views/dataSource/assetAuthorization/auth/AuthDataSource.vue new file mode 100644 index 0000000..9718306 --- /dev/null +++ b/src/views/dataSource/assetAuthorization/auth/AuthDataSource.vue @@ -0,0 +1,345 @@ + + + 基本信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ parseTime(scope.row.createTime) }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/dataSource/assetAuthorization/auth/AuthTable.vue b/src/views/dataSource/assetAuthorization/auth/AuthTable.vue new file mode 100644 index 0000000..797af85 --- /dev/null +++ b/src/views/dataSource/assetAuthorization/auth/AuthTable.vue @@ -0,0 +1,363 @@ + + + 基本信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ parseTime(scope.row.createTime) }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/dataSource/assetAuthorization/index.vue b/src/views/dataSource/assetAuthorization/index.vue new file mode 100644 index 0000000..76c455f --- /dev/null +++ b/src/views/dataSource/assetAuthorization/index.vue @@ -0,0 +1,124 @@ + + + + showAuth=data.type" + :props="defaultProps"> + + {{ data.name + '('+data.databaseName + '-' + data.systemName+')' }} + {{ data.name + '-'+data.as + '(' + data.dataTotal+'条)' }} + + + + + + + + + + + + + diff --git a/src/views/dataSource/assetStructure/dashboard/OverallAssetStructure.vue b/src/views/dataSource/assetStructure/dashboard/OverallAssetStructure.vue new file mode 100644 index 0000000..b5009c4 --- /dev/null +++ b/src/views/dataSource/assetStructure/dashboard/OverallAssetStructure.vue @@ -0,0 +1,98 @@ + + + + + 资产模型基本信息 + + + {{ tableInfo.tableName }} + {{tableInfo.tableAnnotation}} + {{ tableInfo.recordCount }} + + 是 + + + + + + 资产模型详细信息 + + + + + + + + {{scope.row.isDictionary}} + + + + + + + + + + + {{scope.row.isEmpty}} + + + + + + + + {{scope.row.isDictionary}} + + + + + + + + + + + {{scope.row.dictKey}} + + + + + + 编辑 + + + + + + + + diff --git a/src/views/dataSource/assetStructure/dashboard/OverallAssets.vue b/src/views/dataSource/assetStructure/dashboard/OverallAssets.vue new file mode 100644 index 0000000..33e8e5c --- /dev/null +++ b/src/views/dataSource/assetStructure/dashboard/OverallAssets.vue @@ -0,0 +1,189 @@ + + + + 整体数据资产结构概述 + + + + + + + + + 数据接入 + + + + + + + + + + + + + 资产模型 + + + + + + + + + + + + + 数据模型 + + + + + + + + + + + diff --git a/src/views/dataSource/assetStructure/dashboard/OverallSpecificAssets.vue b/src/views/dataSource/assetStructure/dashboard/OverallSpecificAssets.vue new file mode 100644 index 0000000..81f6f4b --- /dev/null +++ b/src/views/dataSource/assetStructure/dashboard/OverallSpecificAssets.vue @@ -0,0 +1,295 @@ + + + + {{dataSourceObj.dataSource.fromSystem}} - 资产结构概述 + + + + + + + + + 资产模型 + + + + + + + + + + + + + 数据模型 + + + + + + + + + 基础字典 + + + + + + + + + + 确定 + + + 新增字典 + + + + + + + {{dictionaryInfoResp.dictionaryName}} + 新增 + + + + + {{scope.row.label}} + + + + + + + {{scope.row.value}} + + + + + + 修改 + 确定 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/dataSource/assetStructure/index.vue b/src/views/dataSource/assetStructure/index.vue new file mode 100644 index 0000000..cf111b2 --- /dev/null +++ b/src/views/dataSource/assetStructure/index.vue @@ -0,0 +1,140 @@ + + + + showAssets=data.type" + :props="defaultProps"> + + {{ data.dataSource.name + '('+data.dataSource.dataSourceDatabaseName + '-' + data.dataSource.fromSystem+')' }} + {{ data.dataTable.tableName + '-'+data.dataTable.tableAnnotation + '(' + data.dataTable.recordCount+'条)' }} + + + + + + + + + + + + + + diff --git a/src/views/dataSource/data/index.vue b/src/views/dataSource/dataAccess/index.vue similarity index 99% rename from src/views/dataSource/data/index.vue rename to src/views/dataSource/dataAccess/index.vue index 23a5a0a..e9475e8 100644 --- a/src/views/dataSource/data/index.vue +++ b/src/views/dataSource/dataAccess/index.vue @@ -274,13 +274,13 @@