Commit d6c7fb0a by 莫晓莉

sql脚本,字段选择

parent 4240b4ee
ENV = 'development' ENV = 'development'
VUE_APP_BASE_API = 'http://147.1.3.180:9888/' # VUE_APP_BASE_API = 'http://147.1.3.180:9888/'
VUE_APP_WS_API = 'ws://147.1.3.180:9888/' # VUE_APP_WS_API = 'ws://147.1.3.180:9888/'
#VUE_APP_BASE_API = 'http://192.168.0.44:9888/' VUE_APP_BASE_API = 'http://192.168.0.44:9888/'
#VUE_APP_WS_API = 'ws://192.168.0.44:9888/' VUE_APP_WS_API = 'ws://192.168.0.44:9888/'
......
...@@ -901,14 +901,37 @@ ...@@ -901,14 +901,37 @@
<successDialog ref="mySuccess" :jobSuccessVisible.sync="jobSuccessVisible" :saveOutputDialog="saveOutputDialog" :successFormSend="outPutFormData14" :doubleClickCell="doubleClickCell"></successDialog> <successDialog ref="mySuccess" :jobSuccessVisible.sync="jobSuccessVisible" :saveOutputDialog="saveOutputDialog" :successFormSend="outPutFormData14" :doubleClickCell="doubleClickCell"></successDialog>
<!-- 作业弹窗组件end-------------------------------------> <!-- 作业弹窗组件end------------------------------------->
<!-- 转换弹窗组件start333 ------------------------------> <!-- 流程弹窗组件start333 ------------------------------>
<switchDialog <switchDialog
ref="switch" ref="switch"
:switchVisible.sync="switchVisible" :switchVisible.sync="switchVisible"
:saveOutputDialog="saveOutputDialog" :saveOutputDialog="saveOutputDialog"
:doubleClickCell="doubleClickCell" :doubleClickCell="doubleClickCell"
:switchFormSend="outPutFormData15"></switchDialog> :switchFormSend="outPutFormData15"></switchDialog>
<!-- 转换弹窗组件end33333------------------------------ --> <!-- 流程弹窗组件end33333------------------------------ -->
<!-- 脚本弹窗组件start -->
<sqlScriptDialog
ref="script"
:scriptVisible.sync="scriptVisible"
:saveOutputDialog="saveOutputDialog"
:doubleClickCell="doubleClickCell"
:scriptFormSend="outPutFormData16"
></sqlScriptDialog>
<!-- 脚本弹窗组件end -->
<!-- 转换弹窗组件start -->
<columnChoose
ref="insertOrdate"
:columnVisible.sync="columnVisible"
:saveOutputDialog="saveOutputDialog"
:doubleClickCell="doubleClickCell"
:getXmlVal="getXmlVal"
:insertOrUpdateFormSend="outPutFormData2"
></columnChoose>
<!-- 转换弹窗组件end -->
<!-- 执行转换开始 --> <!-- 执行转换开始 -->
<trans-graph <trans-graph
...@@ -930,6 +953,8 @@ ...@@ -930,6 +953,8 @@
<!-- 数据浏览--> <!-- 数据浏览-->
<el-dialog <el-dialog
title="数据浏览" title="数据浏览"
...@@ -1004,9 +1029,16 @@ import homeworkDialog from "../../../job-dialog/homework"; ...@@ -1004,9 +1029,16 @@ import homeworkDialog from "../../../job-dialog/homework";
// 流程弹窗组件start3333-------------------- // 流程弹窗组件start3333--------------------
import switchDialog from "../../../stream-dialog/switch"; import switchDialog from "../../../stream-dialog/switch";
// 流程弹窗组件end3333333333---------------- // 流程弹窗组件end3333333333----------------
// 脚本弹窗组件start---------------------
import sqlScriptDialog from "../../../script-dialog/sql-script";
// 脚本弹窗组件end-----------------------
// 转换弹窗组件start----------
import columnChoose from "../../../trans-dialog/column-choose";
// 转换弹窗组件end------------
import mxgraph from "@/utils/mxgraph"; import mxgraph from "@/utils/mxgraph";
const { const {
...@@ -1062,6 +1094,7 @@ export default { ...@@ -1062,6 +1094,7 @@ export default {
// 转换33start--------- // 转换33start---------
outPutFormData15:{},//转换--字段选择 outPutFormData15:{},//转换--字段选择
// 转换3end------------ // 转换3end------------
outPutFormData16:{},//脚本--执行sql脚本
doubleClickCell:{}, doubleClickCell:{},
getField:[], getField:[],
transGraphVisible:false,//执行转换弹窗 transGraphVisible:false,//执行转换弹窗
...@@ -1099,6 +1132,10 @@ export default { ...@@ -1099,6 +1132,10 @@ export default {
// 流程弹窗组件start---------- // 流程弹窗组件start----------
switchVisible:false, switchVisible:false,
// 流程弹窗组件end------------ // 流程弹窗组件end------------
// 脚本组件start-----
scriptVisible:false,
// 脚本组件end-----
columnVisible:true,//转换--字段选择
// 输入模块 // 输入模块
file: [], file: [],
...@@ -1189,9 +1226,17 @@ export default { ...@@ -1189,9 +1226,17 @@ export default {
successDialog, successDialog,
homeworkDialog, homeworkDialog,
// 作业弹簧组件end---------------------- // 作业弹簧组件end----------------------
// 转换弹窗组件start--------- // 流程弹窗组件start---------
switchDialog, switchDialog,
// 转换弹窗组件end----------- // 流程弹窗组件end-----------
// 脚本弹窗组件---
sqlScriptDialog,
// 脚本弹窗组件---
// 转换弹窗组件start---
columnChoose,
// 转换弹窗组件end-----
}, },
//自定义指令 https://www.jb51.net/article/108047.htm //自定义指令 https://www.jb51.net/article/108047.htm
directives: { directives: {
...@@ -2064,7 +2109,16 @@ previousField(){ ...@@ -2064,7 +2109,16 @@ previousField(){
this.$refs.switch.clickFun(this.graph);//向子组件传递画布 this.$refs.switch.clickFun(this.graph);//向子组件传递画布
}, 500); }, 500);
return; return;
}else if((this.curFileType=="transformation" && cell.ids == "step45") || cell.value.attributes.ctype.value == "ExecSQL"){
//流程--Switch / Case
this.scriptVisible = !this.scriptVisible;
this.outPutFormData16 = this.showDataFunc();
setTimeout(() => {
this.$refs.script.clickFun(this.graph);//向子组件传递画布
}, 500);
return;
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment