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
884eb12c
Commit
884eb12c
authored
Apr 10, 2021
by
莫晓莉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段获取成功
parent
247e0aed
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
80 additions
and
9 deletions
+80
-9
src/views/output-dialog/delete.vue
+14
-0
src/views/output-dialog/insertOrUpdate.vue
+14
-0
src/views/output-dialog/sqlFileOutput.vue
+14
-0
src/views/output-dialog/synchronize.vue
+14
-0
src/views/output-dialog/table-out.vue
+10
-9
src/views/output-dialog/update.vue
+14
-0
No files found.
src/views/output-dialog/delete.vue
View file @
884eb12c
...
@@ -104,6 +104,20 @@
...
@@ -104,6 +104,20 @@
</template>
</template>
<
script
>
<
script
>
import
mxgraph
from
"@/utils/mxgraph"
;
const
{
mxGraph
,
mxUtils
,
mxEvent
,
mxKeyHandler
,
mxRubberband
,
mxConstants
,
mxStencilRegistry
,
mxStencil
,
mxCodec
,
mxGraphModel
,
mxGeometry
,
}
=
mxgraph
import
{
import
{
tableFields
,
tableFields
,
inputOutputFields
,
//获取表输出
inputOutputFields
,
//获取表输出
...
...
src/views/output-dialog/insertOrUpdate.vue
View file @
884eb12c
...
@@ -165,6 +165,20 @@
...
@@ -165,6 +165,20 @@
</template>
</template>
<
script
>
<
script
>
import
mxgraph
from
"@/utils/mxgraph"
;
const
{
mxGraph
,
mxUtils
,
mxEvent
,
mxKeyHandler
,
mxRubberband
,
mxConstants
,
mxStencilRegistry
,
mxStencil
,
mxCodec
,
mxGraphModel
,
mxGeometry
,
}
=
mxgraph
import
{
import
{
tableFields
,
tableFields
,
inputOutputFields
inputOutputFields
...
...
src/views/output-dialog/sqlFileOutput.vue
View file @
884eb12c
...
@@ -168,6 +168,20 @@
...
@@ -168,6 +168,20 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
mxgraph
from
"@/utils/mxgraph"
;
const
{
mxGraph
,
mxUtils
,
mxEvent
,
mxKeyHandler
,
mxRubberband
,
mxConstants
,
mxStencilRegistry
,
mxStencil
,
mxCodec
,
mxGraphModel
,
mxGeometry
,
}
=
mxgraph
import
{
import
{
formatFunc
,
//获取已经创建的数据库列表
formatFunc
,
//获取已经创建的数据库列表
getAvailableCharsets
,
//获取编码
getAvailableCharsets
,
//获取编码
...
...
src/views/output-dialog/synchronize.vue
View file @
884eb12c
...
@@ -221,6 +221,20 @@
...
@@ -221,6 +221,20 @@
</template>
</template>
<
script
>
<
script
>
import
mxgraph
from
"@/utils/mxgraph"
;
const
{
mxGraph
,
mxUtils
,
mxEvent
,
mxKeyHandler
,
mxRubberband
,
mxConstants
,
mxStencilRegistry
,
mxStencil
,
mxCodec
,
mxGraphModel
,
mxGeometry
,
}
=
mxgraph
import
{
import
{
tableFields
,
tableFields
,
inputOutputFields
,
//获取表输出
inputOutputFields
,
//获取表输出
...
...
src/views/output-dialog/table-out.vue
View file @
884eb12c
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<el-form
ref=
"tableOutForm"
:model=
"tableOutForm"
label-width=
"200px"
>
<el-form
ref=
"tableOutForm"
:model=
"tableOutForm"
label-width=
"200px"
>
<el-form-item
label=
"步骤名称:"
>
<el-form-item
label=
"步骤名称:"
>
<el-input
v-model=
"tableOutForm.label"
value=
"表输出"
></el-input>
<el-input
v-model=
"tableOutForm.label"
value=
"表输出"
placeholder=
"表输出"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -335,7 +335,7 @@ export default ({
...
@@ -335,7 +335,7 @@ export default ({
},
500
);
},
500
);
},
},
confirm
(){
confirm
(){
this
.
tableOutForm
.
label
=
this
.
doubleClickCell
.
title
;
//
this.tableOutForm.label=this.doubleClickCell.title;
this
.
tableOutForm
.
fields
=
JSON
.
stringify
(
this
.
tableData
);
//字段复值
this
.
tableOutForm
.
fields
=
JSON
.
stringify
(
this
.
tableData
);
//字段复值
console
.
log
(
'表输出表单数据====='
,
this
.
tableOutForm
)
console
.
log
(
'表输出表单数据====='
,
this
.
tableOutForm
)
this
.
saveOutputDialog
(
this
.
tableOutForm
);
this
.
saveOutputDialog
(
this
.
tableOutForm
);
...
@@ -351,9 +351,9 @@ export default ({
...
@@ -351,9 +351,9 @@ export default ({
},
},
tableFields
(){
tableFields
(){
if
(
this
.
doubleClickCell
){
//
if(this.doubleClickCell){
var
title
=
this
.
doubleClickCell
.
title
//
var title=this.doubleClickCell.title
}
//
}
console
.
log
(
'获取cell888888==='
,
this
.
doubleClickCell
);
console
.
log
(
'获取cell888888==='
,
this
.
doubleClickCell
);
let
pamer
=
new
FormData
();
// 创建form对象
let
pamer
=
new
FormData
();
// 创建form对象
// pamer.append("stepName", encodeURIComponent(title));
// pamer.append("stepName", encodeURIComponent(title));
...
@@ -384,12 +384,13 @@ export default ({
...
@@ -384,12 +384,13 @@ export default ({
},
},
//获取表输出
//获取表输出
inputOutputFields
(){
inputOutputFields
(){
if
(
this
.
doubleClickCell
){
//
if(this.doubleClickCell){
var
title
=
this
.
doubleClickCell
.
title
//
var title=this.doubleClickCell.title
}
//
}
console
.
log
(
'获取cell888888==='
,
this
.
doubleClickCell
);
console
.
log
(
'获取cell888888==='
,
this
.
doubleClickCell
);
let
pamer
=
new
FormData
();
// 创建form对象
let
pamer
=
new
FormData
();
// 创建form对象
pamer
.
append
(
"stepName"
,
encodeURIComponent
(
title
));
// pamer.append("stepName", encodeURIComponent(title));
pamer
.
append
(
"stepName"
,
encodeURIComponent
(
this
.
tableOutForm
.
label
));
// pamer.append("graphXml", this.getXmlVal);
// pamer.append("graphXml", this.getXmlVal);
// 画布xml转码
// 画布xml转码
...
...
src/views/output-dialog/update.vue
View file @
884eb12c
...
@@ -187,6 +187,20 @@
...
@@ -187,6 +187,20 @@
</template>
</template>
<
script
>
<
script
>
import
mxgraph
from
"@/utils/mxgraph"
;
const
{
mxGraph
,
mxUtils
,
mxEvent
,
mxKeyHandler
,
mxRubberband
,
mxConstants
,
mxStencilRegistry
,
mxStencil
,
mxCodec
,
mxGraphModel
,
mxGeometry
,
}
=
mxgraph
import
{
import
{
tableFields
,
tableFields
,
inputOutputFields
,
//获取表输出
inputOutputFields
,
//获取表输出
...
...
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