<template>
    <a-descriptions :column="2">
        <a-descriptions-item label="设备编码">{{ dataInfo.equipmentCode }}</a-descriptions-item>
        <a-descriptions-item label="设备名称"> {{ dataInfo.equipmentName }} </a-descriptions-item>
        <a-descriptions-item label="类别"> {{ dataInfo.categoryName }} </a-descriptions-item>
        <a-descriptions-item label="等级"> {{ dataInfo.equipmentGradeName }} </a-descriptions-item>
        <a-descriptions-item label="安装日期">
            {{ dataInfo.installTime ? dataInfo.installTime.substring(0, 10) : '' }}
        </a-descriptions-item>
        <a-descriptions-item label="运行日期">
            {{ dataInfo.runTime ? dataInfo.runTime.substring(0, 10) : '' }}
        </a-descriptions-item>
        <a-descriptions-item label="供应商">{{ dataInfo.supplier }}</a-descriptions-item>
        <a-descriptions-item label="制造商">{{ dataInfo.manufacturer }} </a-descriptions-item>
        <a-descriptions-item label="专业">{{ dataInfo.specialtyCodeName }} </a-descriptions-item>
    </a-descriptions>
</template>
<script>
export default {
    props: {
        dataInfo: {
            type: Object,
            default: () => ({}),
        },
    },

    methods: {},
};
</script>
