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
0f9a16d7
Commit
0f9a16d7
authored
Apr 01, 2021
by
莫晓莉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打开资源库
parent
961a60c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
src/views/kettle/home2.vue
+9
-3
No files found.
src/views/kettle/home2.vue
View file @
0f9a16d7
...
...
@@ -1205,14 +1205,20 @@ props: ["dragItem"],
},
handleNodeClick
(
data
,
node
){
console
.
log
(
'点击当前节点==='
,
node
);
this
.
curNodeText
=
node
.
data
.
text
;
//当前节点
if
(
node
.
data
.
leaf
){
this
.
curNodeText
=
node
.
data
.
text
;
//当前节点
}
else
{
this
.
$message
.
error
(
'请选择一个资源库!'
);
return
;
}
this
.
nodePath
=
data
.
path
;
//当前选择数
this
.
curNodeIconCls
=
data
.
iconCls
;
//当前选中节点
console
.
log
(
'当前节点的文件夹路径:'
,
this
.
nodePath
);
// console.log(data,'当前节点的父节点:',node.parent.data);
let
pamer
=
new
FormData
();
// 创建form对象
pamer
.
append
(
"path"
,
this
.
nodePath
);
pamer
.
append
(
"type"
,
"transformation"
);
pamer
.
append
(
"path"
,
this
.
nodePath
);
pamer
.
append
(
"type"
,
"transformation"
);
open
(
pamer
).
then
(
res
=>
{
console
.
log
(
res
,
'返回空白画布xml'
);
this
.
blankCanvas
=
res
;
...
...
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