<!--
* @Description: 工地施工人员情况
* @Author: 王晓颖
* @Date: 2020-12-03 17:02:13
-->
<template>
<chart-layout title="施工人员" @click="getData">
<div class="block-container">
<div class="block" style="width:30%">
<people-count/>
</div>
<div class="block" style="width:30%">
<construction-people-bar/>
</div>
<div class="block" style="flex:1">
<people-detail/>
</div>
</div>
<corner1 slot="corner"/>
</chart-layout>
</template>
<script>
import EnvDetail from './components/envDetail'
import ConstructionAlarmBar from './components/constructionAlarmBar'
import ConstructionAlarmLine from './components/constructionAlarmLine'
import PeopleDetail from './components/peopleDetail'
import PeopleCount from './components/peopleCount'
import ConstructionPeopleBar from "./components/peopleBar";
export default {
name: 'constructionPeopleState',
components: {ConstructionPeopleBar, PeopleCount, PeopleDetail, ConstructionAlarmLine, ConstructionAlarmBar, EnvDetail},
methods: {
getData () {
// this.$refs.ecardEarth.getData()
}
}
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.block-container{
height: 100%;
width: 100%;
display: flex;
justify-content: space-between;
box-sizing: border-box;
padding: 0.04rem;
/*padding:0.1rem;*/
.block{
height:100%;
box-sizing: border-box;
}
}
</style>