|
|
@ -10,7 +10,8 @@ |
|
|
|
icon="el-icon-plus" |
|
|
|
@click="handleAdd">新增小区</el-button> |
|
|
|
|
|
|
|
<div class="u-btn-upload"> |
|
|
|
<div v-if="showImportBtn" |
|
|
|
class="u-btn-upload"> |
|
|
|
|
|
|
|
<el-popover v-if="showImportBtn" |
|
|
|
popper-class="btn-popper" |
|
|
@ -302,6 +303,7 @@ |
|
|
|
:close-on-click-modal="false" |
|
|
|
:close-on-press-escape="false" |
|
|
|
width="1150px" |
|
|
|
title="导出模板" |
|
|
|
top="5vh" |
|
|
|
class="dialog-h"> |
|
|
|
<community-export-info v-if="diyDialog" |
|
|
@ -336,6 +338,8 @@ let loading // 加载动画 |
|
|
|
export default { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
searchHeight: 190,//搜索栏高度 |
|
|
|
// tableHeight: 0, |
|
|
|
importBuildingLoading: false, |
|
|
|
importRoomLoading: false, |
|
|
|
importCommunityLoading: false, |
|
|
@ -384,8 +388,12 @@ export default { |
|
|
|
CommunityForm, |
|
|
|
CommunityDetail, |
|
|
|
communityExportInfo |
|
|
|
}, |
|
|
|
activated () { |
|
|
|
|
|
|
|
}, |
|
|
|
async mounted () { |
|
|
|
|
|
|
|
this.customerId = localStorage.getItem('customerId') |
|
|
|
// this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ |
|
|
|
// elseParams: { |
|
|
@ -393,14 +401,7 @@ export default { |
|
|
|
// } |
|
|
|
// }); |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
tableHeight () { |
|
|
|
return this.$store.state.inIframe ? this.clientHeight - 465 + this.iframeHeight : this.clientHeight - 465 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
...mapGetters(['clientHeight', 'iframeHeight']) |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
reportForm () { |
|
|
|
let paramMap = { |
|
|
@ -1132,6 +1133,16 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
tableHeight () { |
|
|
|
console.log(this.searchHeight) |
|
|
|
let height = this.searchHeight + 270 |
|
|
|
return this.$store.state.inIframe ? this.clientHeight - height + this.iframeHeight : this.clientHeight - height |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
...mapGetters(['clientHeight', 'iframeHeight']) |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
selection (val) { |
|
|
|
|
|
|
@ -1140,6 +1151,21 @@ export default { |
|
|
|
} else { |
|
|
|
this.showDeletBtn = false |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
'$store.state.sidebarFold': { |
|
|
|
handler (newVal, oldVal) { |
|
|
|
if (newVal) {//收起 |
|
|
|
this.searchHeight = 155 |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.searchHeight = 190 |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
deep: true |
|
|
|
} |
|
|
|
}, |
|
|
|
props: { |
|
|
@ -1176,6 +1202,7 @@ export default { |
|
|
|
default: '', |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|