<template>
|
<div class="summary-sheets">
|
<div :class='["iconBtn",summaryVisible ? "active-button" : ""]' @click="closeBtn">
|
<img src="@assets/images/map-pages/icon/toolbox/table.png" alt="" class="icon">
|
<!--<span class="icon-name">统计表</span>-->
|
</div>
|
<Dialog ref="summarySheets" title="企业指标分类统计">
|
<tab-handover></tab-handover>
|
</Dialog >
|
</div>
|
</template>
|
|
<script>
|
import tabHandover from '@components/table/components/tabHandover'
|
import Dialog from '@views/popup/Dialog'
|
export default {
|
name: 'summary-sheet.vue',
|
components: {
|
tabHandover,
|
Dialog
|
},
|
data () {
|
return {
|
summaryVisible: false
|
}
|
},
|
methods: {
|
closeBtn () {
|
// const summary = document.getElementById('summary')
|
// summary.style.display = 'none'
|
this.$refs.summarySheets.show()
|
this.summaryVisible = true
|
}
|
},
|
mounted () {
|
const that = this
|
this.$nextTick(() => {
|
this.$refs.summarySheets.$on('closeDialog', () => {
|
that.summaryVisible = false
|
})
|
})
|
}
|
}
|
</script>
|
|
<style scoped lang="less">
|
.summary-sheets {
|
position: absolute;
|
top: 0.42979rem;
|
left: 0.14583rem;
|
/*width: 850px;*/
|
/*height: 265px;*/
|
z-index:500;
|
|
/*color: #fff;*/
|
.el-icon-c-scale-to-original {
|
width: 30px;
|
height: 30px;
|
font-size: 30px;
|
}
|
}
|
</style>
|