diff --git a/src/api/etl/dictionary.js b/src/api/etl/dictionary.js new file mode 100644 index 0000000..44d54a3 --- /dev/null +++ b/src/api/etl/dictionary.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' + +// 查询【请填写功能名称】列表 +export function listDictionary(query) { + return request({ + url: '/etl/dictionary/list', + method: 'get', + params: query + }) +} + +// 查询【请填写功能名称】详细 +export function getDictionary(id) { + return request({ + url: '/etl/dictionary/' + id, + method: 'get' + }) +} + +// 根据key删除字典详细 +export function deleteDictionary(id) { + return request({ + url: '/etl/dictionary/DeleteDictionary?id=' + id, + method: 'get' + }) +} + +// 新增【请填写功能名称】 +export function addDictionary(data) { + return request({ + url: '/etl/dictionary', + method: 'post', + data: data + }) +} + +// 修改【请填写功能名称】 +export function updateDictionary(data) { + return request({ + url: '/etl/dictionary', + method: 'put', + data: data + }) +} + +// 删除【请填写功能名称】 +export function delDictionary(id) { + return request({ + url: '/etl/dictionary/' + id, + method: 'delete' + }) +} + +export function getDictionaryList(id) { + return request({ + url: '/etl/dictionary/GetDictionaryList?dataSourceId=' + id, + method: 'get' + }) +} diff --git a/src/api/etl/source.js b/src/api/etl/source.js deleted file mode 100644 index 94681ed..0000000 --- a/src/api/etl/source.js +++ /dev/null @@ -1,93 +0,0 @@ -import request from '@/utils/request' - -// 查询【请填写功能名称】列表 -export function listSource(query) { - return request({ - url: '/etl/source/list', - method: 'get', - params: query - }) -} - -export function dataAssetList(data) { - return request({ - url: '/etl/source/DataAssetList', - method: 'post', - data - }) -} - -export function assetModelList(data) { - return request({ - url: '/etl/source/AssetModelList', - method: 'post', - data - }) -} - -export function assetsList(data) { - return request({ - url: '/etl/source/AssetsList', - method: 'post', - data - }) -} - -export function synchronousData(data) { - return request({ - url: '/etl/source/SynchronousData', - method: 'post', - data - }) -} - -export function structureList(data) { - return request({ - url: '/etl/source/StructureList', - method: 'post', - data - }) -} - -// 查询【请填写功能名称】详细 -export function getSource(id) { - return request({ - url: '/etl/source/' + id, - method: 'get' - }) -} - -// 新增【请填写功能名称】 -export function addSource(data) { - return request({ - url: '/etl/source', - method: 'post', - data: data - }) -} - -// 测试连接 -export function testConnection(data) { - return request({ - url: '/etl/source/TestConnection', - method: 'post', - data: data - }) -} - -// 修改【请填写功能名称】 -export function updateSource(data) { - return request({ - url: '/etl/source', - method: 'put', - data: data - }) -} - -// 删除【请填写功能名称】 -export function delSource(id) { - return request({ - url: '/etl/source/' + id, - method: 'delete' - }) -} diff --git a/src/views/etl/assets/dashboard/OverallAssetStructure.vue b/src/views/etl/assets/dashboard/OverallAssetStructure.vue index ba3d412..746bb60 100644 --- a/src/views/etl/assets/dashboard/OverallAssetStructure.vue +++ b/src/views/etl/assets/dashboard/OverallAssetStructure.vue @@ -150,13 +150,13 @@ - + - + @@ -173,19 +173,28 @@ +