|
|
@ -155,8 +155,9 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<div class="u-search-btn"> |
|
|
|
</el-form> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24" align="right"> |
|
|
|
<el-button |
|
|
|
class="diy-button--white" |
|
|
|
size="small" |
|
|
@ -170,8 +171,8 @@ |
|
|
|
@click="handleSearch" |
|
|
|
>查询</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="m-table"> |
|
|
@ -547,13 +548,16 @@ export default { |
|
|
|
importLoading: false, |
|
|
|
|
|
|
|
searchH: 0, |
|
|
|
tableHeight: 0, |
|
|
|
changeRecordShow: false, |
|
|
|
}; |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
...mapGetters(["clientHeight", "iframeHeight"]), |
|
|
|
|
|
|
|
tableHeight(){ |
|
|
|
const h = this.clientHeight - 450 + this.iframeHeigh; |
|
|
|
const _h = this.clientHeight - 450; |
|
|
|
return this.$store.state.inIframe ? h : _h; |
|
|
|
}, |
|
|
|
changeVDisabled() { |
|
|
|
return !this.fmData.villageId; |
|
|
|
}, |
|
|
@ -563,6 +567,7 @@ export default { |
|
|
|
changeDDisabled() { |
|
|
|
return !this.fmData.unitId; |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
watch: { |
|
|
|
rangeTime: function (val) { |
|
|
@ -575,15 +580,6 @@ export default { |
|
|
|
this.fmData.endTime = ""; |
|
|
|
} |
|
|
|
}, |
|
|
|
searchH() { |
|
|
|
const h = this.clientHeight - this.searchH + this.iframeHeight; |
|
|
|
const _h = this.clientHeight - this.searchH; |
|
|
|
console.log("computed-searchH---_h", _h); |
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
this.tableHeight = this.$store.state.inIframe ? h : _h; |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.getGridList(); |
|
|
|