Commit d6c7fb0a by 莫晓莉

sql脚本,字段选择

parent 4240b4ee
ENV = 'development'
VUE_APP_BASE_API = 'http://147.1.3.180:9888/'
VUE_APP_WS_API = 'ws://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_BASE_API = 'http://192.168.0.44:9888/'
#VUE_APP_WS_API = 'ws://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/'
......
......@@ -901,14 +901,37 @@
<successDialog ref="mySuccess" :jobSuccessVisible.sync="jobSuccessVisible" :saveOutputDialog="saveOutputDialog" :successFormSend="outPutFormData14" :doubleClickCell="doubleClickCell"></successDialog>
<!-- 作业弹窗组件end------------------------------------->
<!-- 转换弹窗组件start333 ------------------------------>
<!-- 流程弹窗组件start333 ------------------------------>
<switchDialog
ref="switch"
:switchVisible.sync="switchVisible"
:saveOutputDialog="saveOutputDialog"
:doubleClickCell="doubleClickCell"
: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
......@@ -930,6 +953,8 @@
<!-- 数据浏览-->
<el-dialog
title="数据浏览"
......@@ -1004,9 +1029,16 @@ import homeworkDialog from "../../../job-dialog/homework";
// 流程弹窗组件start3333--------------------
import switchDialog from "../../../stream-dialog/switch";
// 流程弹窗组件end3333333333----------------
// 脚本弹窗组件start---------------------
import sqlScriptDialog from "../../../script-dialog/sql-script";
// 脚本弹窗组件end-----------------------
// 转换弹窗组件start----------
import columnChoose from "../../../trans-dialog/column-choose";
// 转换弹窗组件end------------
import mxgraph from "@/utils/mxgraph";
const {
......@@ -1062,6 +1094,7 @@ export default {
// 转换33start---------
outPutFormData15:{},//转换--字段选择
// 转换3end------------
outPutFormData16:{},//脚本--执行sql脚本
doubleClickCell:{},
getField:[],
transGraphVisible:false,//执行转换弹窗
......@@ -1099,6 +1132,10 @@ export default {
// 流程弹窗组件start----------
switchVisible:false,
// 流程弹窗组件end------------
// 脚本组件start-----
scriptVisible:false,
// 脚本组件end-----
columnVisible:true,//转换--字段选择
// 输入模块
file: [],
......@@ -1189,9 +1226,17 @@ export default {
successDialog,
homeworkDialog,
// 作业弹簧组件end----------------------
// 转换弹窗组件start---------
// 流程弹窗组件start---------
switchDialog,
// 转换弹窗组件end-----------
// 流程弹窗组件end-----------
// 脚本弹窗组件---
sqlScriptDialog,
// 脚本弹窗组件---
// 转换弹窗组件start---
columnChoose,
// 转换弹窗组件end-----
},
//自定义指令 https://www.jb51.net/article/108047.htm
directives: {
......@@ -2064,8 +2109,17 @@ previousField(){
this.$refs.switch.clickFun(this.graph);//向子组件传递画布
}, 500);
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;
}
});
this.graph.addListener(mxEvent.CLICK, (graph, evt) => {
......
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