<template>
  <div id="app">
    <div class="ec-main">
      <div class="ec-menu"></div>
      <div style="flex-grow: 1">
        <router-view />
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import ApprovalMain from "@/components/approval-process/ApprovalMain.vue";

@Component({
  name: "AmApprovalApp",
  components: { ApprovalMain }
})
export default class App extends Vue {
  onLogout(event: any): void {}
}
</script>

<style lang="scss" scoped>
#app {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  .ec-menu {
    width: 220px;
  }
  .ec-main {
    display: flex;
    justify-content: flex-start;
    height: 100vh;
    overflow: hidden;
    .ec-body {
      width: 100%;
      height: 100%;
      overflow-y: auto;
      background-color: #e9eaf2;
    }
  }
}
</style>
