Commit 2bf9da3c by 莫晓莉

222

parent f90bb78c
import request from '@/utils/request'
import { Dropdown } from 'element-ui'
//获取连接类型
export function types(data) {
......@@ -70,7 +71,7 @@ export function database(data) {
})
}
//连接资源库
export function login(data){
export function loginRepository(data){
return request({
url: 'etlweb/repository/login',
data,
......@@ -78,6 +79,42 @@ export function login(data){
})
}
//资源库信息确定
export function addRepository(data){
return request({
url: 'etlweb/repository/add',
data,
method: 'post'
})
}
//测试连接
export function test(data){
return request({
url: 'etlweb/database/test',
data,
method: 'post'
})
}
// 删除数据库
export function removeLink(data){
return request({
url: 'etlweb/database/remove',
data,
method: 'post'
})
}
// 删除数据库表
export function drop(data){
return request({
url: 'etlweb/database/drop',
data,
method: 'post'
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment