<template>
  <div class="related-enterprises">
    <el-form
      ref="ruleFormRef"
      :model="ruleForm"
      label-position="top"
      label-width="150px"
      class="rule-form-orange"
    >
      <el-form-item
        label="关联企业相关情况"
        prop="resource"
        style="width: 100%"
      >
        <cy-comm-table
          ref="commTable"
          :columns="columns"
          :data="tableData"
        />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      ruleForm: {
        desc: '关联企业'
      },
      tableData: [
        { userName: '1111', statusName: '2131231' },
        { userName: '1111', statusName: '2131231' }
      ],
      columns: [
        {
          label: '序号',
          index: true,
          width: '100'
        },
        {
          label: '关联企业名称',
          prop: 'postName',
          showTooltip: true
        },
        {
          label: '状态',
          showTooltip: true,
          prop: 'userNumber'
        },
        {
          label: '法定代表人',
          showTooltip: true,
          prop: 'userNumber'
        },
        {
          label: '持股比例',
          showTooltip: true,
          prop: 'userNumber'
        },
        {
          label: '主营业务',
          showTooltip: true,
          prop: 'userNumber'
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.related-enterprises {

}
</style>
