diff --git a/src/api/etl/switch.js b/src/api/etl/switch.js index c299886..f9af91c 100644 --- a/src/api/etl/switch.js +++ b/src/api/etl/switch.js @@ -38,6 +38,15 @@ export function getInfo(id){ //测试连接 +export function structure(data){ + return request({ + url: "/source/source/structure", + method: "post", + data:data + }) +} + +//同步资产结构 export function connectionTest(data){ return request({ url: "/source/source/connectionTest", @@ -52,7 +61,16 @@ export function deleteSource(ids){ return request({ url: "/source/source/"+ids, method: "delete", - + }) +} + + +//修改 +export function update(data){ + return request({ + url: "/source/source/update", + method: "post", + data:data }) } diff --git a/src/views/etl/switch/index.vue b/src/views/etl/switch/index.vue index 863d19a..eb3c9b1 100644 --- a/src/views/etl/switch/index.vue +++ b/src/views/etl/switch/index.vue @@ -56,9 +56,9 @@ - + - + @@ -86,25 +86,74 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + +
+ 连接池配置 +
+ + + + + + + + + + + + + + + + +
+ + + +
+ 其他信息 +
+ + + + + + + + + + + + + + + + +
+ +