Newer
Older
smartwell_front / src / views / zhangqiu / zqindex.vue
liuyangyingjie on 16 Aug 2022 3 KB feat(view): 新增章丘驾驶舱看板
<template>
  <dv-full-screen-container >
    <div class="zqindex">
      <header-title></header-title>
<!--      <div><overview3dzq /></div>-->
      <div class="content">
        <div class="left">
          <device-installed></device-installed>
          <device-alarm-sum></device-alarm-sum>
          <handling-alarm></handling-alarm>
        </div>
<!--        <div class="middle"><overview3dzq /></div>-->
        <div class="middle"></div>
        <div class="right">
          <seven-days-operation-status></seven-days-operation-status>
          <line-department></line-department>
          <device-alarm></device-alarm>
        </div>
      </div>
    </div>
  </dv-full-screen-container>
</template>

<script>

import Overview3dzq from '@/views/overview/overview3dzq'
import DeviceInstalled from '@/views/zhangqiu/components/deviceInstalled/deviceInstalled'
import DeviceAlarmSum from '@/views/zhangqiu/components/deviceAlarmSum/deviceAlarmSum'
import HandlingAlarm from '@/views/zhangqiu/components/handlingAlarm/handlingAlarm'
import SevenDaysOperationStatus from '@/views/zhangqiu/components/sevenDaysOperationStatus/sevenDaysOperationStatus'
import LineDepartment from "@/views/zhangqiu/components/lineDepartment/lineDepartment";
import DeviceAlarm from '@/views/zhangqiu/components/deviceAlarm/deviceAlarm'
import { defineComponent } from 'vue'
import headerTitle from '@/views/zhangqiu/components/headerTitle.vue'
import showItem from '@/views/zhangqiu/components/showItem.vue'
// import ShowItem from '@/views/zhangqiu/components/showItem.vue'
import progressBar from '@/views/zhangqiu/components/progressBar.vue'
import ProgressBar from '@/views/zhangqiu/components/progressBar.vue'
import Chart from '@/views/zhangqiu/components/chart.vue'
import tableData from '@/views/zhangqiu/components/tableData.vue'
import TableData from '@/views/zhangqiu/components/tableData.vue'


export default defineComponent({
  name: 'Zqindex',
  components: { DeviceAlarm, LineDepartment, SevenDaysOperationStatus, HandlingAlarm, DeviceAlarmSum, DeviceInstalled, headerTitle, showItem, progressBar, ProgressBar, tableData, TableData, Chart, Overview3dzq },
  data() {
    return {}
  }
})
</script>
<style lang="scss" scoped>

.zqindex{
  width: 100%;
  //height: 100%;
}

.content{

  width: 100%;
  height: 100%;
  display: flex;

  .left{
    z-index: 1001;
    flex:1;
    padding: 15px 20px;
    background-image: linear-gradient(to right, #131320 50%, #fff 100%);
  }
  .middle{
    position: absolute;
    flex:1;
    z-index: 1000;
    //background: #fff;
    width: 100%;
  }
  .right{
    z-index: 1000;
    flex:1;
    display: flex;
    //justify-content: end;
    justify-content: right;
    flex-direction: column;
    align-items: end;
    padding: 15px 20px;
    background-image: linear-gradient(to left, #131320 50%, #fff 100%);
  }
}

.full-container{
  width:100%;
  //height: 100%;
  position: relative;
  .charts{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    left: 0px;
    top: 0px;
    //background-color: #1a2126;

  }
}
</style>