Commit 65b5bc87 by 莫晓莉

444

parent 36ad693a
import request from '@/utils/request'
//获取连接类型
export function types(data) {
return request({
url: 'etlweb/repository/types',
data,
method: 'post'
})
}
//获取历史连接的资源库列表
export function getLinkList(data) {
return request({
url: 'etlweb/repository/list',
data,
method: 'post'
})
}
//获取连接方式列表
export function accessMethod(data) {
return request({
url: 'etlweb/database/accessMethod',
data,
method: 'post'
})
}
//获取连接类型
export function accessData(data) {
return request({
url: 'etlweb/database/accessData',
data,
method: 'post'
})
}
//提交数据
export function create(data) {
return request({
url: 'etlweb/database/create',
data,
method: 'post'
})
}
//编辑数据库
export function check(data) {
return request({
url: 'etlweb/database/check',
data,
method: 'post'
})
}
//查询获取已经建立的数据库列表
export function listNames(data) {
return request({
url: 'etlweb/database/listNames',
data,
method: 'post'
})
}
// 根据数据库名查询已经建立的数据库详情即编辑数据库
export function database(data) {
return request({
url: 'etlweb/repository/database',
data,
method: 'post'
})
}
//连接资源库
export function login(data){
return request({
url: 'etlweb/repository/login',
data,
method: 'post'
})
}
......@@ -33,6 +33,8 @@ import moment from 'moment'
import jsPlump from 'jsplumb'
Vue.use(jsPlump);
// 引入自定义指令
// import './utils/dialog.js';
Vue.use(VueHighlightJS)
Vue.use(mavonEditor)
......
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