<!--
 * @Author: your name
 * @Date: 2022-04-11 14:11:04
 * @LastEditTime: 2022-04-14 10:45:52
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /gassafety-progress/gassafetyprogress-web/src/views/operationMonitor/xunjianxuncha/index.vue
-->
<template>
  <div class="app-container xjxc">

    <div class="wrapper flex-h">
      <div class="top flex">
        <div class="right">
          <Right :annual="activeName" :companyInfoId="companyInfoId" />
        </div>
        <div class="left">
          <Left :annual="activeName" :companyInfoId="companyInfoId" />
        </div>
        <!--<div class="middle">-->
          <!--<Middle />-->
        <!--</div>-->

      </div>
      <div class="middle"></div>
      <div class="bottom">
        <Middle :annual="activeName" :companyInfoId="companyInfoId"  />
      </div>
    </div>
  </div>
</template>

<script>
import Left from "./components/Left";
import Middle from "./components/Middle";
import Right from "./components/Right";
import { enterpriseLists } from "@/api/regulation/info";
export default {
  components: {
    Left,
    Middle,
    Right
  },
  data() {
    return {
      danwei:null,
      enterprises: [],
      activeName: '2025',
      companyInfoId:''
    };
  },
  created() {
    this.getEnterpriseLists();
  },
  methods: {
    selectcompanyId(e){
      this.companyInfoId = e;
    },
    //所属单位
    getEnterpriseLists(){
      const param = {};
      enterpriseLists(param).then(response => {
        this.enterprises = response.rows;
      });
    },
    handleClick(tab, event) {
      console.log(tab, event);
    }
  },
  mounted(){

  }
};
</script>

<style lang="scss" scoped>
.app-main {
}
.xjxc {
  height: calc(100vh - 50px) !important;
}
.flex {
  display: flex;
  justify-content: space-between;
}
.flex-h {
  display: flex;
  // justify-content: space-around;
  flex-direction: column;
  height: 100%;
  .top {
    height: 38.7%;

    .left {
      width: 70%;
      padding: 15px 24px 19px;
    }
    .middle {
      width: 35.3%;
      padding: 15px 80px 19px 71px;
    }
    .right {
      width: 30.2%;
      padding: 15px 29px;
    }
    > div {
      // box-shadow: 2px 0px 13px 1px rgba(0, 0, 0, 0.1);
      box-shadow: 2px 0px 10px 1px rgba(0, 0, 0, 0.1);
      border-radius: 3px;
    }
  }
  >.middle {
    margin: 5px 0;
    background: repeating-linear-gradient(135deg, transparent, transparent 3px, #D6D6D6 3px, #D6D6D6 8px);
    height: 2px;
  }
  .bottom {
    flex: 1;

  }
  > div {
    // height: 50%;
  }
}
  .shai{
    position: fixed;
    right: 20px;
    width: 300px;
    height: 40px;
  }
::v-deep .el-select{
  width: 300px;
}
</style>
