|
@@ -135,7 +135,7 @@
|
|
<el-table
|
|
<el-table
|
|
:data="tableData1"
|
|
:data="tableData1"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
- max-height="500"
|
|
|
|
|
|
+ max-height="600"
|
|
>
|
|
>
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -910,8 +910,8 @@
|
|
},
|
|
},
|
|
// 确认按钮点击事件
|
|
// 确认按钮点击事件
|
|
confirmSourceSelection() {
|
|
confirmSourceSelection() {
|
|
- console.log(this.eleIndex,'eleIndex');
|
|
|
|
- if(!this.selectedSourceOption){
|
|
|
|
|
|
+
|
|
|
|
+ if(this.selectedSourceOption!==0&&this.selectedSourceOption!==1){
|
|
this.$message({
|
|
this.$message({
|
|
type: 'warning',
|
|
type: 'warning',
|
|
message: '请选择元素来源!'
|
|
message: '请选择元素来源!'
|
|
@@ -940,7 +940,7 @@
|
|
this.tableData1[index].tableType = 1;
|
|
this.tableData1[index].tableType = 1;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- if (this.elementTableNameSelect.length > 0) {
|
|
|
|
|
|
+ if (this.elementTableNameSelect&&this.elementTableNameSelect.length > 0) {
|
|
this.tableData1.forEach((item, index) => {
|
|
this.tableData1.forEach((item, index) => {
|
|
if (index==this.eleIndex) {
|
|
if (index==this.eleIndex) {
|
|
this.tableData1[index].tableIds = this.elementTableNameSelect
|
|
this.tableData1[index].tableIds = this.elementTableNameSelect
|