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
6f87fa5f
Commit
6f87fa5f
authored
Apr 02, 2021
by
李耀琨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
断开资源库
parent
c4277ba7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
+26
-2
src/api/kettle/link.js
+8
-0
src/views/dashboard-kettle/components/designer/mxgraphDesigner.vue
+1
-0
src/views/kettle/home2.vue
+17
-2
No files found.
src/api/kettle/link.js
View file @
6f87fa5f
...
@@ -309,6 +309,14 @@ export function newStep(data){
...
@@ -309,6 +309,14 @@ export function newStep(data){
//断开资源库
export
function
logout
(
data
){
return
request
({
url
:
'etlweb/repository/logout'
,
data
,
method
:
'post'
})
}
src/views/dashboard-kettle/components/designer/mxgraphDesigner.vue
View file @
6f87fa5f
...
@@ -917,6 +917,7 @@ export default {
...
@@ -917,6 +917,7 @@ export default {
xmlDocuments
:
""
,
//获取解码的xml
xmlDocuments
:
""
,
//获取解码的xml
boxInformation
:
""
,
//弹框信息
boxInformation
:
""
,
//弹框信息
toolItemData
:{},
//新增节点时的值
toolItemData
:{},
//新增节点时的值
doubleClickCell
:{},
//双击节点
// mxl=================================
// mxl=================================
InsertOrUpdateVisible
:
false
,
InsertOrUpdateVisible
:
false
,
...
...
src/views/kettle/home2.vue
View file @
6f87fa5f
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
@
click
.
native=
"showModalOne()"
>
连接资源库
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"showModalOne()"
>
连接资源库
</el-dropdown-item>
<el-dropdown-item
>
管理资源库
</el-dropdown-item>
<el-dropdown-item
>
管理资源库
</el-dropdown-item>
<el-dropdown-item
>
断开资源库
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"disconnect()"
>
断开资源库
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"exportTreeDialog()"
>
导出资源库
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"exportTreeDialog()"
>
导出资源库
</el-dropdown-item>
<el-dropdown-item>
导入资源库
</el-dropdown-item>
<el-dropdown-item>
导入资源库
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
...
@@ -356,7 +356,8 @@ import {
...
@@ -356,7 +356,8 @@ import {
check
,
//编辑数据库
check
,
//编辑数据库
loginRepository
,
//连接数据库
loginRepository
,
//连接数据库
addRepository
,
//资源库信息
addRepository
,
//资源库信息
open
open
,
logout
}
from
"@/api/kettle/link"
;
}
from
"@/api/kettle/link"
;
// import Establish from '../dialogs-components/establish.vue'
// import Establish from '../dialogs-components/establish.vue'
// import Scan from '../dialogs-components/scan.vue'
// import Scan from '../dialogs-components/scan.vue'
...
@@ -678,6 +679,20 @@ props: ["dragItem"],
...
@@ -678,6 +679,20 @@ props: ["dragItem"],
methods
:
{
methods
:
{
disconnect
(){
logout
().
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
success
)
{
this
.
$message
.
success
(
res
.
message
)
this
.
explorer
(
''
);
this
.
$forceUpdate
();
}
else
{
this
.
$message
.
error
(
res
.
errMsg
)
}
})
},
//接收子组件显示画布
//接收子组件显示画布
shooStatus
(
e
){
shooStatus
(
e
){
console
.
log
(
e
,
'接收子组件显示画布'
)
console
.
log
(
e
,
'接收子组件显示画布'
)
...
...
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