<template>
    <div>
        <div class="el-tab">
            <el-tabs v-model="activeName">
                <el-tab-pane label="人员管理" name="person">
                    <personManagement></personManagement>
                </el-tab-pane>
                <el-tab-pane label="组织管理" name="group">
                </el-tab-pane>
            </el-tabs>
        </div>
        <router-view></router-view>
    </div>
</template>

<script >
import personManagement from './personManagement/index'
export default {
    name: 'userManagement',
    components: { personManagement },
    data() {
        return {
            activeName: 'person',
        }
    },
    methods: {

    }
};
</script>
<style lang="less" scoped>
.el-tab {
    position: absolute;
    left: 218px;
    right: 16px;
    top: 77px;
    height: 51px;
    line-height: 20px;
    background-color: rgba(255, 255, 255, 1);
    text-align: center;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);

    /deep/.el-tabs__nav {
        left: 25px;
    }

    /deep/.el-tabs__nav-wrap::after {
        height: 0;
    }
}
</style>