<template>
  <div class="tp_body">
    <div class="tp_left">
        <infoA :userid="userid"></infoA>
        <panelA :userid="userid" :oid="oid" :org="org"></panelA>
    </div>
    <div class="tp_right">
        <testA :userid="userid" :oid="oid"></testA>
    </div>
  </div>
</template>

<script>
import infoA from './info/index.vue'
import panelA from './panel/index.vue'
import testA from './test/index.vue'

export default {
    components: {
        infoA,
        panelA,
        testA
    },
    data() {
        return {
            userid: this.$route.query.userid,
            oid: this.$route.query.oid,
            org: this.$route.query.org,
            role: this.$route.query.role,
        }
    },
    methods: {

    },
}
</script>

<style scoped>
    .tp_body{
        width: 100%;
        height: 100%;
        min-height: 745px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding:20px;
        box-sizing: border-box;
    }

    .tp_left{
        width: 230px;
        height: 100%;
    }
    .tp_right{
        width: calc(100% - 230px - 10px);
        margin: 0 0 0 10px;
        height: 100%;
    }
</style>