<template>
  <div class="dashboard-editor-container">
    
    
    
    <div class="layout-1">
      <el-row :gutter="24">
      
        <el-col class="gutter-row item item1" :span="8">
            <div class="gutter-box">
              <div class="gutter-box-title">风场统计</div>
              <div class="count-to-box">
                <span class="text">总数</span>
                <span class="number" @click="redirectPage('departments')">
                  <i class="el-icon-loading" v-if="showLoading"></i>
                  <countTo v-else :startVal='startVal' :endVal='countData.department_count' :duration='duration'></countTo>
                </span>
                个
              </div>
            </div>
        </el-col>
        <el-col class="gutter-row item item2" :span="8">
            <div class="gutter-box">
              <div class="gutter-box-title">风机统计</div>
              <div class="count-to-box">
                <span class="text">总数</span>
                <span class="number" @click="redirectPage('departments')">
                  <i class="el-icon-loading" v-if="showLoading"></i>
                  <countTo v-else :startVal='startVal' :endVal='countData.department_count' :duration='duration'></countTo>
                </span>
                个
              </div>
            </div>
        </el-col>
        <el-col class="gutter-row item item3" :span="8">
            <div class="gutter-box">
              <div class="gutter-box-title">工具统计</div>
              <div class="count-to-box">
                <span class="text">总数</span>
                <el-popover
                  placement="bottom"
                  width="600"
                  trigger="hover">
                  <div>
                    <device-table :tableData="table_data" />
                  </div>
                  <span slot="reference" class="number">
                    <i class="el-icon-loading" v-if="showLoading"></i>
                    <countTo v-else :startVal='startVal' :endVal='countData.device_total_count' :duration='duration'></countTo>
                  </span>
                </el-popover>
              </div>
              <div class="count-to-box">
                <span class="text">故障数</span>
                <span class="number" @click="redirectPage('school')">
                  <i class="el-icon-loading" v-if="showLoading"></i>
                  <countTo v-else :startVal='startVal' :endVal='countData.device_online_count' :duration='duration'></countTo>
                </span>个
              </div>
            </div>
        </el-col>

      
      </el-row>
    </div>

    <div class="layout-2">
       <!-- 使用情况 -->
      <el-row :gutter="16">
        <el-col class="gutter-row item" :span="24">
          <device-use-chart :countData="useCountData" :total="useCountData.device_total_count" />
        </el-col>
      </el-row>
      <!-- 故障分析 -->
      <el-row :gutter="16">
        <el-col class="gutter-row item" :span="24">
          <device-data-chart :countData="countData" :total="countData.device_total_count" />
        </el-col>
      </el-row>

      <!-- 告警图表 -->
      <el-row :gutter="16">
        <!-- 告警提醒 -->
        <el-col class="gutter-row item" :span="8">
          <device-alarm-message />
        </el-col>
        <!-- 告警数据 -->
        <el-col class="gutter-row item" :span="16">
          <!-- <device-alarm-chart :statsData="statsData" /> -->
          <normal-card 
            showHeader
            showMenu
            title="告警数据"
            shadow="always"
            trigger="hover"
            :menuItems="alarmGrowthMenuItems"
            :bodyStyle="{height: '310px'}"
          >
            <template v-slot:content>
                <total-alarm-growth width="100%" />
            </template>
        </normal-card>
        </el-col>
      </el-row>
       <!-- 维保记录 -->
      <el-row :gutter="16">
       <normal-card 
        trigger="hover"
        shadow="always"
        title="维保记录"
        showMenu
        :bodyStyle="{height: '500px'}"
    >
    <template v-slot:content>
         <!--压力分析-->
        <el-col class="gutter-row item" :span="12">
          <!-- <device-alarm-chart :statsData="statsData" /> -->
          <normal-card
            showHeader
            showMenu
            title="压力分析"
            shadow="always"
            trigger="hover"
            :menuItems="alarmGrowthMenuItems"
            :bodyStyle="{height: '400px'}"
          >
              <template v-slot:content>
                  <maintenance-alarm-chart width="100%" :options="pressure" />
              </template>
          </normal-card>
        </el-col>
        <!--压力分析-->
        <el-col class="gutter-row item" :span="12">
          <!-- <device-alarm-chart :statsData="statsData" /> -->
          <normal-card
            showHeader
            showMenu
            title="扭矩分析"
            shadow="always"
            trigger="hover"
            :menuItems="alarmGrowthMenuItems"
            :bodyStyle="{height: '400px'}"
          >
              <template v-slot:content>
                  <maintenance-alarm-chart width="100%"  :options="torque" />
              </template>
          </normal-card>
        </el-col>
        </template>
         </normal-card>
      </el-row>

    </div>
    



  </div>
