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
e12c5cc4
Commit
e12c5cc4
authored
Mar 16, 2021
by
李耀锟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图标回显
parent
be023217
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
4 deletions
+44
-4
src/api/kettle/link.js
+34
-0
src/views/dashboard-kettle/components/designer/FlowDesigner.vue
+0
-0
src/views/dashboard-kettle/components/designer/modules/node.vue
+8
-2
src/views/dashboard-kettle/components/designer/modules/node_menu.vue
+1
-1
src/views/kettle/home.vue
+1
-1
No files found.
src/api/kettle/link.js
View file @
e12c5cc4
...
...
@@ -158,6 +158,40 @@ export function inputOutputFields(data){
//内容编码
export
function
availableCharsets
(
data
){
return
request
({
url
:
'etlweb/system/availableCharsets'
,
data
,
method
:
'post'
})
}
//字段格式
export
function
valueFormat
(
data
){
return
request
({
url
:
'etlweb/system/valueFormat'
,
data
,
method
:
'post'
})
}
//字段类型
export
function
valueMeta
(
data
){
return
request
({
url
:
'etlweb/system/valueMeta'
,
data
,
method
:
'post'
})
}
...
...
src/views/dashboard-kettle/components/designer/FlowDesigner.vue
View file @
e12c5cc4
This diff is collapsed.
Click to expand it.
src/views/dashboard-kettle/components/designer/modules/node.vue
View file @
e12c5cc4
...
...
@@ -10,7 +10,8 @@
<!--
<div
class=
"ef-node-left"
></div>
-->
<!-- 节点类型的图标 -->
<div
class=
"el-node-icon ef-node-left-ico flow-node-drag"
>
<img
:src=
"node.ico"
alt=
""
class=
" flow-node-drag"
>
<img
:src=
"prefix+node.ico"
alt=
""
class=
" flow-node-drag"
>
<!--
<i
:class=
"nodeIcoClass"
></i>
-->
</div>
<!-- 节点名称 -->
...
...
@@ -34,7 +35,11 @@
activeElement
:
Object
},
data
()
{
return
{}
return
{
prefix
:
'http://192.168.0.2:9888/ETLWEB-SERVER/etlweb/'
,
}
},
computed
:
{
nodeContainerClass
()
{
...
...
@@ -59,6 +64,7 @@
}
},
methods
:
{
// 点击节点
clickNode
()
{
this
.
$emit
(
'clickNode'
,
this
.
node
.
id
)
...
...
src/views/dashboard-kettle/components/designer/modules/node_menu.vue
View file @
e12c5cc4
...
...
@@ -87,7 +87,7 @@ var mousePosition = {
export
default
{
data
()
{
return
{
prefix
:
'http://192.168.0.
44:9700
/etlweb/'
,
prefix
:
'http://192.168.0.
2:9888/ETLWEB-SERVER
/etlweb/'
,
// 测试数据开始=====
jobTreeList
:
[
{
...
...
src/views/kettle/home.vue
View file @
e12c5cc4
...
...
@@ -1219,7 +1219,7 @@ export default {
type
:
nodeMenu
.
type
,
//节点类型
left
:
left
+
'px'
,
//坐标
top
:
top
+
'px'
,
//坐标
ico
:
this
.
prefix
+
nodeMenu
.
icon
,
//图标
ico
:
nodeMenu
.
icon
,
//图标
}
console
.
log
(
node
);
...
...
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