|
@ -93,10 +93,7 @@ |
|
|
</el-form> |
|
|
</el-form> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div |
|
|
<div class="div_table" :style="{ height: maxTableHeight + 130 + 'px' }"> |
|
|
class="div_table" |
|
|
|
|
|
:style="{ height: maxTableHeight + 130 + 'px' }" |
|
|
|
|
|
> |
|
|
|
|
|
<div class="div_btn"> |
|
|
<div class="div_btn"> |
|
|
<el-button |
|
|
<el-button |
|
|
class="diy-button--add" |
|
|
class="diy-button--add" |
|
@ -142,6 +139,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<el-table |
|
|
<el-table |
|
|
|
|
|
ref="ref_table" |
|
|
:data="tableData" |
|
|
:data="tableData" |
|
|
border |
|
|
border |
|
|
:header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" |
|
|
:header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" |
|
@ -447,6 +445,11 @@ export default { |
|
|
this.computeSearchHeight(); |
|
|
this.computeSearchHeight(); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
activated() { |
|
|
|
|
|
console.log('-------------activated') |
|
|
|
|
|
this.$refs["ref_table"].doLayout(); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
computeSearchHeight() { |
|
|
computeSearchHeight() { |
|
|
this.ref_search_height = this.$refs["ref_search"].clientHeight; |
|
|
this.ref_search_height = this.$refs["ref_search"].clientHeight; |
|
|