|
|
|
@ -77,7 +77,7 @@ |
|
|
|
@click="deleteBatch">批量删除</el-button> |
|
|
|
<!-- <el-button type="primary" size="small">下载人口模板</el-button> --> |
|
|
|
|
|
|
|
<el-button size="small" |
|
|
|
<el-button size="small" v-if="displayedBaobiaoBtn" |
|
|
|
class="diy-button--add" |
|
|
|
@click="reportForm">智能填报</el-button> |
|
|
|
</div> |
|
|
|
@ -400,6 +400,8 @@ export default { |
|
|
|
userId: '', |
|
|
|
gridName: '' |
|
|
|
}, |
|
|
|
|
|
|
|
displayedBaobiaoBtn: false, |
|
|
|
} |
|
|
|
}, |
|
|
|
props: { |
|
|
|
@ -446,12 +448,17 @@ export default { |
|
|
|
console.log('resiSearch', this.$refs.resiSearch.$el.offsetHeight) |
|
|
|
|
|
|
|
}, |
|
|
|
mounted () { |
|
|
|
async mounted () { |
|
|
|
|
|
|
|
// this.$nextTick(() => { |
|
|
|
// this.tableHeight = document.documentElement.clientHeight - this.$refs.resiSearch.$el.offsetHeight - 280 + 'px' |
|
|
|
// }) |
|
|
|
console.log('document.documentElement.clientWidth', document.documentElement.clientHeight) |
|
|
|
this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ |
|
|
|
elseParams: { |
|
|
|
categoryKeys:['resi_info'], categoryKey: 'resi_info' |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
reportForm(){ |
|
|
|
|