<template>
  <div>
    <a-row>
      <a-col :span="4" class="bg-gray">
        上级单位
      </a-col>
      <a-col :span="20">
        {{data.upUnitName}}
      </a-col>
    </a-row>
    <a-row>
      <a-col :span="4" class="bg-gray">
        单位名称
      </a-col>
      <a-col :span="20">
        {{data.unitName}}
      </a-col>
    </a-row>
    <a-row>
      <a-col :span="4" class="bg-gray">
        单位类型
      </a-col>
      <a-col :span="20">
        {{data.unitTypeName}}
      </a-col>
    </a-row>
    <a-row>
      <a-col :span="4" class="bg-gray">
        单位地址
      </a-col>
      <a-col :span="20">
        {{data.unitAddress}}
      </a-col>
    </a-row>
  </div>
</template>
<script>

export default {
  name: "unitInfo",
  data () {
    return {
      unitInfo: { upUnitName: '', unitName: '', unitTypeName: '', unitAddress: null }
    }
  },
  props: {
    data: {
      type: Object,
      default: () => {
        return null
      }
    },
  },
  created () {

  },
  methods: {
  }
}
</script>