<template>
    <div class="saga-fill">
        <div class="saga-title center h1">{{reanderData.name}}</div>
        <div class="center h3">通讯协议：{{reanderData.name}}</div>
        <div class="padding10 bg-F5">
            <p class="p-over2 h5">{{reanderData.note}}</p>
        </div>
        <div class="doughnut-view">
            <doughnut width="200" height="200" :id="id"></doughnut>
        </div>
        <slot></slot>
    </div>
</template>
<script>
    import doughnut from "components/echarts/doughnut"
    export default {
        name: "dataOrgin",
        components: {
            doughnut
        },
        props: {
            id: {
                type: String
            },
            reanderData: {
                type: Object,
                default: function() {
                    return {}
                }
            }
        },
        data() {
            return {}
        },
        created() {},
        mounted() {},
        methods: {}
    }
</script>

<style lang="scss" scoped>
    .doughnut-view {
        height: 300px;
        width: 100%;
        padding: 5px;
        box-sizing: border-box;
    }
</style>

