Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ETL-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
ETL-admin
Commits
2bf9da3c
Commit
2bf9da3c
authored
Mar 15, 2021
by
莫晓莉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
222
parent
f90bb78c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
1 deletions
+38
-1
src/api/kettle/link.js
+38
-1
No files found.
src/api/kettle/link.js
View file @
2bf9da3c
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
login
Repository
(
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'
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment