<!-- 首页 -->
<template>

</template>

<script>
import charts from '@views/dashboard/components/charts'

import { triggerWindowResizeEvent } from '@/utils/util'
import JSearchSelectTag from '@comp/dict/JSearchSelectTag'
import { getAction, postAction, downFileOvertime } from '@api/manage'
import TaskStatus from './modules/TaskStatus'
import ConsumptionRanking from './modules/ConsumptionRanking'
import ComparisonTrend from './modules/ComparisonTrend'
import ConsumptionTrend from './modules/ConsumptionTrend'
import ScaleModal from './modules/ScaleModal'
import { getDictItemsFromCache } from '@api/api'
import { toDownloadExcel } from '@/utils/filters'

export default {
  name: 'Analysis',
  components: {
  },
  data() {
    return {}
  },
  created() {
  },
  mounted() {},
  methods: {}
}
</script>

<style lang='less' scoped>
.page_content {
  height: 680px;
  overflow-x: hidden;
  overflow-y: auto;
}

.queryForm {
  display: flex;
  //justify-content: left;
  justify-content: center;
  align-items: center;
  height: 50px;

  .ant-form-item {
    width: 260px;
    margin-bottom: 12px !important;
  }
}

.a_card_box {
  margin-top: 12px;
  height: 290px;

  /deep/ .ant-card-head {
    height: 50px !important;

    .ant-card-head-wrapper {
      height: 100%;
      display: -moz-box;
      /* Firefox 17- */
      display: -webkit-flex;
      /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
      display: -moz-flex;
      /* Firefox 18+ */
      display: -ms-flexbox;
      justify-content: space-between;
      .ant-card-head-title {
        padding: 0;

        .title {
          font-size: 14px;
        }
      }
      .ant-card-extra {
        width: auto;
        display: flex;
        justify-content: end;
        padding: 0;

        .timeQuery {
          margin-right: 45px;

          > a {
            margin-right: 10px;
          }
        }

        .formQuery {
          margin-right: 15px;
        }

        .formQuery2 {
          .formQuery_btn {
            > a {
              margin-right: 10px;
            }
          }
        }
      }
    }
  }

  /deep/ .ant-card-body {
    padding: 0 !important;
    height: 240px;

    .a_card_content {
      height: 100%;

      .a_card_content_table {
        padding: 10px;
      }
    }
  }
}
</style>