</template>

<script>

import countTo from 'vue-count-to'
import NormalCard from '@/components/Card/NormalCard'
import StationDataChart from './components/StationDataChart'
import DeviceDataChart from './components/DeviceDataChart'
import DeviceUseChart from './components/DeviceUseChart'
import DeviceAlarmMessage from './components/DeviceAlarmMessage'
import TotalAlarmGrowth from './components/TotalAlarmGrowth'
import StationTable from './components/StationTable'
import DeviceTable from './components/DeviceTable'
import MaintenanceAlarmChart from './components/MaintenanceAlarmChart'

export default {
  name: 'DashboardAdmin',
  components: {
    countTo,
    NormalCard,
    StationDataChart,
    DeviceDataChart,
    DeviceUseChart,
    TotalAlarmGrowth,
    DeviceAlarmMessage,
    StationTable,
    DeviceTable,
    MaintenanceAlarmChart
  },
  deactivated() {
    // 选中本页面时重新加载，以便获取最新数据
    var cached = this.$store.state.tagsView.cachedViews.filter(item => {
      return item != "Dashboard"
    })
    this.$store.state.tagsView.cachedViews = cached
  },
  data() {
    return {
      statsData: {}, // 统计数据
      cardColors: {},
      duration: 3000,
      showLoading: true,
      // showAddLoading: true,
      startVal: 0,
      useCountData:{
        device_total_count:115,
         device_type_data:[
         {
          'text': "液压泵",
          'total': 40,

         },
          {
          'text': "液压扳手",
          'total': 75,
 
         }
       ]
      },
      //维保记录规律统计
<<<<<<< HEAD
       torque:{
         name:"扭矩",
         url:'',
       },
       pressure:{
         name:'压力',
         url:''
       },

//
=======
      Maintenance:{

      },
      table_data:[
         {
           'alarm': 62,
          'online': 31,
          'text': "液压泵",
          'total': 40,
          'value': "0",
         },
          {
           'alarm': 80,
          'online': 32,
          'text': "液压扳手",
          'total': 75,
          'value': "0",
         },
         {
           'alarm': 80,
          'online': 32,
          'text': "其他",
          'total': 100,
          'value': "0",
         },
       ],
>>>>>>> 30c9f6aee676707746ad5265ca62f6ecba845c15
      countData: {
       department_count:24,
       device_online_count:31,
       device_total_count:215,
       device_type_data:[
         {
           'alarm': 62,
          'online': 31,
          'text': "液压油偏低",
          'total': 40,
          'value': "0",
         },
          {
           'alarm': 80,
          'online': 32,
          'text': "液压油偏高",
          'total': 75,
          'value': "0",
         },
         {
           'alarm': 80,
          'online': 32,
          'text': "液压扳手故障",
          'total': 100,
          'value': "0",
         },
       ]
      },
      alarmGrowthMenuItems: [
          {
              name: '全屏',
              command: 'full',
              icon: 'full-screen',
          }
      ]
    }
  },
  created() {
    this.$appConfig.netState && this.$appConfig.netState.forEach(item => {
      this.cardColors[item.value] = item.color
    })
    // 查询近期统计数据
    this.getHomePageCountData()
  },
  methods: {
    /**
     * 获取首页数量数据
     */
    getHomePageCountData() {
      // this.$http.get('total/getHomePageCountData')
      //           .then((resp) => {
      //             if(resp.code == 10000){
      //               this.countData = resp.data
                    this.showLoading = false
      //             }
      //           })
    },
    redirectPage(type) {
      let path = '';

      switch(type) {
        case 'departments':
          path = '/permissions/departments'
          break;
        case 'student':
          path = '/schoolsys/student'
          break;
        default:
          break;
      }
      this.$router.push({ path: path})
    }
  }
}
</script>

