Commit 2a590e27 by 莫晓莉

字段获取

parent 4cf30d89
......@@ -131,6 +131,7 @@ export default {
// this.$forceUpdate()
console.log('chuanhuo=====', this.newForm);
// 发射回父组件
this.newForm.connection=this.selectName;
this.$emit("update:form", this.newForm);
}else if(typeof(res)=='boolean'){
......
......@@ -17,7 +17,7 @@
<el-form ref="delForm" :model="deleteForm" label-width="200px">
<div style="border:1px solid #99BBE8;padding:15px 15px;margin-bottom:15px;">
<database-choose ref="databaseChoose" :form="deleteForm" :getXmlVal="getXmlVal" :graph="newGraph"></database-choose>
<database-choose ref="databaseChoose" :form.sync="deleteForm" :getXmlVal="getXmlVal" :graph="newGraph"></database-choose>
<el-form-item label="提交记录数量:">
<el-row :gutter="10">
<el-col :span="23">
......
......@@ -17,7 +17,7 @@
<el-form :model="insertOrUpdateForm" label-width="200px">
<el-tabs v-model="activeName" type="border-card">
<el-tab-pane label="基本配置" name="content">
<database-choose ref="databaseChoose" :form="insertOrUpdateForm" :getXmlVal="getXmlVal" :graph="newGraph"></database-choose>
<database-choose ref="databaseChoose" :form.sync="insertOrUpdateForm" :getXmlVal="getXmlVal" :graph="newGraph"></database-choose>
<el-form-item label="提交记录数量:">
<el-row :gutter="10">
<el-col :span="23">
......
......@@ -20,7 +20,7 @@
<el-tab-pane label="一般" name="content">
<div style="position:relative;border:1px solid #b5b8c8;padding:15px 0;">
<div style="position:absolute;top:-15px;left:20px;color:#15428b;background-color:#fff;padding:5px 10px;">连接</div>
<database-choose ref="databaseChoose" :form="sqlForm" :graph="newGraph"></database-choose>
<database-choose ref="databaseChoose" :form.sync="sqlForm" :graph="newGraph"></database-choose>
</div>
<div style="position:relative;border:1px solid #b5b8c8;padding:15px 0;margin-top:15px;">
......
......@@ -13,7 +13,7 @@
</el-form-item>
<el-tabs v-model="activeName" type="border-card">
<el-tab-pane label="一般" name="content">
<database-choose ref="databaseChoose" :form="synForm" :graph="newGraph"></database-choose>
<database-choose ref="databaseChoose" :form.sync="synForm" :graph="newGraph"></database-choose>
<el-form-item label="提交的记录数量:">
<el-row :gutter="10">
<el-col :span="23">
......
......@@ -10,13 +10,13 @@
<el-form ref="tableOutForm" :model="tableOutForm" label-width="200px">
<el-form-item label="步骤名称:">
<el-input v-model="tableOutForm.name"></el-input>
<el-input v-model="tableOutForm.label" value="表输出"></el-input>
</el-form-item>
<el-tabs v-model="activeName" type="border-card">
<el-tab-pane label="基本配置" name="content">
<database-choose ref="databaseChoose" :form="tableOutForm" :getXmlVal="getXmlVal" :graph="newGraph"></database-choose>
<database-choose ref="databaseChoose" :form.sync="tableOutForm" :getXmlVal="getXmlVal" :graph="newGraph"></database-choose>
<el-form-item label="提交记录数量:">
<el-row :gutter="10">
<el-col :span="23">
......
......@@ -16,7 +16,7 @@
<el-tabs v-model="activeName" type="border-card">
<el-tab-pane label="基本配置" name="content">
<database-choose ref="databaseChoose" :form="updateForm" :graph="newGraph"></database-choose>
<database-choose ref="databaseChoose" :form.sync="updateForm" :graph="newGraph"></database-choose>
<el-form-item label="提交记录数量:">
<el-row :gutter="10">
<el-col :span="23">
......
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