OperationalLeft.vue 1.9 KB
<!--
 * @Description: 运营数据左侧
 * @Author: huyue
 * @Date: 2023-02-27 11:29:02
 * @LastEditors: huyue
 * @LastEditTime: 2023-08-17 14:14:50
-->
<template>
  <div class="left">
    <div class="top box">
      <box-title title="企业客户总览"></box-title>
      <view-tabs />
      <view-surface />
      <view-pie-group>
        <div slot="1"><Area :height="defaultHeight"></Area></div>
        <div slot="2"><Brand :height="defaultHeight"></Brand></div>
        <div slot="3"><Store :height="defaultHeight"></Store></div>
      </view-pie-group>
    </div>
    <div class="bottom box">
      <box-title title="客户数字化业务"></box-title>
      <OverSize></OverSize>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
import datas from '../../utils/data'
import Area from './components/Area.vue'
import Store from './components/Store.vue'
import Brand from './components/Brand.vue'
import OverSize from './components/Overview.vue'
import ViewTabs from './components/ViewTabs.vue'
import ViewSurface from './components/ViewSurface.vue'
import ViewPieGroup from './components/ViewPieGroup.vue'
import { clientMixin } from '../../mixins/index'
export default {
  name: 'OperationalLeft',
  mixins: [clientMixin],
  components: {
    Area,
    Store,
    Brand,
    OverSize,
    ViewTabs,
    ViewSurface,
    ViewPieGroup
  },
  data() {
    return {
      defaultHeight: datas.DefaultData.defaultPieHeight
    }
  },
  created() {
    this.getClientData()
  },
  mounted() {},
  methods: {}
}
</script>

<style scoped lang="scss">
.left {
  display: flex;
  flex-direction: column;
  width: 41.67vw;
  overflow: hidden;

  .top {
    height: 52.2vh;
    width: 100%;
    // padding: 0 16px;
    box-sizing: border-box;
  }
  .bottom {
    height: 34.15vh;
    margin-top: 1.95vh;
    box-sizing: content-box;
  }
}
</style>