<style lang='scss' scoped>

  .dashboard-editor-container {
    padding: 20px;
    background-color: rgb(240, 242, 245);
    position: relative;

    .chart-wrapper {
      background: #fff;
      padding: 16px 16px 0;
      margin-bottom: 32px;
    }
  }
  
  @media (max-width:1024px) {
    .chart-wrapper {
      padding: 8px;
    }
  }

  .layout-1 {
    margin-bottom: 25px;
    .item {
      color: #fff;
      .gutter-box {
        height: 160px;
        border-radius: 5px;
        box-shadow: 0 4px 5px rgba(0,0,0,.15);
        .today-add {
          font-size: 12px;
          .number {
            padding-left: 10px;
            font-size: 22px;
            font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
            span:hover {
              cursor: pointer;
              color: #000;
            }
          }
          display: flex;
          margin-left: 20px;
          height: 46px;
          line-height: 46px;
        }

        .gutter-box-title {
          font-size: 1.5rem;
          margin-left: 20px;
          height: 46px;
          line-height: 46px;
        }

      }
    }
    .item1 > .gutter-box{
      background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACWVJREFUeF7tW3nQvtUYvq6ZCGNtGUS0yZItSyoVkrTIUhRRUpG2sVVoGYwWpYUWkVQoW4XSVPaGokVUIykipISaoSjrZa6c8835ne95nnPO8z7v76/umTPfN+97n/u+z/Wc55x7e4mlRJJWBrAVgKcCeFwybMFvk/FTAF8j+bulYRrnqUTSswFsGsYLG3VdBOAbHiSv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ycyHgBAHeIODxe6BWQ5LK1y9cp9YLQs/i9SS70IEpaDcBuIRb5uqPBWTrSmgAIDQ7u+Pb7vBEAG5PSBSS3SD+Q9PbQQToIQs/i3RH6kUxe1w7xNekD08kTd5pX9yZWASBpcwAvD5WeoXT4lSTtHS5BkpygyDPCCzuhZ/GdpXFJaXq+661wetwdbOeSTLtZOt+gQQAk+QpyB4j7gEvkPr23kXRJbBFJ2g/A4dkXsU6Qe3jvJnlEjxw/jGN72mfzKfZQjyPpeKENAEluORuq/7t05XrcwigFJJKcqnaL3RDtT9Ip+F6S5EDMtcl0pJ0r+dxemZ07oKMwEQU64vqCB8nvlLZEzxPMCyYpmxsn0kaHahWSNgbw2jAMUE67kEwbPO79fhEAYdvnOT6nsp1+OpXkb6qt6mHsabAu1hlq9Ep6PAB3szhNl9cTN8hfhy4AzgkHXtTnrKvf7d5ukBrDch5JvkliM9P1JO35TUaS3DXy0cyn8MG4hIPVBUBaZCw2Qkxm8ZwEZWH0ojL7fQB0bM2l8grM6YEviJ3lFfDdP9dDcJ6Ln/kQtHHzvAbntfjJrsFoYIUj5KDHDc5XuWkKwKU15awpAJD08NAQZUfIjVEe0zlCCQgtrrCnuUnBnqEjQ/+2z47TwiDpRqsiSXLa285MOvwzGbfpOdZwl3kNjXeFU+kNwVDJqH/loIQJ+WLvVxI08P10wVDHDeEKr8PhTUJhc2jbzbCG5qneef71miPF6cPhPnNCB7kTnn4XnxTGYPdY89IWT/ATdgXZw6+ak66/Giu3Kh/QIjxEau74cKemqziuEsXfBnf9b/Gu+HjE3xN3/e9OVTdcjiqB9a3hf/FCmW5w+Xh8AAAAAElFTkSuQmCC') 20px 48px no-repeat #32c5d2;
      background-position: 80%;
    }
    .item2 > .gutter-box{
      background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABUFJREFUeF7tmo2RDUEQgLsjQASIABEgAicCRIAIEAEiQASIABE4ESACRNDqe9X9am7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/lzquKQCx2p4pxrkEjhGTaHKQcwBIcpg4NvokQt2Umo0BWKqahXClCYzmFO5UCcVoA+ZE31kIowAKu9+HpBYhMgEUxdB49WxS5X4Gv8KtlcEstJRjCsDOSy8tb581gEJzSKpIxSdD5KwTbFn1ss+hAGid9wWAVlIt/YrYjDNC9di4kMF1nRb3+ICWeTb5gKUDeRJExCCfp/rDJ3GZ5KXrmMwBkDsAlLGx6d2mK6udhgmQN8Smhnl2X5jwPIT4DoRdgaQ35R0DlgpgIGvkvd3X5wbGm03ElmpGNoA4xCzn0X2e5zE9bqDt0+qlQk71P3QA5R3ECwBbOBrLNoHNaUB5azRMb40P2ByAesJAGC2Nzzmz4l5AdD340+EhAGyoupztAIBubfpfecAFgOLq/B76hQb0mwB5f3nf4NyZQH3KdO4AlLdPV+0rtuoEy9unyLA/g5wLoa3/7wpPY4OP3RHqdYJeY2BrTYZJYSX1qjzjZwMYuyN0q6VEXYI1M0ryQ43EatWts3LQbAC1ze7e1aMBngSNAUirCmUDQF05jChve6Tf7my175Z+qQDihV7IwIFxZzj9YlOLYK19UgB46SrO5sbezUam6wi7VZieflkABvcA1YTSk5gegetnsgBQtY0LU1Ma0FUezxB0bIy/btHcX/xYkBwAAAAASUVORK5CYII=') 20px 48px no-repeat #32c5d2;
      background-position: 80%;
    }
    .item3 > .gutter-box{
      background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAB1tJREFUeF7tm+u5FEUQhrsiUCMQIhAiECJQIhAiUCIQIhAiUCJQIhAiECIQIhAiaJ93rZqntqequ2d2lvMD+9c5uzPdXV/dLyvlM1/ymdNf/gdgRgJqrXdKKd+VUu6VUr4spfA/600p5UMp5Y9SyksReTez36d4ptb6s97zhYhwv3B1JaDW+n0p5ZdSyq3JS78qpTwWEYC5kVVrhUHc+aG7wCMR+S26UAhArRWCf1WOR+991A+/SKh8JiKPPzUCeu/fnYT6K4QgrABQcf9TRd02eF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hqCpjRuso0h5MERJxoMOtMM8zBUMdwUmwXAO4iGDzL2/n49CvSmYO3cj6xS7g7r+8QTFt9SLjtdxEARxBx03t89gD8C+pem30maSbEAAAAAElFTkSuQmCC') 20px 48px no-repeat #32c5d2;
      background-position: 80%;
    }
    
    .item5 > .gutter-box {
      background: #00bcd4 url('/icons/student_104.png') 20px 38px no-repeat;
      //  #e7505a
    }
    .count-to-box {
      margin-left: 20px;
      margin-right: 20px;
      text-align: left;
      // position: relative;
      // right: 50px;
      .text {
        display: inline-block;
        width: 100px;
        font-size: 16px;
        height: 28px;
        line-height: 28px;
      }
      .number {
        font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
        font-size: 2rem;
        height: 52px;
        line-height: 52px;
        /* span {
          float: right;
          width: 100px;
        } */
        span:hover {
          cursor: pointer;
          color: #000;
        }
      }
    }
    /** 5等分 */
    .el-col-5,
    .el-col-5,
    .el-col-5,
    .el-col-5 {
        position: relative;
        min-height: 1px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .el-col-5 {
        width: 20%;
        float: left;
    }

    @media (min-width: 768px) {
        .el-col-5 {
            width: 20%;
            float: left;
        }
    }

    @media (min-width: 992px) {
        .el-col-5 {
            width: 20%;
            float: left;
        }
    }

    @media (min-width: 1200px) {
        .el-col-5 {
            width: 20%;
            float: left;
        }
    }
  }

  .layout-2 {
    margin-bottom: 25px;
    .item {
      margin-bottom: 25px;
    }

    .charts-icon {
      float: right;
      color: #000;
    }
    .charts-icon:hover {
      cursor: pointer;
    }
  }
  
</style>