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
cfec4426
Commit
cfec4426
authored
Apr 09, 2021
by
李耀锟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
9bb6a7ec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
23 deletions
+50
-23
src/views/dashboard-kettle/components/appBulletFrame/browseFiles.vue
+2
-2
src/views/dashboard-kettle/components/appBulletFrame/generatingRecords.vue
+2
-2
src/views/dashboard-kettle/components/appBulletFrame/getSystemInformation.vue
+1
-1
src/views/dashboard-kettle/components/designer/mxgraphDesigner.vue
+45
-18
No files found.
src/views/dashboard-kettle/components/appBulletFrame/browseFiles.vue
View file @
cfec4426
...
...
@@ -51,7 +51,7 @@ export default {
if
(
node
.
level
===
0
)
{
let
pamq
=
new
FormData
();
// 创建form对象
pamq
.
append
(
"path"
,
""
);
pamq
.
append
(
"extension"
,
"
32
"
);
pamq
.
append
(
"extension"
,
"
1
"
);
pamq
.
append
(
"node"
,
"xnode-2092"
);
fileexplorer
(
pamq
).
then
((
res
)
=>
{
this
.
browsingData
=
res
;
...
...
@@ -61,7 +61,7 @@ export default {
}
else
{
let
pam
=
new
FormData
();
// 创建form对象
pam
.
append
(
"path"
,
node
.
data
.
id
);
pam
.
append
(
"extension"
,
"
32
"
);
pam
.
append
(
"extension"
,
"
1
"
);
pam
.
append
(
"node"
,
node
.
data
.
id
);
fileexplorer
(
pam
).
then
((
res
)
=>
{
if
(
res
)
{
...
...
src/views/dashboard-kettle/components/appBulletFrame/generatingRecords.vue
View file @
cfec4426
...
...
@@ -139,8 +139,8 @@
<el-form-item
label=
"设为空?:"
>
<el-select
v-model=
"metadataForm.nullable"
style=
"width: 100%"
>
<el-option
label=
"非空"
value=
"
0
"
></el-option>
<el-option
label=
"空"
value=
"
1
"
></el-option>
<el-option
label=
"非空"
value=
"
N
"
></el-option>
<el-option
label=
"空"
value=
"
Y
"
></el-option>
</el-select>
</el-form-item>
</el-form>
...
...
src/views/dashboard-kettle/components/appBulletFrame/getSystemInformation.vue
View file @
cfec4426
...
...
@@ -57,7 +57,7 @@
v-for=
"item in type"
:key=
"item.code"
:label=
"item.descrp"
:value=
"item.
descrp
"
:value=
"item.
code
"
/>
</el-select>
</el-form-item>
...
...
src/views/dashboard-kettle/components/designer/mxgraphDesigner.vue
View file @
cfec4426
...
...
@@ -168,6 +168,7 @@
v-model=
"form.accept_filenames"
true-label=
"Y"
false-label=
"N"
></el-checkbox>
</el-form-item>
<el-form-item
label=
"从哪个步骤读文件名:"
>
...
...
@@ -175,10 +176,11 @@
v-model=
"form.accept_stepname"
style=
"width: 100%"
:disabled=
"
!form.accept_filenames || form.accept_filenames == 'N'
"
!form.accept_filenames || form.accept_filenames == 'N'
"
@
click
.
native=
"lastStep
"
>
<el-option
v-for=
"item in connectionNode"
:key=
"item.id"
:label=
"item.name"
...
...
@@ -194,9 +196,12 @@
:disabled=
"
!form.accept_filenames || form.accept_filenames == 'N'
"
@
click
.
native=
"previousField"
>
<el-option
label=
"区域一"
value=
"shanghai"
></el-option>
<el-option
label=
"区域二"
value=
"beijing"
></el-option>
<el-option
v-for=
"item in getField"
:key=
"item.id"
:label=
"item.name"
:value=
"item"
></el-option>
</el-select>
</el-form-item>
</el-form>
...
...
@@ -968,6 +973,7 @@ export default {
outPutFormData9
:{},
outPutFormData
:{},
//输出弹窗组件的表单值
doubleClickCell
:{},
getField
:[],
transGraphVisible
:
false
,
//执行转换弹窗
monitorCanvas
:
""
,
//监听画布
getXmlVal
:
""
,
//获取上一个xml
...
...
@@ -980,6 +986,7 @@ export default {
doubleClickCell
:
{},
//双击节点
filter
:{},
// mxl=================================
InsertOrUpdateVisible
:
false
,
tableOutPutVisible
:
false
,
...
...
@@ -996,7 +1003,7 @@ export default {
file
:
[],
sheets
:
[],
publicData
:
[],
//全部连接
connectionNode
:
{}
,
connectionNode
:
[]
,
codingType
:
[],
routeState
:
0
,
filePathSelection
:
false
,
...
...
@@ -1382,6 +1389,39 @@ export default {
return
mxUtils
.
getPrettyXml
(
node
);
},
lastStep
(){
var
enc
=
new
mxCodec
(
mxUtils
.
createXmlDocument
());
var
node
=
enc
.
encode
(
this
.
graph
.
getModel
());
this
.
graphXml
=
mxUtils
.
getPrettyXml
(
node
);
let
pamerSteps
=
new
FormData
();
// 创建form对象
pamerSteps
.
append
(
"stepName"
,
this
.
nodeData
.
title
);
pamerSteps
.
append
(
"graphXml"
,
this
.
getXmlVal
);
pamerSteps
.
append
(
"query"
,
""
);
previousSteps
(
pamerSteps
).
then
((
res
)
=>
{
this
.
connectionNode
=
res
});
},
previousField
(){
var
enc
=
new
mxCodec
(
mxUtils
.
createXmlDocument
());
var
node
=
enc
.
encode
(
this
.
graph
.
getModel
());
this
.
graphXml
=
mxUtils
.
getPrettyXml
(
node
);
let
pamerFields
=
new
FormData
();
// 创建form对象
pamerFields
.
append
(
"stepName"
,
this
.
nodeData
.
title
)
pamerFields
.
append
(
"graphXml"
,
this
.
getXmlVal
);
pamerFields
.
append
(
"before"
,
true
);
pamerFields
.
append
(
"query"
,
""
);
inputOutputFields
(
pamerFields
).
then
((
res
)
=>
{
this
.
getField
=
res
});
},
//初始化画布
initGraph
()
{
if
(
this
.
R
.
isNil
(
this
.
graph
))
{
...
...
@@ -1483,19 +1523,6 @@ export default {
this
.
fieldFormat
=
res
;
});
let
pamerSteps
=
new
FormData
();
// 创建form对象
pamerSteps
.
append
(
"stepName"
,
cell
.
title
);
pamerSteps
.
append
(
"graphXml"
,
this
.
getXmlVal
);
pamerSteps
.
append
(
"query"
,
""
);
previousSteps
(
pamerSteps
).
then
((
res
)
=>
{
console
.
log
(
res
,
7777777777777
);
});
let
pamerFields
=
new
FormData
();
// 创建form对象
pamerFields
.
append
(
"valueType"
,
"all"
);
inputOutputFields
().
then
((
res
)
=>
{});
if
(
cell
.
ids
==
"step1"
||
cell
.
value
.
attributes
.
ctype
.
value
==
"ExcelInput"
...
...
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