<!--
 * @FilePath: \code\Goats-Cloud-ui\src\views\big\device\components\Wdescriptions.vue
 * @Author: 王路平
 * @文件版本: V1.0.0
 * @Date: 2023-06-28 09:55:31
 * @Description: 
 * 
 * 版权信息         : 2023 by ${再登软件}, All Rights Reserved.
-->
<template>
  <el-descriptions title="" :column="2" border>
    <el-descriptions-item label="名称:">{{prop.data.name}}</el-descriptions-item>
    <el-descriptions-item label="设备配置:">{{prop.data.devLabel}}</el-descriptions-item>
    <el-descriptions-item label="机架号:">{{prop.data.label}}</el-descriptions-item>
    <el-descriptions-item label="是否网关:">
      <el-tag size="small" :type="prop.data.iswangguan?'':'danger'">{{prop.data.iswangguan?'是':'否'}}</el-tag>
    </el-descriptions-item>
    <el-descriptions-item label="说明:"
      >{{prop.data.remark}}</el-descriptions-item
    >
  </el-descriptions>
</template>

<script setup lang="ts">
import {ref} from "vue"
const prop = defineProps({
data:{
    type:Object,
    default:{
    name:'',
    devLabel:'',
    label:'',
    iswangguan:false,
    remark:''
    }
}
})
</script>

<style lang="scss" module>

</style>
