<template>
  <div class="main-container-parent">
    <el-tabs v-model="activeName">
      <el-tab-pane label="权限设置" name="permission" lazy>
         <PermissionSettingComponents></PermissionSettingComponents>
      </el-tab-pane>
      <el-tab-pane label="管理员列表" name="manage" lazy>
          <ManagerListComponent></ManagerListComponent>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import ManagerListComponent from './manager-list/admin-list'
import PermissionSettingComponents from './permission-setting/permission-settings'
/**
 * 权限管理
 *
 */
export default {
  components: {
    ManagerListComponent,
    PermissionSettingComponents
  },
  data() {
    return {
      activeName: 'permission'
    }
  }
}
</script>

<style lang="scss" scoped >
  .main-container-parent {
    width: 100%;
    height: 100%;
    padding: 17px 31px 22px 23px;

    .el-tabs {
      width: 100%;
      height: 100%;
      .el-tab-pane {
        width: 100%;
        height: 100%;

      }
    }
  }
</style>
