<!--数据概览页面-->
<template>
  <div class="dashboard-container">
    <el-row>
      <!--数据总体情况 -->
      <el-col :span="24">
        <panel-group />
      </el-col>
    </el-row>
    <el-row style="margin-top:10px" gutter="10">
      <el-col :span="12">
        <alarm-analysis />
      </el-col>
      <el-col :span="12">
        <job-analysis />
      </el-col>
    </el-row>
    <el-row style="margin-top:10px" gutter="10">
      <!-- 井数量分析 -->
      <el-col :span="12">
        <well-count-view />
      </el-col>
      <!-- 设备数量分析 -->
      <el-col :span="12">
        <device-count-view />
      </el-col>
    </el-row>
  </div>
</template>

<script>
import panelGroup from './components/panelGroup'
import wellCountView from './components/wellCountView'
import deviceCountView from './components/deviceCountView'
import JobAnalysis from '@/views/dataView/components/jobAnalysis'
import AlarmAnalysis from '@/views/dataView/components/alarmAnalysis'
export default {
  name: 'DataView',
  components: { AlarmAnalysis, JobAnalysis, panelGroup, wellCountView, deviceCountView }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard {
  &-container {
    margin-bottom: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
